Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 21st, 2004, 05:02 AM
hunteralone hunteralone is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 2 hunteralone User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Http 500 in XP pro in asp files

I have a problem with my IIS. I have installed, reinstalled, restarted it many times but the problem is still there. It does all the things fine. It runs ASP.NET files, html files but does not run asp files and always gives error HTTP - 500 Internal Server Error. What do I do? The virtual directory is fine C:\intetpub\wwwroot directory is there. I couldn't figure out the problem. Can anyone help me out?

Reply With Quote
  #2  
Old March 21st, 2004, 02:31 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 21 h 28 m 48 sec
Reputation Power: 180
This kb article is for iis 5.0 on W2K but will probably be similar. If you poke around in the ms knowledge base I believe there is a similar kb article for IIS 5.1

http://support.microsoft.com/defaul...kb;en-us;309051
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old March 22nd, 2004, 08:04 AM
hunteralone hunteralone is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 2 hunteralone User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Its not solving my problem but creating more problems to my system. Can anyone else help me out there.

Reply With Quote
  #4  
Old March 28th, 2004, 10:13 PM
jesarino jesarino is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 2 jesarino User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by hunteralone
Its not solving my problem but creating more problems to my system. Can anyone else help me out there.

I'm actually having the same issue right now. I'm on XP Pro also. I'm new to ASP.net so it's probably just a lack of knowledge. For those who would like to help here is the simple code I'm trying to run:

<%@Page Language="VB" Debug="True" %>
<html>
<head>
<title>Hello and Welcome Page</title>
</head>
<body>
<center>
<% Dim TextSize As Integer %>
<% For TextSize = 1 to 7 %>
<font size = <%=TextSize%>>
Hello and Welcome!<br>
</font>
<% Next %>
</center>
</body>
</html>


And here is the error I get:
Error Type:
Active Server Pages, ASP 0221 (0x80004005)
The specified 'Page Language="VB" Debug="True" ' option is unknown or invalid.
/hello/welcome.asp, line 1

Reply With Quote
  #5  
Old March 29th, 2004, 09:50 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 21 h 28 m 48 sec
Reputation Power: 180
Quote:
<%@Page Language="VB" Debug="True" %>

Your error message tells it all. Where did you get the above statement, since it won't work in ASP. Is it a NET statement or something? If so you need to use aspx pages and have the NET framework installed.

Look here for valid @ statements for asp 2/3

http://msdn.microsoft.com/library/e...f_scrpt_vbs.asp

Reply With Quote
  #6  
Old March 29th, 2004, 09:37 PM
jesarino jesarino is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 2 jesarino User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by Doug G
Your error message tells it all. Where did you get the above statement, since it won't work in ASP. Is it a NET statement or something? If so you need to use aspx pages and have the NET framework installed.

Look here for valid @ statements for asp 2/3

http://msdn.microsoft.com/library/en-us/iissdk/iis/ref_scrpt_vbs.asp

It is an ASP.NET statement and I am using an aspx extension. I installed IIS after I installed the .NET Framework. Could this be the issue? Should I re-install the .NET Framework?

Thanks for the help Doug!

Reply With Quote
  #7  
Old March 30th, 2004, 10:16 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 21 h 28 m 48 sec
Reputation Power: 180
I don't use NET much, I haven't heard anything about installation order but I don't believe the install order should be an issue.
However a complete reinstall may be a path to take if the page statement is valid for aspx and you are getting an error saying it isn't valid.

The error sounds to me like your aspx page is being processed by the asp dll instead of .NET, you can look at the isapi mapping in the IIS MMC.

Reply With Quote
  #8  
Old October 29th, 2004, 11:16 PM
airstep airstep is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 1 airstep User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You can see the full error message in Internet Explorer if you go to Tools/Internet Options click the advanced tab and uncheck "Show friendly HTTP error messages". With this setting you will see the error message and number, not just a 500 error message.

To get ASP pages working you will probably need to reinstall the Windows Script engine. Get the latest version from http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Http 500 in XP pro in asp files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway