Hi, I have VS 2005 RC installed on 2 machines, only one is seeing this issue. I can add a datasource test the connection and everything is ok. But when i have the forms designer open, the datasource window is empty if i switch to the code editor the data sources show up. Any ideas how to fix this or what might be going on. The machine that is having the problem also has VS 2003 installed on it, the machine that is working correctly doesn't. Thanks Ken

Datasource window in VS 2005 only shows data sources when in code
Claudiu_Itu
One possible reason for this is installing Visual Studio 2005 and SQL Server 2005 that use different version of .NET Framework.
You can try the work around suggested by other users in this post http://forums.microsoft.com/msdn/ShowPost.aspx PostID=89678.
Best regards,
Roland Stens
I dont have C:\Documents and Settings\<UserName>\Application Data\Microsoft\VisualStudio\8.0\DataBindingSetting\WinFormControls.xml but I have rather deleted C:\Documents and Settings\<UserName>\Application Data\Microsoft\VBExpress\8.0\DataBindingSetting\WinFormControls.xml and this fixes the problem.
Notes:
I had the VB 2005 Beta version and it was cleanly uninstalled
I don't have SQL Server, I'm using Access 2003
Regards
Imunevar
Hi,
It's probably too late but I would like to update this issue.
JoshSommers found out a detail about Data UI Customization which I believe explains this issue. For full details please see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=125310.
I would suggest doing this to try to preserve your previous Data UI Settings:
- Check if you have this file C:\Documents and Settings\<UserName>\Application Data\Microsoft\VisualStudio\8.0\DataBindingSetting\WinFormControls.xml.
- Open this file and replace version 2.0.2600.0 with 2.0.0.0
- If Data Sources tool window still fails, delete/rename this file.
Here's a possible explanation for this issue. I will verify it.
- When you change Data UI Customization, the settings are saved under C:\Documents and Settings\<UserName>\Application Data\Microsoft\VisualStudio\8.0\DataBindingSetting\WinFormControls.xml. The full assembly name, including the version is saved.
- Between Beta and RC, the version number was changed.
- MSI engine does not know about this file so it remains there between updates.
- Data Sources tool window loads the settings file, cannot find the controls with the old version numbers and fails.
Best regards,