Solved

IIS Broke!

Posted on 2004-04-25
1
229 Views
Last Modified: 2010-04-13
Win2k with all SPs & HotFix.

Ok, I really broke IIS this time (on the day the domain transferred to the new box. errrrrrrrr).
Here is what happened. I stopped iisadmin (and services) and copied over a new wwwroot/test directory. The contents were similar. This directory was set as the "home directory" for the IIS machine.  After doing this and starting IIS, I got "Server Application Not Available" . Eventually, I removed IIS and reinstalled (a couple of times now).

I finally got the web server to serve HTML and ASP pages, but when I try an ASP.NET page, it breaks the IIS (can't even get a static HTML page afterward.).

After I reinstalled IIS the last time, I did the aspnet_regiis and regsvr32 the isapi dll (http://support.microsoft.com/default.aspx?kbid=306005&product=aspnet) but no help here. The asp.net page is simply a button that has response.write("It worked").

The last item in the App event log pertaining to IIS was the register of the the aspnet_ISAPI dll. I verified the aspnet user has access to the directory.  The server worked fine during a four month testing cycle.

Any help greatly appreciated
0
Comment
Question by:lrr81765
1 Comment
 
LVL 1

Accepted Solution

by:
josephcn earned 500 total points
ID: 10916004
Common problem with asp.net, go to love those descriptive error messages.  Try these two things:

1.  Delete the ASPNET account on your system.  Then using cmd go to c:\winnt\microsoft.net\framework\v1.*\
Then run
aspnet_regiis -i
This will reinstall asp.net 1.1 with the aspnet having permissions set how they should be.

2.  The other times I've encountered this error was when I was messing with exchange server and speech uninstalls.  Try this and then do step 1 over again.  In add/remove windows components uninstall all of IIS.  Delete or rename the inetpub directory.  Upgrade windows to latest service pack.  Then reinstall IIS.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question