Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error when hooking into a networked database
Message
From
17/04/2002 11:36:23
 
 
To
17/04/2002 08:43:25
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00645841
Message ID:
00645918
Views:
12
Does the ASPNET user have rights to the network path?

>Using VB.Net and ASP.Net running on Win2000 Server.
>
>I am creating a simple web form that uses an OleDBConnection and a OleDBCommand to display a table in a DataGrid.
>
>The table I am displaying is a VFP table that resides in a VFP database container.
>
>When my OleDBConnection.ConnectionString is set to a database on my local drive, everything works. When I change the ConnectionString to an identical database on our Lan/Network drive and click on Build and Browse, I receive the following error:
>
>***
>Invalid path or file name.
>Exception Details: System.Data.OleDb.OleDbException: Invalid path or file name.
>Line 43: OleDbConnection1.Open()
>***
>
>Why can't I open a database on our network drive but I can on my local drive. I have Admin rights to our network.
>
>I get other weird problem also, like not being able to issue a SHELL command to an EXE on the network but I can on my local drive.
>
>What am I missing?
>
>Thanks,
>
>Jerryt
Previous
Reply
Map
View

Click here to load this message in the networking platform