|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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?
|
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
Its not solving my problem but creating more problems to my system. Can anyone else help me out there.
|
|
#4
|
|||
|
|||
|
Quote:
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 |
|
#5
|
|||
|
|||
|
Quote:
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 |
|
#6
|
|||
|
|||
|
Quote:
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! |
|
#7
|
|||
|
|||
|
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. |
|
#8
|
|||
|
|||
|
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 |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Http 500 in XP pro in asp files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|