【发布时间】:2016-03-04 23:23:16
【问题描述】:
我已经在我的机器上安装了 Visual Studio 2008 和 SQL Server 2008。当我尝试使用 BIDS 打开现有的 .dtsx 文件时,出现以下错误。我知道这个文件没有损坏,因为我可以远程进入另一台机器并在那里打开它没有问题。任何帮助或建议将不胜感激。
一个错误阻止了视图的加载。 (微软视觉工作室)
找不到指定的模块。 (HRESULT 异常:0x8007007E)
(System.Windows.Forms)节目地点:
在 System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid 和 clsid,对象 punkOuter,Int32 上下文,Guid 和 iid)
在 System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
在 System.Windows.Forms.AxHost.CreateWithLicense(字符串许可证,Guid clsid)
在 System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
在 System.Windows.Forms.AxHost.CreateInstance()
在 System.Windows.Forms.AxHost.GetOcxCreate()
在 System.Windows.Forms.AxHost.TransitionUpTo(Int32 状态)
在 System.Windows.Forms.AxHost.CreateHandle()
在 System.Windows.Forms.Control.CreateControl(布尔 fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl()
在 Microsoft.DataWarehouse.Design.ComponentDiagram.CreateDdsView(Control parentControl)
在 Microsoft.DataTransformationServices.Design.DtsComponentDiagram.CreateDdsView(Control parentControl)
在 Microsoft.DataWarehouse.Controls.DdsDiagramHostControl.set_ComponentDiagram(ComponentDiagram 值)
在 Microsoft.DataTransformationServices.Design.ControlFlowControl.set_ComponentDiagram(ComponentDiagram 值)
在 Microsoft.DataTransformationServices.Design.DtsPackageView.CreateControlFlowEditor(VsStyleToolBar pageViewToolBar)
在 Microsoft.DataWarehouse.Design.EditorWindow.EnsureViewIsLoaded(EditorView 视图)
【问题讨论】:
-
你安装了 VS11 Beta 吗?如果是这样,那么您的问题的解决方案就在这里 => stackoverflow.com/a/11287133/325521
-
没有。我安装了 Visual Studio 2008 Professional
-
安装sql server 2008 SP1..就可以解决问题了。
-
@Shiva 我没有安装 VS11,但几个月前我所做的是安装 VS2012,这就是最终导致此问题的原因。当我卸载 VS2012 时,所有 dll 都没有被删除,所以 VS2008 的安装尝试使用这些。这就是需要解决的问题。我删除了包含所有这些 dll 的文件夹 (C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8),然后修复了我的 VS2008 安装。测试了修复程序,它工作正常。
-
太棒了!很高兴你解决了。
标签: sql-server sql-server-2008 exception visual-studio-2008 bids