Friday 26 February 2010

Unable to add data connection. The DataConnectionDialog could not be initialized. - Resoved

When you try to add data connection (MS SQL Server) through the server explorer, sometimes you get the following error.

In order to resolve this you need to do a change in the windows registry.
Close visual studio IDE and open the registry editor and navigate to 'HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0' and change it to 'HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0Bak' (What ever you want).

Restart visual studio IDE.