473,405 Members | 2,354 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,405 software developers and data experts.

FileUpload control unable to write to network drives

Hi,

I try to use ASP.Net 2.0 FileUpload control to upload files. The page is
working fine when I upload files and save them into my local computer, but
fails when the files are to be saved to a network drive.

I believe this is permission issue, the account on my local computer does
not have permissions to write to network drive. Can someone tell me how
resolve this problem? I already went to IIS and impersonate anonymous access
with a domain account, no lucks.

TIA


Jun 16 '07 #1
1 3745

"Raymond Du" <rd**@yahoo.comwrote in message
news:Ok**************@TK2MSFTNGP06.phx.gbl...
Hi,

I try to use ASP.Net 2.0 FileUpload control to upload files. The page is
working fine when I upload files and save them into my local computer,
but fails when the files are to be saved to a network drive.

I believe this is permission issue, the account on my local computer does
not have permissions to write to network drive. Can someone tell me how
resolve this problem? I already went to IIS and impersonate anonymous
access with a domain account, no lucks.
You put the user-account on a Network share, and if appropriate, on the
directory itself and give the appropriate permissions for the account.

You mat have to give the permissions to the ASP.Net worker process
machine/ASPNET account, that's the local machine account for the machine if
using .Net Framework 1.1.

Or you might have to use the Network account NT Authority/System if using
..Net Framework 2.0.

I myself like to use Authenticated User Group removing all other accounts
off of a network share or directory.

http://www.windowsitpro.com/Article/...581/23581.html

http://www.google.com/search?hl=en&q...=Google+Search

Jun 17 '07 #2

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

Similar topics

5
by: Uncle Ben | last post by:
How strong and reliable is the new ASP.NET 2.0 FileUpload control? By that, I mean is it reliable enough to accept 2-gigabyte file uploads per upload session? Also, is it possible or easy to...
12
by: Phil Z. | last post by:
After migrating an ASP.NET 1.1 application to 2.0 we were getting "Cannot access a closed file" errors when uploading. I found a number of post on the subject and have since moved from using an...
3
by: rn5a | last post by:
The ASPX FileUpload control displays a TextBox along with a 'Browse...' Button. Setting the different properties of this control just reflects the changes in the TextBox but not the Button. For...
1
by: Oren | last post by:
Hi, Im working with asp.net visual web developer 2005. Im writing an asp .net application on windows XP enviroment. Im using .net FileUpload control to get the path from the user. If the path is...
5
by: =?Utf-8?B?QmVydA==?= | last post by:
Hi How can you set the filename property in the asp:fileupload control? How can you persist the value of the chosen filename between postbacks? thanks B
2
by: =?Utf-8?B?UGF1bA==?= | last post by:
I have a gridview with 2 columns. One column is a BoundColumn to a part number (string). One column is an ItemTemplate with a FileUpload control. There can be multiple rows (i.e. part numbers)...
1
by: bharathreddy | last post by:
Hi, In my page I have an updatepanel and in the updatepanel I have a wizard in the wizardstep2 i have a user control in the user control i have the fileupload. I have added the triggers to the...
5
by: =?Utf-8?B?bXVzb3NkZXY=?= | last post by:
Hi guys I'm having a problem uploading files to 1&1 using the asp:FileUpload control. Currently, I have direct file writing code (FileStream) working, having set the permissions on the...
2
by: =?Utf-8?B?bXVzb3NkZXY=?= | last post by:
Hi guys This is a repost as I haven't managed to fix the problem yet. I really hope someone can help as I'm stuck. I have an asp:fileupload component on a page, and it's giving the following...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
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,...
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...
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,...

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.