I have generated a report using reporting services 2008 and trying to display the report on the web page. The report runs locally and with the report manager. But when it is accessed from other machine, i get the "The request failed with HTTP status 401: Unauthorized" error.
I have done the following:
1) In the web.config, added the following element under the system.web section:
<identity impersonate="true" />
2) Navigated to HKEY_LOCAL_MACHINE\SYSTEM\
ntrol\Lsa and, created a new DWORD named DisableLoopbackCheck with a value of 1. Restarted the server
Also i am using the below attached code.
Could anyone help me out what i am missing like do i need to pass any network credentials or something?
Private Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
Dim prmInput(0) As ReportParameter
'Add Input Parameter
prmInput(0) = New ReportParameter("intYear", ddlYear.SelectedValue)
ReportViewer1.ServerReport.ReportServerUrl = New System.Uri(strReportServerUrl)
ReportViewer1.ShowCredentialPrompts = False
ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote
ReportViewer1.ServerReport.ReportPath = "/XReports/X_XXXX"
ReportViewer1.ShowParameterPrompts = False
ReportViewer1.ShowBackButton = False