在 Microsoft.AnalysisServices.Deployment.exe 中找不到数据库
Database not found in Microsoft.AnalysisServices.Deployment.exe
Microsoft.AnalysisServices.Deployment.exe 不能像在第一台机器上那样在第二台机器上工作。
它在带有选项 RetainPartitions 的连接模式下运行,并生成一个 XMLA 脚本供以后部署。
在第一台机器上运行良好:
Calling AnalysisServices.Deployment build via '& Microsoft.AnalysisServices.Deployment.exe "C:\My_Cube.asdatabase" /s:"C:\build_xmla.My_Cube.log" /o:"C:\My_Cube.xmla"'
Connecting to the myhost server
Database, My_Cube, found on server, myhost. Applying configuration settings and options...
Analyzing configuration settings...
Done
Analyzing optimization settings...
Done
Analyzing storage information...
First Cube
F First measure group
F First aggregation designs
F First partitions
Second Cube
F Second measure group
F Second aggregation designs
F Second partitions
Third Cube
F Third measure group
F Third aggregation designs
F Third partitions
Done
Analyzing security information...
Done
Generating processing sequence...
Saving deployment script to C:\My_Cube.xmla
Done
在第二台机器上它没有找到数据库:
Calling AnalysisServices.Deployment build via '& Microsoft.AnalysisServices.Deployment.exe "C:\My_Cube.asdatabase" /s:"C:\build_xmla.My_Cube.log" /o:"C:\My_Cube.xmla"'
Connecting to the myhost server
Applying configuration settings and options...
Analyzing configuration settings...
Done
Analyzing optimization settings...
Done
Analyzing storage information...
Done
Analyzing security information...
Done
Generating processing sequence...
Saving deployment script to C:\My_Cube.xmla
Done
第二台机器连接到 SSAS 实例(因为 XMLA 脚本执行正常)。
用户是 SSAS 实例中的管理员。
两台机器的 None 机器是 sql 服务器本身。
你有什么想法吗?
用户没有访问 SSAS 数据库的权限。
Microsoft.AnalysisServices.Deployment.exe 没有 return 错误信息。
可以使用 PowerShell 脚本进行验证:
Import-Module SQLPS -DisableNameChecking
Get-ChildItem SQLSERVER:\SQLAS$TargetServer\Default\Databases
Microsoft.AnalysisServices.Deployment.exe 不能像在第一台机器上那样在第二台机器上工作。 它在带有选项 RetainPartitions 的连接模式下运行,并生成一个 XMLA 脚本供以后部署。
在第一台机器上运行良好:
Calling AnalysisServices.Deployment build via '& Microsoft.AnalysisServices.Deployment.exe "C:\My_Cube.asdatabase" /s:"C:\build_xmla.My_Cube.log" /o:"C:\My_Cube.xmla"' Connecting to the myhost server Database, My_Cube, found on server, myhost. Applying configuration settings and options... Analyzing configuration settings... Done Analyzing optimization settings... Done Analyzing storage information... First Cube F First measure group F First aggregation designs F First partitions Second Cube F Second measure group F Second aggregation designs F Second partitions Third Cube F Third measure group F Third aggregation designs F Third partitions Done Analyzing security information... Done Generating processing sequence... Saving deployment script to C:\My_Cube.xmla Done
在第二台机器上它没有找到数据库:
Calling AnalysisServices.Deployment build via '& Microsoft.AnalysisServices.Deployment.exe "C:\My_Cube.asdatabase" /s:"C:\build_xmla.My_Cube.log" /o:"C:\My_Cube.xmla"' Connecting to the myhost server Applying configuration settings and options... Analyzing configuration settings... Done Analyzing optimization settings... Done Analyzing storage information... Done Analyzing security information... Done Generating processing sequence... Saving deployment script to C:\My_Cube.xmla Done
第二台机器连接到 SSAS 实例(因为 XMLA 脚本执行正常)。 用户是 SSAS 实例中的管理员。 两台机器的 None 机器是 sql 服务器本身。
你有什么想法吗?
用户没有访问 SSAS 数据库的权限。
Microsoft.AnalysisServices.Deployment.exe 没有 return 错误信息。 可以使用 PowerShell 脚本进行验证:
Import-Module SQLPS -DisableNameChecking
Get-ChildItem SQLSERVER:\SQLAS$TargetServer\Default\Databases