Solved

ASP.NET is not authorized to access the requested resource

Posted on 2007-11-20
4
5,122 Views
Last Modified: 2009-03-18
OK...this one is totally pissing me off and I WANT the right answer cause i'm tired of seeing this one creep up from time to time.

I'm loading an xml doc.  i'm updating some innertext and then i'm trying to resave it.  Simple.  Except i keep getting this error:

Access to the path 'C:\Inetpub\wwwroot\monarchCMS\OwnerSiteSettings\CustomAppSettings.xml' is denied.

Now, obviously i know this is a permissions thing.  However I have tried changing the security settings on the folder a million times.  I added, and configured, read/write access to "local system" -- no dice.  Ditto for iuser_machine, and EVEN everyone.  I do NOT have a user called ASPNET in my list of users.  The only way this works is if i put:
 <identity impersonate="true" userName="xxx" password="xxx"/> into my web config with MY username and password for my machine.  This shouldnt be hard.  Why can't i get this to work.  I don't want to use identity impersonate
0
Comment
Question by:davidcahan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 5

Expert Comment

by:KPMT-Technician
ID: 20325326
What version of OS is your web server?
XP Pro, Server 2000, Server 2003, Vista ????

I've run into a simular issue on an XP Pro machine.  If you give the group'Everyone' modify rights to the folder does it work then?

http://objectsharp.com/cs/blogs/bryan/archive/2004/06/11/626.aspx

Robert Fidler
Springfield, Missouri
0
 

Accepted Solution

by:
davidcahan earned 0 total points
ID: 20325335
No, but i did figure it out.  You have to set the permissions on the file itself.  Once i gave read/write permissions to the file for 'Everyone' it worked no problem.
0
 
LVL 1

Expert Comment

by:Vee_Mod
ID: 20555822
Closed, 125 points refunded.
Vee_Mod
Community Support Moderator
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 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