Last post Oct 17, 2016 06:57 PM by codemovement.pk
Oct 13, 2016 07:55 AM|vickyt50k|LINK
I'm trying to access a ssrs report from a server using remote mode and I get the below error.
The request failed with HTTP status 403: Forbidden.
Below is my code:
protected void Page_Load(object sender, EventArgs e)
ReportViewer1.ProcessingMode = ProcessingMode.Remote;
ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://hms01/Reports/");
ReportViewer1.ServerReport.ReportPath = "/mobilereports/MobileReports/Mobile%20Report%201";
catch (Exception ex)
Could someone help with this?
Oct 14, 2016 09:04 AM|Eric Du|LINK
According to your code and error message , As far as I know , it is possible that error caused by security .
You can reference this link’s 403(Forbidden) :
Oct 17, 2016 06:57 PM|codemovement.pk|LINK
You attempts to connect to SSRS using HTTP instead of HTTPS therefore the error and failure to connect.
Also please chech your IIS settings:
When you go to the IIS settings, right-click on the website/application and go to properties. Under the Home Directory tab, you can set the execute permissions to script only (or scripts and executables, if you're using executable files too).
Are you getting the error when trying to access the startpage.htm file? Make sure you have created the application root in IIS on the new machine, and have enabled "anonymous access" for it. Also, when you are setting the permissions,
try to choose "Replace permission entries on all child objects with entries shown here that apply to child objects".
Also, trouble shoot reporting server configuration.
Do let me know if any of suggested solution works.