Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/261.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# ASP.NET无权访问请求的SSR资源_C#_Asp.net_Azure_Reporting Services - Fatal编程技术网

C# ASP.NET无权访问请求的SSR资源

C# ASP.NET无权访问请求的SSR资源,c#,asp.net,azure,reporting-services,C#,Asp.net,Azure,Reporting Services,我正在尝试访问Azure网站中的报表服务器。Reporting server安装在azure上的VM中,我可以通过internet访问Reporting server(我已经在IE中测试了Reporting server url,它可以使用提供的凭据工作)。但当我尝试在web应用程序中访问报表服务器时。它给了我以下的错误 ASP.NET is not authorized to access the requested resource. Consider granting access

我正在尝试访问Azure网站中的报表服务器。Reporting server安装在azure上的VM中,我可以通过internet访问Reporting server(我已经在IE中测试了Reporting server url,它可以使用提供的凭据工作)。但当我尝试在web应用程序中访问报表服务器时。它给了我以下的错误

    ASP.NET is not authorized to access the requested resource. Consider granting access
rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity 
(typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the 
configured application pool identity on IIS 7.5) that is used if the application is not 
impersonating. If the application is impersonating via <identity impersonate="true"/>, the 
identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request 
user.
ASP.NET无权访问请求的资源。考虑授予访问权限
ASP.NET请求标识的资源权限。ASP.NET具有基本进程标识
(通常是IIS 5上的{MACHINE}\ASPNET或IIS 6和IIS 7上的网络服务,以及
在IIS 7.5上配置的应用程序池标识,如果应用程序未被
模仿。如果应用程序正在通过模拟,则
身份将是匿名用户(通常是IUSR_MACHINENAME)或经过身份验证的请求
用户。
当在本地服务器上测试时,Web应用程序运行良好(报表服务器和Web服务器在本地环境中是两台不同的机器,但它们位于同一个域)

我想不出是什么问题


Thanx不知道确切的原因,但我将ReportViewer从9.0更改为10.0,现在它可以工作了