Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting Error when trying to add SQL data source

Status
Not open for further replies.

TonyScarpelli

Programmer
Jan 23, 2003
361
US
In both VS 2005 SP3 and VS 2008 SP 1 I am getting the same error when trying to add a new data source on a new VB project.

In Server Explorer I can connect to the database that I want and see the tables there. It's a SQL Server 2005 database that is on our SQL Web server.

I can use 'SQL Server Management Studio' to connect to the database and do queries against it.

If I create a new VB project in VS, then click on 'Add New Data Source...' I choose Database, then choose the connection, then when I click on Next, then Next I get the following error:

An error occurred while retrieving the information from the database:
The type initializer for 'Microsoft.VisualStudio.DataDesign.SyncDesigner.SyncFacade.SyncTableConfigManager' threw an exception.

This appears to be a Visual Studio problem, but since it occurs on both 2005 and 2008, it seems to be something in between VS and SQL Server.

Any ideas with this one?

Thanks.


Tony Scarpelli
Clinical Engineering Dept.
Maine Medical Center
Portland, Maine 04102
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top