Issue while generating Reports

  • Hi All,

    I am getting below error while generating report:

    System.Net.WebException

    :

    The request failed with HTTP status 401: Unauthorized.

    The request failed with HTTP status 401: Unauthorized.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [WebException: The request failed with HTTP status 401: Unauthorized.]

    Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.GetSecureMethods() +204

    Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.IsSecureMethod(String methodname) +47

    Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID) +112

    Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo() +121

    Microsoft.Reporting.WebForms.ServerReport.SetParameters(IEnumerable`1 parameters) +67

    CARLI.Utilities.Common.ExtenstionMethods.showReport(ReportViewer ReportViewer1, String ReportPath, Dictionary`2 Data) in C:\BLRSPSTAGING\CARLI_PARALLON\branches\CARLI_PARALLON\CARLI\CARLI.Utilities\Common\ExtenstionMethods.cs:72

    CARLI.Reports.Invalid_Emp_Report.btnsearch_Click(Object sender, ImageClickEventArgs e) in C:\BLRSPSTAGING\CARLI_PARALLON\branches\CARLI_PARALLON\CARLI\CARLI\Reports\Invalid_Emp_Report.aspx.cs:347

    System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +108

    System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +118

    System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10

    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13

    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36

    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

    Please help me to find the solution...

    Thanks in advance.

  • Thanks Shafat , now its working fine 🙂

  • Dear Arooj,

    How did you resolve it?

    Regards,
    Shafat Husain
    🙂
    And Your Lord Never Forgets...!! (64:19 -- Quran)

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply