Run-time error 80004005

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samvb
    New Member
    • Oct 2006
    • 228

    Run-time error 80004005

    Hi,

    I created a setup file (of vb6 and access 2003) that works fine in xp, 2000, server 2003 but not in vista. In vista, the connection to db is established, some database operations can be done. But in area, where I try to add a record to a table, the following error is displayed:

    Run-time error -2147467259 (80004005)

    Cannot open database ''. It may not be the database that your application recognizes, or the file may be corrupt.

    I am using ADO 2.8 Library and JET 4.0.

    What is the wrong with the program please? Do I need to take any action to run it in vista.
  • samvb
    New Member
    • Oct 2006
    • 228

    #2
    I just figured the program works fine it is started by Run As Administrator. Any solution for that please?

    Comment

    Working...