473,396 Members | 1,836 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 2829
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Fabian von Romberg | last post by:
Hi, I have installed Sql Reporting Services on 2 machines, one is WIN 2000 PRO and the other one is WIN 2000 ADV. SERVER. When I try to access a report using the webbrowser, I get the following...
4
by: Carlitos | last post by:
Hi there, I got a web application in vb.net that uploads a .zip file to a subfolder inside the root folder of the web application. c:\Inetpub\wwwroot\MyWebApp\uploaddir Then, a c# library...
0
by: ASP.Confused | last post by:
The old message looked a little stale, so I am re-posting it here. Anybody have any ideas of what I could do?!? The previous responses to this question are below. If you want to look at the...
2
by: HNguyen | last post by:
Hi all, I have a problem with the access to the folder for uploading the file into that folder by using ASP.NET program. The error message was : "Access is denied ..." to the location I save...
12
by: Ron Weldy | last post by:
I have a test server runinng 2003/IIS 6 with a mixture of asp and asp.net files. On my workstation I have a share set up to the folder where the web files reside. I am just doing quick and dirty...
2
by: Shailesh Gajare | last post by:
Hi All, I have creating an ASP.Net application with two web servers. I am uploading a file which is being uploaded on one of the server, I want to copy the uploaded file on the other server at the...
3
by: Shailesh Gajare | last post by:
Hi All, I have creating an ASP.Net application with two web servers. I am uploading a file which is being uploaded on one of the server, I want to copy the uploaded file on the other server at the...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
0
by: upadhyayanuj | last post by:
Hi I have an error while uploading file and then importing it into my sql table The process cannot access the file 'c:\inetpub\wwwroot\FlowLine\Excel File\Fan_Details.xls' because it is being...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.