Information générale
Catégorie:
Formulaires Web
Titre:
Error when hooking into a networked database
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement