Results 1 to 7 of 7

Thread: Unable to open database?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Fremont Ohio 43420
    Posts
    253
    I'm trying to install a vb6 program to a user machine. I have several crystal reports that are connected to the program and get the information from a access database. After I install the program and go to run it and try to pick a report, I get an error that says Unable to open database. Can someone help me out with this error? I have no idea why the database will not open up.

    thanks jeffro

  2. #2
    Member
    Join Date
    Oct 2000
    Posts
    49
    Does your installation program install MDAC? If not you should add it.


  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Fremont Ohio 43420
    Posts
    253
    I do have the MDAC_TYP.EXE in the install for the program. Any other ideas?

    Thanks jeffro

  4. #4
    Hyperactive Member PJB's Avatar
    Join Date
    Aug 2000
    Location
    dunno at the moment
    Posts
    302
    Is the path to the database set properly, it's not trying to find it along the path it was on on your machine is it?
    I'm assuming it works fine on the machine you designed it on
    VB6.0 SP4
    Windows 2000
    I'm thinking of a number between

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Fremont Ohio 43420
    Posts
    253
    I have the program, database, and all the reports and forms in the h:\, but then I moved them to the p:\. I also changed the paths the reports and the connectionstring to go to the p:\. And then I tested the program on the new drive and everything worked out just great. Put when I installed the program on a user machine the reports will not show up. I'm not calling them from the old h:\ drive.

    thanks jeffro

  6. #6
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    what is the EXACT error message that you are receiving? What database are you using?

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Fremont Ohio 43420
    Posts
    253
    The error message is Error '20533' Unable to open database. I'm using Access 97.

    jeffro

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