我正在使用像这样的Analysis Services部署工具:
Microsoft.AnalysisServices.Deployment.exe Model.asdatabase
在配置属性阶段,Model.asdatabase
文件中指定的连接成功:
“数据库选择”组合框包含该服务器上存在的数据库,该数据库还指示正确的连接字符串。
但是在部署阶段,它会失败并显示错误
A connection could not be made to the data source with the name of '...'
如果我指定Processing=None
,则部署成功,并且结果的Tabular实例具有使用当前凭据/密码的连接,但是处理失败并出现错误
Failed to save modifications to the server. Error returned: 'OLE DB or ODBC error: Login failed for user '...'.; 28000.
A connection could not be made to the data source with the Name of '...'.
OLE DB or ODBC error: Login failed for user '..'.; 28000.
如果将部署模型中的连接字符串替换为Model.asdatabase
中指定的连接字符串,则处理成功。
如何解决此问题?