by Mikael Henriksson
27. January 2009 18:59
It seems like Visual Studio drops a setting needed by OLE DB drivers. The solution to my problems was a simple one but finding it was not!! It took me freaking 3 months to find a way to be able to use Visual Studio (any version) with Access Databases again.
4 months ago I formatted my harddrives and reinstalled everything from scratch. It took only 3 weeks or so before I lost the built in query designer and add connection.
You need to do some simple regediting... I've made a .reg file to do this automatically from now on but I recon noone likes to run .reg files that other people created because of possible security threats so I'll just let you have the way to do it yourselves. :)
- Run regedit.exe;
- Browse to the location "HKEY_CLASSES_ROOT\CLSID\{F9AE8980-7E52-11d0-8964-00C04FD611D7}" in the tree;
- Locate the child node in the tree called "ProgID"
- If there is no key you need to create it by Right-clicking the node and select "New > Key";
- Enter "ProgID" as the name;
- Go to the main window (the one to the right) and double click "(Default)" within ProgID;
- Enter the value "MSIDXS.1";
Simple huh? ;) But very useful!