473,806 Members | 2,332 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# Mapped Drive Connectivity

I wrote a Visual Studio 2000 C# Windows application.
The application works fine on my local PC running Windows
2000 Pro, and it also works fine running on a server with
Windows 2000 Server. But when I ported the C#
application to a new Server running Windows 2003 Server,
I get this error... "Could not find a part of the path
X:\...".

I have several C# applications that run fine on Windows
2003 Server, only the C# applications that access a
mapped drive have this problem. The mapped drives have
full permissions in Sharing and Security for 'Everyone'.

All computers have the latest Windows updates. Does
anyone know what can be different between my two servers
that could be causing this error?
Nov 15 '05 #1
3 2878
Hi,

Are you sure that X is mapped to the correct path?

Usually that error is cause a file or a part of the path is missing.

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Stephen Burch" <bu****@digital movers.org> wrote in message
news:02******** *************** *****@phx.gbl.. .
I wrote a Visual Studio 2000 C# Windows application.
The application works fine on my local PC running Windows
2000 Pro, and it also works fine running on a server with
Windows 2000 Server. But when I ported the C#
application to a new Server running Windows 2003 Server,
I get this error... "Could not find a part of the path
X:\...".

I have several C# applications that run fine on Windows
2003 Server, only the C# applications that access a
mapped drive have this problem. The mapped drives have
full permissions in Sharing and Security for 'Everyone'.

All computers have the latest Windows updates. Does
anyone know what can be different between my two servers
that could be causing this error?

Nov 15 '05 #2
Yes, the drive (X:) is mapped correctly. In fact, if
accessed via Windows Explorer provides the resource.

-----Original Message-----
Hi,

Are you sure that X is mapped to the correct path?

Usually that error is cause a file or a part of the path is missing.
Cheers,

--
Ignacio Machin,
ignacio.mach in AT dot.state.fl.us
Florida Department Of Transportation

"Stephen Burch" <bu****@digital movers.org> wrote in messagenews:02******* *************** ******@phx.gbl. ..
I wrote a Visual Studio 2000 C# Windows application.
The application works fine on my local PC running Windows 2000 Pro, and it also works fine running on a server with Windows 2000 Server. But when I ported the C#
application to a new Server running Windows 2003 Server, I get this error... "Could not find a part of the path
X:\...".

I have several C# applications that run fine on Windows
2003 Server, only the C# applications that access a
mapped drive have this problem. The mapped drives have
full permissions in Sharing and Security for 'Everyone'.
All computers have the latest Windows updates. Does
anyone know what can be different between my two servers that could be causing this error?

.

Nov 15 '05 #3
>Yes, the drive (X:) is mapped correctly. In fact, if
accessed via Windows Explorer provides the resource.


Did you set up the .NET security so that apps from the Local Intranet
zone are fully trusted (e.g. can be executed from a networked drive)?

Marc
-----Original Message-----
Hi,

Are you sure that X is mapped to the correct path?

Usually that error is cause a file or a part of the path

is missing.

Cheers,

--
Ignacio Machin,
ignacio.machi n AT dot.state.fl.us
Florida Department Of Transportation

"Stephen Burch" <bu****@digital movers.org> wrote in

message
news:02****** *************** *******@phx.gbl ...
I wrote a Visual Studio 2000 C# Windows application.
The application works fine on my local PC runningWindows 2000 Pro, and it also works fine running on a serverwith Windows 2000 Server. But when I ported the C#
application to a new Server running Windows 2003Server, I get this error... "Could not find a part of the path
X:\...".

I have several C# applications that run fine on Windows
2003 Server, only the C# applications that access a
mapped drive have this problem. The mapped drives have
full permissions in Sharing and Securityfor 'Everyone'.
All computers have the latest Windows updates. Does
anyone know what can be different between my twoservers that could be causing this error?

.


=============== =============== =============== =============== ====
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)i nova.ch
Nov 15 '05 #4

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

Similar topics

1
2873
by: lhansen | last post by:
I've seen posts similar to this, but have not found the magic bullet to solve my problem.. I have an asp page (see source code below) running on IIS 6.0 on Win2003 Server that tries to get file and folder information on a Novell Server. I am able to successfully connect to the share on the Novell box if I use the UNC path. But, unfortunately, I need to have the mapped path for my application. I created a simple vbs script and saved...
2
5813
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 tables. I get an error saying the specific table cannot be found. If i manually open the mapped...
5
21573
by: Niloday | last post by:
Hi All, I am trying to access a mapped network drive from a service that I have created. The service needs to create/delete folders/files on a network drive. When I tried to connect to a folder on mapped network drive (eg. N:\Storage that corresponds to \\FS1NS\SharedDir\), I get an error as "Could not find part of path N:\".
3
2122
by: Bonj | last post by:
I have a service which is a Windows Service, but it is running under a User account - I enter my own credentials on installing. It can access network files by specifying the full UNC path, i.e. \\server\share, but it can't use mapped drive letters. Is there anyway I can modify it so that it can? Thanks
5
4478
by: Nirosh | last post by:
Hi All, Can any one suggest me a best way to do this .. I have a thrid party tool "EXE" that we need to use with our web service to manipulate some complex XML files, which reside in a seperate files server. we have mapped the fodler to a different folder and need to allow the EXE to process on the mapped drive. When I trigger the EXE via web service the EXE get the permission of the launching user (mean ASP.NET user) resulting a...
5
1580
by: Marc | last post by:
I am trying to run a web service that has pre-compiled dll's that reference dll's that are on a mapped drive. The web service can not load because it does not see that mapped drive and returns an error of "Can not file specified module". Mapped drive is added to path. Thanks, Marc
0
1266
by: Manu | last post by:
Hi, To enumerate the Mapped drive in Windows 2000 box, I am using the "Win32_NetworkConnection". I can see the instance of the Mapped drive in local system, when I try to do the same with remote box its not showing any instance of Mapped drive, even though the remote box having the Mapped drive, I am using WMI CIM studio for checking this. Can any one help me out why remotely it is not showing the instances of ...
1
2039
by: Jack | last post by:
Hi, My OS is Windows XP. I mapped a drive on another machine running Windows 2000. I set the permission of the mapped drive on the Windows 2000 machine to be "accessible to everyone". On the Windows XP machine I can access the mapped drive through Explore. By one of my third party software can not access the mapped drive if I only use the drive ID of the mapped drive, like E:. If I use UNC, e.g., \\host\\directory, the third party...
5
5369
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I am trying to accesss a Mapped Drive from my asp.net code running on IIS 6.0. I am using a FileUpload control and fileUpload.SaveAs() to save the file to the server. I want to save the file to a mapped drive that is mapped to a share on the network. When I save to "C:\temp\myFile.txt it works but when I save to Z:\temp\myFile.txt is will not work. I also want to copy, delete and move these files. I have found some pages on the net...
0
10618
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10366
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10371
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10110
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9187
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4329
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
2
3850
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.