Solved

IIS Broke!

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
There is less than 0% available RIDs in the current pool 5 768
win2k service packs 5 657
Corrupted W2K  serverregistry 2 159
P2V Windows Server 2000 - Network Issue 14 54
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…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

808 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