Data Source=my-server-01\\SQLSERVER2017;Catalog=Catalog=TabularProjectTest_serviceaccount1_ffcd154a-5c55-4f69-8a40-76628f97227f;
我在SSRS visual studio项目中使用上面的连接字符串,可以毫无问题地连接到SSAS表格数据库。
但是,当我尝试从SSRS报表管理器(Web门户)创建相同的连接字符串并测试连接时,它失败并显示以下错误。
ERROR: Report server dump occured. Exception: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details. ---> System.ArgumentException: The connection string is not valid.
有谁知道为什么这种连接在Visual Studio中有效,但是从SSRS Web门户创建时却失败了?
已解决:我要做的就是从连接字符串中删除1个反斜杠,所以现在下面的工作即可。
Data Source=my-server-01\SQLSERVER2017;Catalog=Catalog=TabularProjectTest_serviceaccount1_ffcd154a-5c55-4f69-8a40-76628f97227f;