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

  • Thread starter Thread starter HNguyen
  • Start date Start date
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.
 
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

Back
Top