解决“MS Visual Database Tools 找不到指定模块”

来源:互联网 发布:天行九歌歌词解释知乎 编辑:程序博客网 时间:2024/05/28 15:26

最近微软发布了Visual Studio 2012 RC,抱着尝尝鲜的心理我下载并安装了Perfessional版。

安装完之后便开始使用,总体感受如下:

眼睛特别不舒服,特别是那种蓝底白字,本来白色的字就不该陪浅色的底,结果还是被VS的“设计师”们设计成了浅色,真怀疑他们有没有做过用户体验调查。

而且导航窗口里面的cs文件前面都加上了箭头和小图标,本身文件名就够让眼睛受累的了,现在反而又多了华而不实的图标,而且还是黑色的,文件名也是黑色的,我看文件名的时候难道还要分辨哪些是文件名,哪些是图标吗?

还有状态栏的背景,我在看代码的时候,眼睛总会被状态栏的浅蓝色背景干扰,代码窗口时白色的,状态栏是浅蓝色的,这种搭配本来就有问题,浅色的代码窗口应该配深色的状态栏,这样才能让眼睛专注于代码上!真怀疑微软的新“设计师”是不是脑子进水了?

还有代码窗口里面,当我在敲入代码的时候发现没有VS2008和VS2010流畅,代码上屏总要延时个1秒,感觉就像机子卡了一样。

基于上述种种,我毅然决然的决定把VS2012给卸掉,我使用它自带的卸载程序进行卸载,完成后提示卸载成功。但是,当我在SqlServer Management Studio 中创建数据库关系图的时候,给我报了个错误,如下图:

 

异常信息为:

=================================== 找不到指定的模块。 (MS Visual Database Tools) ------------------------------ 程序位置: 在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) 在 Microsoft.SqlServer.Management.UI.VSIntegration.NativeMethods.ThrowOnFailure(Int32 hr) 在 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName) 在 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName) 在 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName) 在 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptFactory.CreateDesigner(DocumentType editorType, DocumentOptions aeOptions, Urn parentUrn, IManagedConnection mc, String fileName) 在 Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)

无奈上网搜索,发现是少了“MSVCP110.DLL”和“MSVCR110.DLL”这两个组件,所以我就在“C:\Windows\System32”目录下找到了名为“msvcp110_clr0400.dll”和“msvcr110_clr0400.dll”的两个组件,于是我果断把它们名字中的“_clr400”去掉,然后将新的文件复制到“C:\Windows\System32”目录下,结果问题就解决了。

0 0