|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
IIS serves all HTMLs not ASPs
Hi all, I'm using Win2K prof.
I'm getting .html pages fine with IIS. But whenever I try to view an .asp file, I get: The page cannot be displayed There is a problem with the page you are trying to reach and it cannot be displayed. -------------------------------------------------------------------------------- Please try the following: Open the localhost home page, and then look for links to the information you want. Click the Refresh button, or try again later. Click Search to look for information on the Internet. You can also see a list of related sites. HTTP 500 - Internal server error Internet Explorer I'm sure IIS is running since things like URL work, but URL does NOT work. Any help would be much appreciated! Thanks in advance. URL |
|
#2
|
|||
|
|||
|
If you are running any antivirus script blocking try turning it off.
Make sure your pages have execute permissions. If you ran urlscan or iis lockdown tool review the settings and make sure you didn't disable asp processing. |
|
#3
|
|||
|
|||
|
Hey, I had this same problem but with a few others I just did a complete reinstall. I would assume however that you are running .net and that you installed it before you did IIS which usually presents a problem. You can try to reinstall .net and let it set everything up right or this is the solution Microsoft gives:
from the visual studio .net command prompt type: aspnet_regiis.exe -i and then you have to go through and make sure all the permissions are set up right. user: iusr_<machinename> needs rights to the wwwroot folder user: aspnet needs rights to all folders in the path to the .net framework folder a few quirks in the permissions are that iis needs to have security access to content in c:\inetpub\wwwroot\ but that should already be set. the c# compiler needs to have access to the framework folder when it's running under aspnet_wp.exe as well as access to the web folder where your asp.net pages as well as all folders up to wwwroot from there. Also, to set these, make sure you have "Use simple file sharing (recommended)" turned off under tools->Folder Options->View and make sure you hit Apply as well as Apply to all Folders |
|
#4
|
|||
|
|||
|
Ok, I again got that problem after doing a reinstall and found the solution. Basically the Distributed Transaction Coordinator service wasn't running. So you just have to start that and reinstall IIS and mine worked as soon as I did that.
One problem you might encounter is it coming back with an error when you try to start the DTC so you just open up the command prompt and type msdtc -resetlog then start the service up and reinstall iis.... |
|
#5
|
|||
|
|||
|
I was not running any antivirus script...
I installed .NET AFTER I installed IIS... But everything was working before. And then last week I tried running something ASP and it did not work. I did do a reinstall. It's working now. I don't know what's wrong. anyways, it's working now. Thanks very much everyone!! You guys were great! URL |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > IIS serves all HTMLs not ASPs |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|