none
RSReportServer.config_error 401

    Question

  • Hi, 

    I try to embedded report to a website and get this error 

    Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

    The execution failed at line 21

    Source Error: 
    Line 19:         rp = {New ReportParameter("Corporate", Session("CorpCd").ToString, False), _
    Line 20:               New ReportParameter("CorpCd", Session("CorpCd").ToString)}
    Line 21:         ReportViewer1.ServerReport.SetParameters(rp)
    Line 22:         
    Line 23:     End Sub

    After that i found this link  and try to apply it(to fix the authorization issue).

    The issue is, after I make changes on the RSReportServer.config ; my ReportServerWebService 

    

    and my ReportManager  are totally blank.


    I already  backup the config file before I make changes on it, but even after I replace it with the old one(backup), the page still blank and the website still give me error 401.

    Is there any way to repair back my reportserverwebservice & reportmanager ? or do I need to re-install the whole sqlserver 2012?

    Saturday, July 20, 2013 6:31 AM

Answers

All replies