Click here to Skip to main content
15,850,360 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
'ReportViewer2.ZoomMode = ZoomMode.Percent
        ReportViewer2.ServerReport.ReportServerCredentials = New ReportCredentials()
        'ReportViewer2.ServerReport.ReportServerUrl = New Uri(ConfigurationManager.AppSettings("MyReportServerURL2"))\
        ReportViewer2.ServerReport.ReportServerUrl = New Uri("http://fpsh-7a1f4271d3:8080/Reports_SQLSERVER2008")
        ReportViewer2.ServerReport.ReportPath = "/" + "Keyfiyat"
        ReportViewer2.ProcessingMode = ProcessingMode.Local
        ReportViewer2.ShowCredentialPrompts = False

        Dim paramlist As New Generic.List(Of ReportParameter)
                       paramlist.Add(New ReportParameter("kgi_id", "4", False))

I get an error, "The request failed with HTTP status 401: Unauthorized."

How do I do this on my computer?
Updated 5-Jun-11 22:33pm
Dalek Dave 6-Jun-11 3:33am    
Edited for Grammar and Readability.

May be the sever does not have that file or or its is not allowed to use, try to remove its readonly property, i also have same prob but it solved by this.
Share this answer
my webconfig url for report was wrong
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900