Access denied error while uploading a file to a web server.

H

HNguyen

Access denied error while uploading a file to a web server.

I am getting the following error while trying to upload a file to our web
server: Error: Access to the path "e:\web\...\DBConnection.txt" is denied.
We are working with IIS 6.0 on Windows 2003 Server running .NET Framework
1.1. To perform the upload we are using PostedFile.SaveAs(FileLocation).
We have tried the following solutions:

1.. ASP.NET Machine Account has Modify, Read, Write and Execute
permissions from the top down.
2.. IUSER_Machine has Modify, Read, Write and Execute permissions from the
top down.
3.. Indexing Services is not running
4.. Temporarily granted administrative rights to ASP.NET Machine Account.
Thanks in advance.
 
G

Guest

Are you in the web hierarachy or somewhere out on the file system? If
outside, you may be using a transverse type of operation, which requires a
reduction in security in IIS 6. If not, check the security set up with the
..NET Configuration tool.


---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top