|
-
Apr 3rd, 2005, 08:52 PM
#1
Thread Starter
PowerPoster
Database Connection [Resolved]
Hi! I am trying to connect to my database. The database is in another computer. below is my connection code:
VB Code:
Set MyConn = New ADODB.Connection
MyConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;data Source=\\NetServer\Dbase\DatLibrary.mdb"
MyConn.Open
Below is the error:
Microsoft Jet Database engine cannot open the file '\\NetSever\Dbase\Datlibrary.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
Last edited by Simply Me; Apr 3rd, 2005 at 10:24 PM.
-
Apr 3rd, 2005, 09:28 PM
#2
Re: Database Connection
Probably has a password on the DB, or the Server
-
Apr 3rd, 2005, 09:57 PM
#3
Re: Database Connection
Simply Me,
Check the other computer to see if it does have the database open. If not then erase the ldb file on the computer where the database is to unlock it then try again. You may have to reboot to get it to release.
Last edited by randem; Apr 3rd, 2005 at 11:45 PM.
-
Apr 3rd, 2005, 10:01 PM
#4
Thread Starter
PowerPoster
Re: Database Connection
 Originally Posted by dglienna
Probably has a password on the DB, or the Server
I dont have any password for my DB
-
Apr 3rd, 2005, 10:34 PM
#5
Thread Starter
PowerPoster
Re: Database Connection [Resolved]
Got it now. i forgot to share the DB folder.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|