Results 1 to 13 of 13

Thread: [Resolved]connectionstring with password problem!

  1. #1

    Thread Starter
    Addicted Member senthilkumartd's Avatar
    Join Date
    Feb 2005
    Posts
    206

    [Resolved]connectionstring with password problem!

    VB Code:
    1. ADOOpenWithPassword = "Provider=Microsoft.Jet.OLEDB.3.51;user id=;Password='senthil';Data Source=F:\RengaPassword\Finance.mdb"
    2. 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

  2. #2
    Frenzied Member zynder's Avatar
    Join Date
    Nov 2006
    Location
    localhost
    Posts
    1,434

    Re: connectionstring with password problem!

    Are you running your program on a domain server?

  3. #3

    Thread Starter
    Addicted Member senthilkumartd's Avatar
    Join Date
    Feb 2005
    Posts
    206

    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

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    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...

  5. #5
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    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"

  6. #6
    Frenzied Member zynder's Avatar
    Join Date
    Nov 2006
    Location
    localhost
    Posts
    1,434

    Re: connectionstring with password problem!

    Make sure you got the right username and password and try to test your connection first.

  7. #7

    Thread Starter
    Addicted Member senthilkumartd's Avatar
    Join Date
    Feb 2005
    Posts
    206

    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

  8. #8
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    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?

  9. #9

    Thread Starter
    Addicted Member senthilkumartd's Avatar
    Join Date
    Feb 2005
    Posts
    206

    Re: connectionstring with password problem!

    si_the_geek

    VB Code:
    1. 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

  10. #10
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: connectionstring with password problem!

    Have a Look at this site
    Please mark you thread resolved using the Thread Tools as shown

  11. #11

    Thread Starter
    Addicted Member senthilkumartd's Avatar
    Join Date
    Feb 2005
    Posts
    206

    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

  12. #12

    Thread Starter
    Addicted Member senthilkumartd's Avatar
    Join Date
    Feb 2005
    Posts
    206

    Re: connectionstring with password problem!

    thanks dana
    God has been pleased to place as a king or cobbler do the work sincerely

  13. #13
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    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
  •  



Click Here to Expand Forum to Full Width