Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I configure IIS security to run ASP.NET?

Status
Not open for further replies.

majorbroncosfan

Programmer
Feb 23, 2001
121
US
I am putting together an ASP.NET application, but am having some difficulty getting it to parse. When I load it on the local machine's default web site, it comes up just fine. However, when I try and move it to one of our sites located on the same computer, I get errors regarding security issues. Even when I release all security restrictions, I come up with errors stating that "Access denied to [pathname]. Failed to start monitoring directory changes" I have added the ASPNET local user with read/modify permissions and have the same result.

HELP!!
 
Check out your web.config file for your application - it contains many security settings. Make sure if you have IIS configured to ANONYMOUS, that the line:

<identity impersonate=&quot;true&quot;/>

does NOT appear in your web.config!

Cheers Chris says: &quot;It's time for a beer.&quot;
 
Thanks for the quick response. Unfortunately, that still didn't work.
 
try opening a command prompt, and going to:

x:\winnt\system32\microsoft.net\framework\vxx.x.x.xx

when in that directory, type:

aspnet_regiis -i

and see if that clears it up. This installs asp.net on the target server, and registers the various extensions with the proper handlers and such.
penny1.gif
penny1.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top