Visual Basic Development Bookmark and Share   
 Home > Visual Basic IDE > Problem associating datasource with vb project
 

Problem associating datasource with vb project

I am running Visual Studio Professional 2008 on Vista home - using VB to develop a database app. When I try to add a datasource to my project (an Access database) using the wizard - I get the following error message.


" An unexpected error has occurred.
Error message: Could not load type 'Microsoft.VisualStudio.Datadesign.SyncDesigner.DslPackage, Version - 9.0.0.0, ..."

The database appears in server explorer but the Data Sources window still tells me that the current project has no data sources associated with it.

I don't know if it is connected but I also get the following error message when I first select the toolbox window:

"Package load failure
Package 'Microsoft.VisualStudio.Xaml has failed to load properly'"

I have reinstalled Visual Studio and this seems to make no difference.
Can anyone help to shed some light on the problem.

Jed
Jedeye  Monday, November 09, 2009 2:11 PM
Hi Jedeye,

Haveyou installed VS 2008 SP1? You can try install/reinstall SP1 first and see if it solves your problem.
There is asimilar threadyou can refer to:
http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/c024bf05-bb74-4e31-bac4-91f42b19c94e/
And severalFeedbacks:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=433391
https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=349574&wa=wsignin1.0
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=370988

Regards
Jeff Shan
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Jeff Shan  Wednesday, November 11, 2009 9:06 AM
Hi Jedeye,

Haveyou installed VS 2008 SP1? You can try install/reinstall SP1 first and see if it solves your problem.
There is asimilar threadyou can refer to:
http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/c024bf05-bb74-4e31-bac4-91f42b19c94e/
And severalFeedbacks:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=433391
https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=349574&wa=wsignin1.0
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=370988

Regards
Jeff Shan
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Jeff Shan  Wednesday, November 11, 2009 9:06 AM

You can use google to search for other answers

Custom Search

More Threads

• Tabbed Documents in IDE
• User Control problem
• Datagridview MaxLength
• Another Debugging problem
• Rogue Resource Parameter
• problem with publishing
• thank you
• Problems with the Data Link Properties Dialog Box
• positioning window in design phase
• Skin Editor for vs 2005