locked
Sql Reporting Error [COMException (0x80040154)] RRS feed

  • Question

  • User-510724236 posted

    Hi All, 

    I am having this problem with displaying a ReportViewer webform. This has happened just recently and I have been trying to do everything to fix the problem. Uninstall  .Net Frameword 3, reinstall  .Net Framework 2 and still nothing. Restart IIS and the whole bit. It's not something with just the web app cause on my other Web Apps if you try to view the report it automatically give the error below. I have manually visit the report and it displays just fine. Any ideas???

    Unhandled Execution Error

    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.Runtime.InteropServices.COMException:

    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:

    [COMException (0x80040154)]
    System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) +0
    System.Management.ManagementObjectEnumerator.MoveNext() +455
    Microsoft.ReportingServices.Diagnostics.WebUtil.GetIPAddresses(String machine) +295
    Microsoft.ReportingServices.Diagnostics.WebRequestUtil.get_LocalIPAddresses() +138
    Microsoft.ReportingServices.Diagnostics.WebRequestUtil.IsLocalIPAddress(String ipAddress) +37
    Microsoft.ReportingServices.Diagnostics.WebRequestUtil.IsClientLocal() +79
    Microsoft.Reporting.WebForms.ErrorControl.WriteStackTrace(HtmlTextWriter writer) +10
    Microsoft.Reporting.WebForms.ErrorControl.Render(HtmlTextWriter writer) +43
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
    Microsoft.Reporting.WebForms.ReportViewer.Render(HtmlTextWriter writer) +248
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
    System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +59
    System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +68
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
    System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +37
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
    System.Web.UI.Page.Render(HtmlTextWriter writer) +26
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1896


    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

    Monday, March 19, 2007 3:37 PM

All replies

  • User1685710436 posted

    It seems that we are facing the same situation here.

    When the user presses the print icon and the selects from the popup window the printer and then presses ok, it appears the same error as it is described in my previous post

    http://forums.asp.net/p/1934599/5504423.aspx?SQL+Reporting+Services+2008+and+Report+Viewer+Control

    Tuesday, September 10, 2013 4:23 AM