Database error when running program on a different machine

Hi

I have just purchased a new computer instead of my old one, and i would of course like to continue working on my application on this machine..

So i installed vs2005 proffesional on this machine and put my program folder on the same harddrive.

Theres no problem opening the program and it can easily run and show the forms and everything.. Except when it has to connect to the database. I use access and the oledb connector. When the program has to execute the command con.open() it stops and promts that there is an oledb exception unhandled and it has no error for it or something like that. But i gives this error code:

REGDB_E_CLASSNOTREG(0x80040154)

There was no problem with it on my other machine.

I haven't installed everything from vs2005 on my new machine (wich i did on the old one) but i have installed all of visual basic.

Anybody who has an idea to fix this



Answer this question

Database error when running program on a different machine

  • C_Metzke

    I tried both, but i cant really install MDAC 2.8 again. It says that it is not compatable with this windows version and is incorporated in the version.

    I don't know if this has something to do with that i am using windows xp media edition.


  • percent20net

  • apdil

    I figured it out!! Microsoft did it again.. Don't you use media edition with vs2005. Anoying windows... again...
  • Database error when running program on a different machine