Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / August 2007

Tip: Looking for answers? Try searching our database.

Very annoying error: Access to the path is denied. ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jay - 03 Aug 2007 21:04 GMT
My IDE works fine but when I make a plain old HTML change; a change
that should NOT require recompiling, and hit the save icon, I get the
following error:

{

Access to the path is denied.

ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request
identity. ASP.NET has a base process identity (typically {MACHINE}
\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the
application is not impersonating. If the application is impersonating
via <identity impersonate="true"/>, the identity will be the anonymous
user (typically IUSR_MACHINENAME) or the authenticated request user.

}

If I recompile the ASP.NET application and then go back to the browser
and hit refresh, everything is fine again. I should not have to do
this and it is very annoying when you're trying to do some JavaScript
or get some HTML just right and have to keep recompiling.

For ha has, I added 'machine\ASPNET' with full blown permissions at
the C: level and this did not fix the problem.

Can anyone please help? Thank you very much.

P.S. Team member programmers work on the same code/project and they
don't have this problem.

Jay
Jay - 15 Aug 2007 15:32 GMT
One bump...

Can anyone help? This sucks :)
Jay - 20 Aug 2007 20:38 GMT
I figured it out...

Sometimes when you bulk copy your project files and paste them
elsewhere, they magically lose ALL their important permissions
including ASPNET. This happened and I got the above error. I readded
them and it's fixed now.

Thank you me. You're welcome me...

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.