SQL小白,碰到有关问题,求大神解答
SQL小白,碰到问题,求大神解答
标题: SQL Server 导入和导出向导
------------------------------
无法从数据库连接“Provider=SQLNCLI10;Data Source=.;Integrated Security=SSPI;Auto Translate=false;Initial Catalog=TestDb”获取字符串。
------------------------------
其他信息:
未能加载文件或程序集“Microsoft.SqlServer.Diagnostics.STrace, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91”或它的某一个依赖项。系统找不到指定的文件。 (Microsoft.SqlServer.SqlTDiagM)
------------------------------
按钮:
确定
------------------------------
------解决思路----------------------
首先确保:
1.你的服务器只有一个实例。
2.实例上面有testdb这个库。
3.你当前的windows帐号权限够高,比如administrator
------解决思路----------------------
默认安装后就能用,不需要什么配置,你安装过程有没有报错?
------解决思路----------------------
To resolve this, follow the steps below:
1. Run Command Prompt and find the location of the DLL using
> dir Microsoft.SqlServer.Diagnostics.STrace.dll /s
2. Copy the location with the DLL name.
3. Run VS 2008 Command Prompt as Administrator.
4. Execute the following
GACUTIL –i “{Location of Microsoft.SqlServer.Diagnostics.STrace.dll} found at step 1”
或者重装Visual studio
标题: SQL Server 导入和导出向导
------------------------------
无法从数据库连接“Provider=SQLNCLI10;Data Source=.;Integrated Security=SSPI;Auto Translate=false;Initial Catalog=TestDb”获取字符串。
------------------------------
其他信息:
未能加载文件或程序集“Microsoft.SqlServer.Diagnostics.STrace, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91”或它的某一个依赖项。系统找不到指定的文件。 (Microsoft.SqlServer.SqlTDiagM)
------------------------------
按钮:
确定
------------------------------
------解决思路----------------------
首先确保:
1.你的服务器只有一个实例。
2.实例上面有testdb这个库。
3.你当前的windows帐号权限够高,比如administrator
------解决思路----------------------
默认安装后就能用,不需要什么配置,你安装过程有没有报错?
------解决思路----------------------
To resolve this, follow the steps below:
1. Run Command Prompt and find the location of the DLL using
> dir Microsoft.SqlServer.Diagnostics.STrace.dll /s
2. Copy the location with the DLL name.
3. Run VS 2008 Command Prompt as Administrator.
4. Execute the following
GACUTIL –i “{Location of Microsoft.SqlServer.Diagnostics.STrace.dll} found at step 1”
或者重装Visual studio