none
RDLC Report Display Errors for Some Users RRS feed

  • Question

  • Using ASP.NET 2, VS 2005 in a C# Web Application Project, we have an app which has a problem we have been trying to track  down for months without success.

    We use the report viewer control to generate rdlc reports which are displayed in a web form (RptHOClaimOne.aspx) and can the be exported to a PDF file or an Excel spreadsheet.  The standard fare.

    When certain users, all in the same organization, try to display the report, the error below is generated.  They see a custom error screen, are logged out of the application, and returned to the login page.  They log back in, rerun the report, and everything is fine from then on.

    I've posted the error below.

    I have also appended the relevant IIS log entries for:
    - The first pass, which generates the erro
    - The second pass when everything works
    - The third scenario where, for most users, everything works fine on the first pass.

    It looks like the call generating the error is, for some reason, formulated very differently for those not generating the error.



    Thanks
    Mike Thomas

    *** This is the error being reported ***

    TargetSite: Void PerformOperation(System.Collections.Specialized.NameValueCollection, System.Web.HttpResponse)

    FORM/PROC:

    Global.asax

    ERR MESSAGE:

    Missing URL parameter: Name

    STACK TRACE:

       at Microsoft.Reporting.WebForms.EmbeddedResourceOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response)
       at Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    *** Here are the IIS log entries  - I hope they can be viewed in Notepad or Wordpad with wrapping off ***

    2008-08-19 18:31:46 W3SVC2070740010 63.166.215.126 GET /RptHoClaimOne.aspx BackURL=RptSuClaim.aspx&OpenMode=Display 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 0
    2008-08-19 18:31:47 W3SVC2070740010 63.166.215.126 GET /Reserved.ReportViewerWebControl.axd OpType=Resource&Version=8.0.50727.42&Name=Icons.DocMap.gif 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
    2008-08-19 18:31:47 W3SVC2070740010 63.166.215.126 GET /Reserved.ReportViewerWebControl.axd OpType=Resource&Version=8.0.50727.42&Name=Icons.PrevPageDisabled.gif 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
    2008-08-19 18:31:47 W3SVC2070740010 63.166.215.126 GET /Reserved.ReportViewerWebControl.axd OpType=Resource&Version=8.0.50727.42&Name=Icons.PrevPage.gif 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
    2008-08-19 18:31:47 W3SVC2070740010 63.166.215.126 GET /WebResource.axd d=Qsaz1OgT1zVix9Has6AgLw2&t=633281622306875000 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 0
    2008-08-19 18:31:47 W3SVC2070740010 63.166.215.126 GET /Reserved.ReportViewerWebControl.axd OpType=Resource&Version=8.0.50727.42&Name=Icons.NextPage.gif 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
    2008-08-19 18:31:47 W3SVC2070740010 63.166.215.126 GET /Reserved.ReportViewerWebControl.axd OpType=Resource&Version=8.0.50727.42&Name=Icons.FirstPage.gif 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
    2008-08-19 18:31:47 W3SVC2070740010 63.166.215.126 GET /Reserved.ReportViewerWebControl.axd OpType=Resource&Version=8.0.50727.42&Name=Icons.FirstPageDisabled.gif 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
    2008-08-19 18:31:47 W3SVC2070740010 63.166.215.126 GET /Reserved.ReportViewerWebControl.axd OpType=Resource&Version=8.0.50727.42&Name=Icons.LastPage.gif 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
    2008-08-19 18:31:47 W3SVC2070740010 63.166.215.126 GET /Reserved.ReportViewerWebControl.axd OpType=Resource&Version=8.0.50727.42&Name=Icons.NextPageDisabled.gif 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
    2008-08-19 18:31:47 W3SVC2070740010 63.166.215.126 GET /Reserved.ReportViewerWebControl.axd OpType=Resource&Version=8.0.50727.42&Name=Icons.LastPageDisabled.gif 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
    2008-08-19 18:31:47 W3SVC2070740010 63.166.215.126 GET /Reserved.ReportViewerWebControl.axd OpType=Resource&Version=8.0.50727.42&Name=Icons.Refresh.gif 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
    2008-08-19 18:31:47 W3SVC2070740010 63.166.215.126 GET /Reserved.ReportViewerWebControl.axd OpType=Resource&Version=8.0.50727.42&Name=Icons.SpinningWheel.gif 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
    -- at this point- error encountered & user is returned to login page
    2008-08-19 18:31:47 W3SVC2070740010 63.166.215.126 GET /AppError.aspx - 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 0

    User is sent back to login screen, logs in again then runs report successfully as below.

    2008-08-19 18:32:18 W3SVC2070740010 63.166.215.126 GET /RptHoClaimOne.aspx BackURL=RptSuClaim.aspx&OpenMode=Display 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 0
    2008-08-19 18:32:18 W3SVC2070740010 63.166.215.126 GET /WebResource.axd d=Qsaz1OgT1zVix9Has6AgLw2&t=633281622306875000 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 0
    2008-08-19 18:32:19 W3SVC2070740010 63.166.215.126 GET /Reserved.ReportViewerWebControl.axd OpType=DocMapReport&ClientController=ClientControllerReportViewer1&ReportUrl=%2fReserved.ReportViewerWebControl.axd%3fMode%3dtrue%26ReportID%3dcd0c13536bc046c4bb5c326a15932d9b%26ControlID%3d46cb485f-bda1-47da-8ca2-c271fee52fde%26Culture%3d1033%26UICulture%3d1033%26ReportStack%3d1%26OpType%3dReportArea%26Controller%3dClientControllerReportViewer1%26PageNumber%3d1%26ZoomMode%3dPercent%26ZoomPct%3d100%26ReloadDocMap%3dtrue%26EnableFindNext%3dFalse%26LinkTarget%3d_top 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 0
    2008-08-19 18:32:19 W3SVC2070740010 63.166.215.126 GET /Reserved.ReportViewerWebControl.axd Mode=true&ReportID=cd0c13536bc046c4bb5c326a15932d9b&ControlID=46cb485f-bda1-47da-8ca2-c271fee52fde&Culture=1033&UICulture=1033&ReportStack=1&OpType=ReportArea&Controller=ClientControllerReportViewer1&PageNumber=1&ZoomMode=Percent&ZoomPct=100&ReloadDocMap=true&EnableFindNext=False&LinkTarget=_top 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 0
    2008-08-19 18:32:45 W3SVC2070740010 63.166.215.126 GET /WebResource.axd d=QT8LzpotVP1W9Z4qzR8mKA2&t=633281622306875000 80 - 192.158.61.143 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 1236

    User apparently views report and closes browser

    Error free on the first time around (most users)

    2008-08-19 20:16:49 W3SVC2070740010 63.166.215.126 GET /RptHoClaimOne.aspx BackURL=RptSuClaim.aspx&OpenMode=Display 80 - 10.3.189.52 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1)+;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.590;+.NET+CLR+1.1.4322;+.NET+CLR+3.0.04506.648;+.NET+CLR+3.5.21022;+MS-RTC+LM+8;+.NET+CLR+3.5.30428) 200 0 0
    2008-08-19 20:16:49 W3SVC2070740010 63.166.215.126 GET /WebResource.axd d=HHPNxqf41fkZJlFvf44ojg2&t=633281622306875000 80 - 10.3.189.52 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1)+;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.590;+.NET+CLR+1.1.4322;+.NET+CLR+3.0.04506.648;+.NET+CLR+3.5.21022;+MS-RTC+LM+8;+.NET+CLR+3.5.30428) 200 0 0
    2008-08-19 20:16:49 W3SVC2070740010 63.166.215.126 GET /WebResource.axd d=Qsaz1OgT1zVix9Has6AgLw2&t=633281622306875000 80 - 10.3.189.52 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1)+;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.590;+.NET+CLR+1.1.4322;+.NET+CLR+3.0.04506.648;+.NET+CLR+3.5.21022;+MS-RTC+LM+8;+.NET+CLR+3.5.30428) 200 0 0
    2008-08-19 20:16:50 W3SVC2070740010 63.166.215.126 GET /Reserved.ReportViewerWebControl.axd OpType=DocMapReport&ClientController=ClientControllerReportViewer1&ReportUrl=%2fReserved.ReportViewerWebControl.axd%3fMode%3dtrue%26ReportID%3d74cd10c6326d44b5b3f92fbe1cf664ca%26ControlID%3db57ab22b-c5ff-40a7-88b3-820d6ee3bdb8%26Culture%3d1033%26UICulture%3d1033%26ReportStack%3d1%26OpType%3dReportArea%26Controller%3dClientControllerReportViewer1%26PageNumber%3d1%26ZoomMode%3dPercent%26ZoomPct%3d100%26ReloadDocMap%3dtrue%26EnableFindNext%3dFalse%26LinkTarget%3d_top 80 - 10.3.189.52 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1)+;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.590;+.NET+CLR+1.1.4322;+.NET+CLR+3.0.04506.648;+.NET+CLR+3.5.21022;+MS-RTC+LM+8;+.NET+CLR+3.5.30428) 200 0 0
    2008-08-19 20:16:50 W3SVC2070740010 63.166.215.126 GET /Reserved.ReportViewerWebControl.axd Mode=true&ReportID=74cd10c6326d44b5b3f92fbe1cf664ca&ControlID=b57ab22b-c5ff-40a7-88b3-820d6ee3bdb8&Culture=1033&UICulture=1033&ReportStack=1&OpType=ReportArea&Controller=ClientControllerReportViewer1&PageNumber=1&ZoomMode=Percent&ZoomPct=100&ReloadDocMap=true&EnableFindNext=False&LinkTarget=_top 80 - 10.3.189.52 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1)+;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.590;+.NET+CLR+1.1.4322;+.NET+CLR+3.0.04506.648;+.NET+CLR+3.5.21022;+MS-RTC+LM+8;+.NET+CLR+3.5.30428) 200 0 0
    I am looking at report, then click the button to return to prev page
    2008-08-19 20:17:01 W3SVC2070740010 63.166.215.126 POST /RptHoClaimOne.aspx BackURL=RptSuClaim.aspx&OpenMode=Display 80 - 10.3.189.52 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1)+;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.590;+.NET+CLR+1.1.4322;+.NET+CLR+3.0.04506.648;+.NET+CLR+3.5.21022;+MS-RTC+LM+8;+.NET+CLR+3.5.30428) 200 0 0

    Thursday, August 21, 2008 2:52 PM

All replies

  • I'm not sure what's going on here yet... the URL contains extra encoding, but I don't see any reason why that would be the case.  Will you open an issue at http://connect.microsoft.com so that we can investigate this further?  It would also be helpful if you could include the HTML that is sent to the browser when viewing the page in the connect issue.

    Friday, August 22, 2008 1:10 AM
    Moderator
  • Many thanks for your reply.  I'll be happy to open a ticket.

    I am not sure what you mean by "It would also be helpful if you could include the HTML that is sent to the browser when viewing the page in the connect issue."

    Do you mean the raw HTML (the page source) of the form which calls the form which hosts the report? The form which actually hosts the report? (Since the app errors out before the form hosting the report can be displayed, I am not sure where to get this HTML).

    What do you  mean by "when viewing the page in the connect issue."?

    Many thanks for your help.
    Mike Thomas

    Friday, August 22, 2008 1:35 PM
  • Yes, I mean the page source from the browser.  Since the browser is making requests for all of the images, it must be receiving HTML for the page.  It sounds like it is being redirected to an error page immediately after, so you might need to get the HTML from an http trace rather than the "page source".

    As far as "when viewing the page in the connect issue" - I meant that it would be helpful to add the above mentioned HTML as an attachment when you create the issue on the connect website.
    Friday, August 22, 2008 3:56 PM
    Moderator
  • OK Brain, many thanks.

    Mike Thomas
    Friday, August 22, 2008 6:39 PM