469,623 Members | 1,365 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,623 developers. It's quick & easy.

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

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.
Nov 18 '05 #1
1 2591
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!
***************************

"HNguyen" wrote:
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.

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Fabian von Romberg | last post: by
reply views Thread by ASP.Confused | last post: by
2 posts views Thread by HNguyen | last post: by
12 posts views Thread by Ron Weldy | last post: by
2 posts views Thread by Shailesh Gajare | last post: by
3 posts views Thread by Shailesh Gajare | last post: by
9 posts views Thread by Wayne Smith | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.