Проблема с разрешением AppPool при доступе к серверу отчетов

У меня есть сервер отчетов SQL Server 2008 R2, работающий на компьютере с Windows 7, а также приложение ASP.NET. Приложение ASP.NET отправляет запросы на сервер отчетов для отображения списка отчетов, отчетов об отображении и т. д. Мое приложение ASP.NET успешно получает список отчетов, но когда оно пытается отобразить отчет, я получаю следующую ошибку:

The permissions granted to user 'IIS APPPOOL\DefaultAppPool' are insufficient for performing this operation. (rsAccessDenied)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: Microsoft.Reporting.WebForms.ReportServerException: The permissions granted to user 'IIS APPPOOL\DefaultAppPool' are insufficient for performing this operation. (rsAccessDenied)

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 

[ReportServerException: The permissions granted to user 'IIS APPPOOL\DefaultAppPool' are insufficient for performing this operation. (rsAccessDenied)]
Microsoft.Reporting.WebForms.ServerReportSoapProxy.OnSoapException(SoapException e) +89
Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.ProxyMethodInvocation.Execute(RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod) +404
Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID) +180
Microsoft.Reporting.WebForms.ServerReport.EnsureExecutionSession() +79
Microsoft.Reporting.WebForms.ServerReport.GetParameters() +54

Примечание. Эта же кодовая база отлично работала на нескольких машинах под управлением Windows 7 и Windows Server 2008. Я пробовал много разных вещей, основываясь на поиске в Интернете, но не нашел решения. Любое понимание этого будет высоко оценено.

15
задан 11 June 2012 в 19:45
поделиться