Solved

IIS Broke!

Posted on 2004-04-25
1
232 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

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…
Article by: Justin
In light of the WannaCry ransomware attack that affected millions of Windows machines, you might wonder if your Mac needs protecting. Yes, it does and here is how to do it.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

688 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