473,473 Members | 1,477 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

IIS 6.0 File Permission Errors

I am trying to access files in seperate 2 directories via an ASP.NET web app
that are not within my web directory structure. I have given both the
machine\aspnet and machine\iusr_machinename accounts full permission (just to
see if it would work at all), and I am still getting the
"System.UnauthorizedAccessException: Path/File access error" exception. I am
using IIS 6.0/windows 2003. I am not using impersonation. Does anyone know
of anything else that I can check?

Thanks for any help, itis appreciated.
Nov 19 '05 #1
1 2078
I fixed my own problem.

I added the "Network Service" account to the directories to get the
read/write functionality, and added "everyone" (read only) in order to view
the information.

"pontificator" wrote:
I am trying to access files in seperate 2 directories via an ASP.NET web app
that are not within my web directory structure. I have given both the
machine\aspnet and machine\iusr_machinename accounts full permission (just to
see if it would work at all), and I am still getting the
"System.UnauthorizedAccessException: Path/File access error" exception. I am
using IIS 6.0/windows 2003. I am not using impersonation. Does anyone know
of anything else that I can check?

Thanks for any help, itis appreciated.

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Kareem Badr | last post by:
I was having permission problems, so I'm using a test file to make sure uploading works. upload.php successfully uploads a file to the images/bookcovers dir: <html> <form method="post"...
0
by: Ishwor | last post by:
On 3 Dec 2004 08:38:37 -0800, ed <ed_tsang@yahoo.com> wrote: > I do have permission toa ccess the file as that file is careted and read my me. > I have read/write access to that location. regards...
3
by: Julie Barnet | last post by:
Could someone please tell me how I can trap permission errors in vb.net on a stored procedure: ie. Execute permission denied on object 'sel_mytable', database 'mydatabase', owner 'dbo' I would...
13
by: puzzlecracker | last post by:
I would like to find out why exactly I wasn't able to open or execute the file.... how is it done in c++? ifsteam in("somefile"); if(!in) //why?
4
by: Jason Hurder | last post by:
Hello folks, I am experiencing a rather strange problem. I have written a service that attempts to open a file on a network share via a FileStream object. When I try to open the file from my...
5
by: Paul | last post by:
I am trying to create a log of certain events on the website by writing them to a text file. The logging code is in an "included" file that is inserted into the pages that need to be monitored....
16
by: Hans Fredrik Nordhaug | last post by:
I'm trying to write to a file in the current directory - no remote files. The subject says it all - I can add that both the directory and the file is wordwritable. This happens on a (quite good)...
6
Jacotheron
by: Jacotheron | last post by:
I need a PHP script that can upload music files (mp3). The script is for a home project I have started a while ago. I have a MySQL database of all the music that I have. Other computers on the...
2
by: Visine_Eyes | last post by:
What .NET mechanism should I use to resolve permission issues before I begin to copy directory structure/file(s) from one computer to another. I have tried Try/Catch statement using DirectoryInfo...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.