Solved

IIS Broke!

Posted on 2004-04-25
1
227 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now