Solved

IIS Broke!

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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

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…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

24 Experts available now in Live!

Get 1:1 Help Now