【发布时间】:2019-04-09 13:51:16
【问题描述】:
我遇到的问题是当我尝试引用 Azure 分析服务表格模型时出现异常。
Message=值“2”对于类型“DataSourceType”来说是意外的。 来源= 堆栈跟踪: Microsoft.AnalysisServices.Tabular.ObjectFactory.CreateDataSourceFromRowset(IPropertyReader 阅读器) 在 Microsoft.AnalysisServices.Tabular.DdlUtil.LoadDataTable(ObjectType objectType, DataTable table, DictionaryobjectMap, StringComparerInfo comparerInfo)
我在这里Exception when referencing SSAS Tabular model in C# 发现了同样的问题,但没有解决方案。
Microsoft.AnalysisServices.Database db =
SSASConnection.Instance(Parent.Name).Databases.Find(Id);
if(db.Model != null) // Here it breaks!!!
【问题讨论】:
标签: c# azure ssas ssas-tabular azure-analysis-services