|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello everyone. I'm new to ASP and this forum. I am having trouble serving ASP pages. I am running windows XP SP1 with IIS and .net SDK 1.1. I have tried to create a simple asp page and open it in my browser via http://localhost/asp/index.aspx. The page will open, but none of the ASP code is executed. It seems that it's being treated as a plain html file. I have checked IIS to be sure that the web server is running. I also looked through this forum and found similar issues, but no solutions. Any help would be greatly appreciated.
|
|
#2
|
||||
|
||||
|
Is it ASP or ASP.NET?
If .NET have you registered the .NET framework with IIS, by running aspnet_regiis - i??? |
|
#3
|
|||
|
|||
|
Quote:
What is the version of IIS? What code do you have on the ASP? |
|
#4
|
|||
|
|||
|
If it's XP it better be IIS 5.1
![]() Check your virtual directory and make sure script execute permissions are set and that the IIS user account has permissions to the asp file. In the IIS mmc verify that asp files are mapped to asp.dll
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#5
|
|||
|
|||
|
Thanks for the answer. The problem was actually solved by running aspnet_regiis -i from the appropriate directory. I'm not sure if the script maps were somehow broken, but those are 3 hours of my life I'll never get back.
![]() |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Can't execute ASP code |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|