C# Mapped Drive Connectivity

  • Thread starter Thread starter Stephen Burch
  • Start date Start date
S

Stephen Burch

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?
 
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,
 
Yes, the drive (X:) is mapped correctly. In fact, if
accessed via Windows Explorer provides the resource.
 
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

================================================================
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
 
Back
Top