Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error when hooking into a networked database
Message
De
17/04/2002 08:43:25
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Titre:
Error when hooking into a networked database
Divers
Thread ID:
00645841
Message ID:
00645841
Vues:
39
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform