|
-
Dec 19th, 2006, 05:40 AM
#1
Thread Starter
Addicted Member
[Resolved]connectionstring with password problem!
VB Code:
ADOOpenWithPassword = "Provider=Microsoft.Jet.OLEDB.3.51;user id=;Password='senthil';Data Source=F:\RengaPassword\Finance.mdb"
Adodc1.ConnectionString = ADOOpenWithPassword
I am using the above coding for connectionstring. But it shows the following error message:
"Can't start your application. The workgroup information file is missing or opened exclusively by another user"
But the file is not already opened. The database password is also correct.
Where is the bug?. Is there any other connection string syntax?
Last edited by senthilkumartd; Dec 21st, 2006 at 12:39 AM.
God has been pleased to place as a king or cobbler do the work sincerely
-
Dec 19th, 2006, 06:04 AM
#2
Re: connectionstring with password problem!
Are you running your program on a domain server?
-
Dec 19th, 2006, 06:10 AM
#3
Thread Starter
Addicted Member
Re: connectionstring with password problem!
This is not the server. But one of the computer in local interanet. Peer to Peer connection. The OS is XP
God has been pleased to place as a king or cobbler do the work sincerely
-
Dec 19th, 2006, 01:20 PM
#4
Re: connectionstring with password problem!
First off, you haven't specified the username (if it is a 'database password', use the username Admin).
Next up, is your password 'senthil' or is it senthil (without quotes)?
I think these changes may be what you need:
...OLEDB.3.51;user id=Admin;Password=senthil;Data Source...
-
Dec 19th, 2006, 02:06 PM
#5
Re: connectionstring with password problem!
If it is a database password use
ADOOpenWithPassword = "Provider=Microsoft.Jet.OLEDB.3.51;JET OLEDB: Database Password=senthil;Data Source=F:\RengaPassword\Finance.mdb"
-
Dec 19th, 2006, 10:36 PM
#6
Re: connectionstring with password problem!
Make sure you got the right username and password and try to test your connection first.
-
Dec 20th, 2006, 07:42 AM
#7
Thread Starter
Addicted Member
Re: connectionstring with password problem!
brucevde! It is a database password, I tried as per your sugession, it showing "Couldnot find installable ISAM" message.
God has been pleased to place as a king or cobbler do the work sincerely
-
Dec 20th, 2006, 10:42 AM
#8
Re: connectionstring with password problem!
That tends to just mean that your connection string is not correct.. Try removing the space between "JET OLEDB:" and "Database Password".
Have you tried my suggestion?
-
Dec 21st, 2006, 12:24 AM
#9
Thread Starter
Addicted Member
Re: connectionstring with password problem!
si_the_geek
VB Code:
ADOOpenWithPassword = "Provider=Microsoft.Jet.OLEDB.3.51;user id=Admin;Password=senthil;Data Source=F:\RengaPassword\Finance.mdb"
This also showing the error "Can't start your application. The workgroup information file is missing or opened exclusively by another user"
God has been pleased to place as a king or cobbler do the work sincerely
-
Dec 21st, 2006, 12:28 AM
#10
Re: connectionstring with password problem!
Please mark you thread resolved using the Thread Tools as shown
-
Dec 21st, 2006, 12:31 AM
#11
Thread Starter
Addicted Member
Re: connectionstring with password problem!
si_the_geek, I got connectionstring from your singnature.Thanks.
Thanks to all
God has been pleased to place as a king or cobbler do the work sincerely
-
Dec 21st, 2006, 12:37 AM
#12
Thread Starter
Addicted Member
Re: connectionstring with password problem!
God has been pleased to place as a king or cobbler do the work sincerely
-
Dec 21st, 2006, 12:51 AM
#13
Re: [Resolved]connectionstring with password problem!
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
Please mark you thread resolved using the Thread Tools as shown
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
|