473,569 Members | 2,872 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems with file upload on a network drive mapped on the web server

Hello all,

I have a web server in a domain and would like to upload files using an
ASP.NET application that resides on the aforementioned server but the
destination folder for upload is a shared folder that is located on a
different server within a trusted domain.
I have tried everything I could come up with: I mapped the shared folder as
the "Z:" drive on the web server, I used UNC name and IP address as the
possible paths in the ASP.NET script but I couldn't upload anything.
Permissions were set to everyone full control in the test phase, but I keep
getting "Could not find a part of the path \\192.168.101.2 04\...." error.
Is there a way to do such an upload?

Thank you in advance,
Hrvoje Vrbanc
Nov 18 '05 #1
1 6108
A
Hi,
try to add a user with the same name (eg. iuser_<machine> , from your WEB
server on your FILE server)
(with the "fileserver " user having same <machine> as your webserver)..
Agge

"Hrvoje Vrbanc" <hr*****@recro. hr> skrev i en meddelelse
news:Oa******** *****@tk2msftng p13.phx.gbl...
Hello all,

I have a web server in a domain and would like to upload files using an
ASP.NET application that resides on the aforementioned server but the
destination folder for upload is a shared folder that is located on a
different server within a trusted domain.
I have tried everything I could come up with: I mapped the shared folder as the "Z:" drive on the web server, I used UNC name and IP address as the
possible paths in the ASP.NET script but I couldn't upload anything.
Permissions were set to everyone full control in the test phase, but I keep getting "Could not find a part of the path \\192.168.101.2 04\...." error.
Is there a way to do such an upload?

Thank you in advance,
Hrvoje Vrbanc

Nov 18 '05 #2

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

Similar topics

7
5058
by: garbagecatcher | last post by:
Hello, here's my problem: On my web server I generate a file, I need to send this file to a different web server. I have no control over the other web server. The only way they accept files is through input type="file"
5
327
by: helpful sql | last post by:
Hi all, I dynamically generate Word Documents from my web application using XmlDocument object and need to save them on a mapped network drive. I use the Save method of XmlDocument object to save documents. Ican save them successfully on local drive on web server. But when I try to save them on a mapped network drive, I get permission denied...
1
2073
by: Tommy.Vincent | last post by:
Hi, When i use to work on Windows 2000 advance server and Sql 2000 I was able to do network restoration by using a mapped drive where my backup use to be lying.What i did was I assigned administrator rights to my login and in Services (mssqlserver)i added my login. Then I was able to access any mapped drive from my network in Sql server...
2
5783
by: giloosh99 | last post by:
Hello, Im grabbing tables via VB code using visual foxpro ODBC drives. The tables directory is in a mapped network drive. The code works fine and does the job, however if the computer is idle for a while the network drive apears to have a red X on the icon and the drive becomes disconnected. this seems to effect the VB code from grabbing the...
8
11834
by: Lam | last post by:
HI anyone knows how can I open a mapped network file in C#? I try string file = @"T:\file.txt"; it shows me the error: "Could not find a part of the path" but if I copy the file to my C dirve, and use @"C:\file.txt"; it worked Thanks a lot
2
3920
by: Michal Valent | last post by:
Hello, if I try to read a file on the mapped network drive, this error apears: Logon failure: unknown user name or bad password. How to set up permissions for IUSR_MACHINENAME on the mapped network drive? Thaks
2
2663
by: .Net Believer | last post by:
I using the routine below to copy file to a network drive for a regular backup process. Before calling this routine I using another function to check the presence of the LAN connection and the server where the network drive exists. Although of this check I am sometimes getting an exception (in 5% of times)saying "Could not find the...
0
2227
by: Sergistm | last post by:
Hello World, :D I have a problem that it is making me crazy, I hope you can help me. I'm trying to execute a .exe file with the Procces.Start, and there is no problem when the file is on my computer, the problem comes when the file is in a network drive. The most amazing thing is that in one computer I can execute my .Net program...
1
9054
by: tanya.wang | last post by:
I want to access files from a remote server so I mapped it in my server under z:\ for \\myserver\web\mysite\images\ I added this UNC path to my IIS virtual directory and name it as "upload" but I still cannot use any FSO to read it. Here is my code: <% Dim fs set fs=Server.CreateObject("Scripting.FileSystemObject")
0
7619
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7930
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8138
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7681
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1229
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
950
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.