Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > File access denied

Thread Tools

File access denied

Bev Kaufman
Posts: n/a
I am following a tutorial on I was running a sample program, which
came with the course - meaning I haven't been in there screwing it up. The
program involves modifying data on a web page and then writing the changes
back to both the Sql server and to an XML file. The program blows up on

The changes do get written back to Sql. The error involves accessing the xsd
file (Access to the path c:inetpub\.... is denied) and also writing to an
XML file in the same directory.

I have already confirmed that the xsd file exists in the correct path, and
that I have no trouble opening it up and modifying it from Windows Explorer.
Why would it have a problem doing so from a webpage, which I am running from
Visual Studio?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
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 Jay ASP .Net 2 08-20-2007 07:38 PM
403 Forbidden: You were denied access because: Access denied by access control list Southern Kiwi NZ Computing 6 03-19-2006 05:19 AM
Access Denied to access db with Ros@ ASP .Net 3 02-22-2006 04:51 PM
A failure occurred writing to the resources file. Access is denied. -- RESX file is locked? -- WHY? Mark Kamoski ASP .Net 1 07-04-2003 12:02 PM