我正在尝试将安装在应用程序服务器上的Reporting Services配置管理器连接到位于另一台服务器上的ReportServer数据库.
我正在使用域帐户将Reporting Services配置管理器连接到数据库.
域帐户对这些数据库具有以下权限:
ReportServer数据库的public和RSExecRole角色.
master,msdb和ReportServerTempDB数据库的RSExecRole角色.
此外,域帐户对ReportServer和ReportServerTempDB具有db owner权限
在数据库服务器部分,我指定sql server\instance并使用当前用户集成安全性.我以我想用来连接数据库的域用户身份登录.用户名还显示此特定用户是正确的.测试连接成功
在数据库部分中,我选择ReportServer
在"凭据"部分中,我尝试将"身份验证类型"作为"服务凭据"和"Windows凭据",但它们都会在下面导致相同的错误.
应用连接权限期间发生错误.
System.Data.SqlClient.SqlException: User does not have permission to perform this action.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.ReportingServices.Common.DBUtils.ApplyScript(SqlConnection conn, String script, ICommandWrapperFactory commandWrapper)
at Microsoft.ReportingServices.Common.DBUtils.ApplyScript(String connectionString, String script)
at ReportServicesConfigUI.SqlClientTools.SqlTools.ApplyScript(String connectionString, String script)
Run Code Online (Sandbox Code Playgroud)
从错误日志:--- …