如何在将Visual Studio 2008与sql server2008连接时连接数据库 [英] how to connect the database while connecting visual studio 2008 with sql server2008

查看:140
本文介绍了如何在将Visual Studio 2008与sql server2008连接时连接数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用SQL SERVER 2008和VIsual Studio 2008.我已经创建了一个GUI表单,并使用Studio Manager在SQL Server 2008中创建了2个表.请执行以下步骤:-
1.单击绑定源,然后选择添加项目.
2.选择数据库并创建新连接.测试连接,然后按OK.
3然后仅需按几个步骤即可.在执行这些步骤时,选择下一步"时发生错误.错误的定义如下:

发生意外错误
错误消息:无法从程序集''Microsoft.visualStudio.datadesign.SyncDesigner.DsePackage,Version = 9.0.0.0,culture = neutral,public key token = b03f5f7f11d50a3a.


我无法获得此错误的解决方案.请向我提出一些解决方案.

I am working with SQL SERVER 2008 and VIsual studio 2008 .I have created one gui form and created 2 tables in SQL server 2008 using studio manager.At the time of connecting gui form and tables through binding source error is occured after the following steps:-
1. Click on binding source and then select add projects.
2. Select the database and create new connection.test the connection and then press ok.
3 Then for few steps just press next.While doing these steps error occured on selecting next .Error is defined below:

An unexpected error occured
Error message:Couldnot load type ''Microsoft.VisualStudio.Design.SyncDesigner.SyncFacade.SyncManager from assembly ''Microsoft.visualStudio.datadesign.SyncDesigner.DsePackage,Version=9.0.0.0,culture=neutral,public key token=b03f5f7f11d50a3a.


I am not able to get solution for this error.Pls suggest me some solutions for it.

推荐答案

看起来像这不是您的错

看到这可能对您有帮助.

http://support.microsoft.com/kb/2001115 [ http://iborn2code.blogspot.in/2010/02/vs-2008-microsoftvisualstudiodatadesign.html [ ^ ]
Look Like this is not ur fault

see this it may help u.

http://support.microsoft.com/kb/2001115[^]

http://iborn2code.blogspot.in/2010/02/vs-2008-microsoftvisualstudiodatadesign.html[^]


这篇关于如何在将Visual Studio 2008与sql server2008连接时连接数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆