The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Fixing a broken asp.net installation. (The Web server

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Peter van Ooijen

Posts: 284
Nickname: petergekko
Registered: Sep, 2003

Peter van Ooijen is a .NET devloper/architect for Gekko Software
Fixing a broken asp.net installation. (The Web server Posted: Jul 18, 2006 4:43 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Peter van Ooijen.
Original Post: Fixing a broken asp.net installation. (The Web server
Feed Title: Peter's Gekko
Feed URL: /error.htm?aspxerrorpath=/blogs/peter.van.ooijen/rss.aspx
Feed Description: My weblog cotains tips tricks and opinions on ASP.NET, tablet PC's and tech in general.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Peter van Ooijen
Latest Posts From Peter's Gekko

Advertisement

This is my third post with this title. What started as quick command line fix has grown into something huge, including top numbers of hits and comments here on Codebetter. So it's worth continuing. An asp.net 1.1 installation on IIS can get broken resulting in the error message in the title. When you're lucky a fix can be done in a couple of seconds from the command line, as described in my first shot. This post was the start of an enormous discussion, making me wandering about a wiki. My second post was a round up of all comments and suggestions, which reached as far as reinstalling Windows itself. Which is another wiki by now. (You can do that on msdn these days)

The main problem in a lot of scenarios are the security settings. In this post I'll discuss these in more detail.

When developing web applications there are two users which are important. First there is the aspnet machine account. This is the account under which an application runs in the IIS web server. The account is pretty restricted, to prevent as much damage as possible in case the app is compromised. The other account is the VS developers group. You, working in Visual Studio, are part of that group.

The security setting on the wwwroot directory are crucial. For the share

VS developpers need full control here. To create a need web app for instance.

The security settings for the directory itself: the ASP.NET machine account needs the right to read, execute and list the folder's contents.

The Visual Studio developers groups needs a more complicated set of rights. To set these click the advanced button and select the VS developers in the advanced security settings dialog.

Check allow for every entry except Full control, take ownership and change permissions.

Having done all this you and your web server should have the rights necessary to build apps again.

Some people reported problems with COM+, the DTC and IIS. I cannot check this but bet you another blogpost there is a related solution for that. Of course you can reinstall everything but I think the only essential part in the installation script is setting the permissions right. Doing that by hand is faster.

Read: Fixing a broken asp.net installation. (The Web server

Topic: MOSS BDC MetaData Manager Previous Topic   Next Topic Topic: WCF Hands-On Book updates to Chapters 5, 7, 9

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use