Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid path or file name.
Message
From
09/09/2003 16:44:04
 
 
To
All
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Invalid path or file name.
Miscellaneous
Thread ID:
00827653
Message ID:
00827653
Views:
58
I get “Invalid path or file name. “ on the OleDbCon.Open()
When I try to access the data on another machine called "MAINSERV" in the

OleDbCon.ConnectionString = "User ID=;DSN=;Collating Sequence=MACHINE;Data Source=""\\MAINSERV\C\CITINET"";Passw" & _
"ord=;Provider=""VFPOLEDB.1"";Cache Authentication=False;Mask Password=False;Mode=""" & _
"ReadWrite|Share Deny None"";Extended Properties=;Encrypt Password=False"

I have set up a user “MyWebUsr1” on both machines.

I have made the “MyWebUsr1” the Anonymous Access User.

(in IIS, Directory Security Anonymous access and authentication control)

I created this same user and password on the “MAINSERV” machine and have given this user FULL rights to the C drive and the Dir.

I have given ASPNET rights to the drive and folders on the MAINSERV machine.

I can see the other Server in the Server Explorer and have set a Data connection to
\\MAINSERV\C\CITINET
It will even show me the tables in the dir.

I can access the same data on the Local drive fine (FoxPro)
OleDbCon.ConnectionString = "Provider=VFPOLEDB.1;Data Source=C:\CITINET;Mode=Share Deny None;Extended Properti" & _
"es="""";User ID="""";Password="""";Mask Password=False;Cache Authentication=False;Encr" & _
"ypt Password=False;Collating Sequence=MACHINE;DSN="""""


Also I can’t get this to work with the mapped drive either... ??
Next
Reply
Map
View

Click here to load this message in the networking platform