I ran a web site of my local machine's web server. This morning I reinstalled IIS and suddenly it won't run ASP's. I've tried reinstalling several times, I've tried all the different setting under the property tab. It's running html files perfectly. When I change the ASP's to HTML format, they run perfectly. I'm using Windows 2000. If there's anyone that can advise, it would be much appreciated.
IIS vs ASP
Try an asp site...this is for PHP and you're unlikely to get the same kind of help here as a strictly asp site would give you
Read this:
http://support.microsoft.com/support/kb/articles/Q269/3/67.asp
I had found this solution to a posting about a similar problem on the net about 6 months ago.
It solved my problem, but unfortunately I don't remember where it was from (sorry).
I seem to remember it was a problem with a .dll, your reinstalling of IIS may have overwritten one.
Please post whether you have resolved your problem.
[As the reply mentions the COM+ you could also ensure you have downloaded the COM+ updates (from winupdate), although the latest was not released when I was having problems]
POSTING :
Question
I can view HTML files but any scripting files such as .ASP fail
Answer
This procedure may help you in this situation, if it does please let me know.
Put yor Windows 2000 CD in CD-ROM drive.
Open a DOS comand prompt (cmd.exe) and enter the following command.
SFC.EXE /SCANONCE
Reboot the computer.
Let the System File Checker complete ...
Reboot the computer again.
Open a DOS command prompt (cmd.exe) and enter the following commands.
c:
cd\inetpub\adminscripts
cscript synciwam.vbs
At this point you may get an error 0x80110414 which can be resolved by following the resolution in MS KB article
http://support.microsoft.com/support/kb/articles/Q269/3/67.asp which is listed below.
Synciwam Utility Does Not Function and Generates Error 80110414
SYMPTOMS
When you run the Synchiwam utility (Synchiwam.vbs) to synchronize Internet Information Services (IIS) out-of-process applications, it may not function, "Error 80110414" is generated, and you see the following output in Verbose mode:
http://iisfaq.com/Articles/321/
Updating Applications:
Name: IIS Out-Of-Process Pooled Applications Key:
{3D14228D-FBE1-11D0-995D-00C04FD919C1}
Error: 80110414
CAUSE
This behavior occurs because the password for the IWAM_computer account is mismatched between the Windows Active Directory, and the IIS metabase, so Synchiwam.vbs cannot synchronize the processes to the IWAM_computer account as needed.
RESOLUTION
Match the password that is used by the IWAM_computer account in the IIS metabase with the password that is used by the IWAM_computer account in Active Directory. You can do this manually, as outlined in the following steps:
Use a get command to find out which account is being used for the Web Application Manager (WAM) in the IIS metabase. For example, for http:\name, you would use the following syntax:
c:\Inetpub\AdminScripts> adsutil GET w3svc/WAMUserName
WAMUserName: (String) "IWAM_name"
Expand the Component Services folder, expand Computers, and then expand My Computer to locate the COM+ Applications folder. Right-click IIS Out-Of-Process Pooled Applications. Make sure the Disable changes box on the Advanced tab is cleared to ensure that any changes made to the IWAM_computer account in Active Directory take effect.
Open the Active Directory Users and Computers snap-in.
Reset the password for the account that was returned in step 1. For this example, the password is "Password."
Set the new password in the IIS metabase. From a command prompt, type the following command:
c:\Inetpub\AdminScripts> adsutil SET w3svc/WAMUserPass Password
WAMUserPass: (String) "Password"
Stop, and then start the IIS Admin service. You can do this from the Services snap-in. You can also use the net stop iisadmin /y, and the net start w3svc commands.
Now you can run Synciwam.vbs successfully.
Please let me know if this cures your problem. A lot of people have had this error and this sounds the closest to a fix. If you have this problem and this method cured it please send me details using my feedback form.