Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/sql/81.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql SSAS多维数据集:打开数据源视图时出错_Sql_Visual Studio 2012_Sql Server 2012_Ssas_Datasourceview - Fatal编程技术网

Sql SSAS多维数据集:打开数据源视图时出错

Sql SSAS多维数据集:打开数据源视图时出错,sql,visual-studio-2012,sql-server-2012,ssas,datasourceview,Sql,Visual Studio 2012,Sql Server 2012,Ssas,Datasourceview,我的Windows 7笔记本电脑中安装了SQL Server 2012评估版。我正在尝试一个SSAS项目。数据源是同一台计算机中实例中的数据库 创建数据源视图后,我立即出现以下错误 Error: TITLE: Microsoft Visual Studio ------------------------------ An error prevented the view from loading. ------------------------------ ADDITIONAL INF

我的Windows 7笔记本电脑中安装了SQL Server 2012评估版。我正在尝试一个SSAS项目。数据源是同一台计算机中实例中的数据库

创建数据源视图后,我立即出现以下错误

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
------------------------------

有什么想法吗? 我在谷歌上搜索。我看到了类似的错误和反馈。但大多数都是处理SQL 2008/2005版问题等

这里是我的SSAS设计器和SQL server源代码。在阅读了许多令人困惑的博客后,在堆栈中询问流量


提前感谢。

这很可能是因为有人手动修改了底层XMLA代码,SSAS无法再正确解析它


如果多维数据集运行正常,则可以删除Visual Studio项目,并使用现有多维数据集创建一个新项目。这可能是处理此问题的最简单方法,除非您已经做了重大更改(即使问题与XMLA解析无关)

您是否在datasouce上成功地进行了连接测试?是的,与edw的连接很好,问题只与DSV有关。此问题确实让我很为难。最后,我卸载了2008年附带的所有组件,并重新安装了2012。后来它开始工作了。您必须是正确的,可能是某些文件已损坏。
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)