我的 Windows 7 笔记本电脑中安装了 SQL Server 2012 评估版。我正在尝试一个 SSAS 项目。数据源是同一台机器上的一个实例中的一个数据库。
创建数据源 View 后,我立即收到以下错误..
Error:
TITLE: Microsoft Visual Studio
------------------------------
An error prevented the view from loading.
------------------------------
ADDITIONAL INFORMATION:
The specified module could not be found. (Exception from HRESULT: 0x8007007E) (System.Windows.Forms)
------------------------------
BUTTONS:
OK
------------------------------
Error in detail:
===================================
An error prevented the view from loading. (Microsoft Visual Studio)
===================================
The specified module could not be found. (Exception from HRESULT: 0x8007007E) (System.Windows.Forms)
------------------------------
Program Location:
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at Microsoft.DataWarehouse.Design.ComponentDiagram.CreateDdsView(Control parentControl)
at Microsoft.AnalysisServices.Design.DataSourceDesignerView..ctor(DataSourceDesigner designer, DataSourceDiagram diagram, IComponent diagramOwnerComponent)
at Microsoft.AnalysisServices.Design.DataSourceDesignerView..ctor(DataSourceDesigner designer)
at Microsoft.AnalysisServices.Design.DataSourceDesigner.CreateDataSourceDesignerView(VsStyleToolBar pageViewToolBar)
at Microsoft.DataWarehouse.Design.EditorWindow.EnsureViewIsLoaded(EditorView view)
任何的想法?
我在谷歌搜索。我看到了类似的错误和反馈。但他们中的大多数处理 SQL 2008/2005 版本问题等。
这里我的 SSAS 设计器和 SQL 服务器源是 2012 年。在阅读了许多令人困惑的博客后,在堆栈溢出流中询问。
提前致谢。
最佳答案
这很可能是因为有人手动修改了底层 XMLA 代码,而 SSAS 无法再正确解析它。
如果多维数据集运行正常,您可以删除 Visual Studio 项目并使用现有多维数据集创建一个新项目。这可能是处理此问题的最简单方法,除非您已经进行了重大更改(即使该问题与 XMLA 解析无关)
关于sql - SSAS 多维数据集 : Error while opening a data source view,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22993453/