PDA

View Full Version : Problem with access data source


urko
11-19-2007, 06:27 AM
I installed Visual web developer 2005, ajax extension, etc...

1.
Now when i created a new website and added existing db ( i use access DB ) to App_Data folder i get this error:

http://home.amis.net/ukralj/db.jpg

2.
When i try to create a new access data source i get this error:

Object reference not set to an instance of an object.

Funny thing is, that a few months ago, before i bought a new computer, i didn't had this problem.

I also made uninstall, and new install, but still same problem.

-----

1 thing though.... I have a backup of my previous website that i had on my old computer. when i copied it to a new computer, i had the same problem, even though it ran on the old one.

Thanks,

urko
11-19-2007, 12:58 PM
I found the solution :)
Solution:

To examine the registry:

1) Run regedit.exe;
2) Browse to the location "HKEY_CLASSES_ROOT\CLSID\{F9AE8980-7E52-11d0-8964-00C04FD611D7}" in the tree;
3) If there is a child node in the tree called "ProgID", then you are indeed experiencing a different problem - let me know if this is the case.

Otherwise, follow these steps to modify the registry:

1) Right click the node and select "New > Key";
2) Enter "ProgID" as the name;
3) Go to the main window and double click "(Default)";
4) Enter the value "MSIDXS.1";

------

Tested it, and it's working :thumbsup: