Server error when viewing report

Last post 05-15-2008, 10:23 AM by frank. 2 replies.
Sort Posts: Previous Next
  •  05-09-2008, 3:25 PM 23748

    Server error when viewing report

    I get following error viewing the report that I just created. Please helppp.

     

    Server Error in '/Workspace' Application.

    Could not load type 'Microsoft.Reporting.WebForms.IReportServerConnection2' from assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

    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.TypeLoadException: Could not load type 'Microsoft.Reporting.WebForms.IReportServerConnection2' from assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

    Source Error:

    Line 271:                                                <div style="overflow:hidden; height: expression(document.documentElement.offsetHeight-100);
    Line 272:                                                    width: expression(document.documentElement.clientWidth - 15)" id="rptDisplay" asyncrendering="false">
    Line 273:                                                    <rsweb:ReportViewer LinkActiveColor="Blue" ID="ReportViewer1" runat="server" DocumentMapCollapsed="True"
    Line 274:                                                        ShowParameterPrompts="True" ShowCredentialPrompts="true" OnDrillthrough="ReportViewer1_Drillthrough"
    Line 275:                                                        BorderStyle="None" ShowFindControls="false" ShowPrintButton="false" ShowZoomControl="false"

    Source File: c:\Program Files\K2 blackpearl\WorkSpace\Site\ReportDesigner\ReportWizard\ReportViewer.aspx    Line: 273

    Stack Trace:

    [TypeLoadException: Could not load type 'Microsoft.Reporting.WebForms.IReportServerConnection2' from assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.]
       System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0
       System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +78
       System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58
       System.Type.GetType(String typeName) +48
       Microsoft.Reporting.WebForms.ConfigFilePropertyInterface`1.EnsurePropertyLoaded() +65
       Microsoft.Reporting.WebForms.ConfigFilePropertyInterface`1.GetInstance() +17
       Microsoft.Reporting.WebForms.ReportViewer.CreateServerReport() +38
       Microsoft.Reporting.WebForms.ReportViewer..ctor() +178
       ASP.reportdesigner_reportwizard_reportviewer_aspx.__BuildControlReportViewer1() in c:\Program Files\K2 blackpearl\WorkSpace\Site\ReportDesigner\ReportWizard\ReportViewer.aspx:273
       ASP.reportdesigner_reportwizard_reportviewer_aspx.__BuildControl__control10() in c:\Program Files\K2 blackpearl\WorkSpace\Site\ReportDesigner\ReportWizard\ReportViewer.aspx:48
       ASP.reportdesigner_reportwizard_reportviewer_aspx.__BuildControlTree(reportdesigner_reportwizard_reportviewer_aspx __ctrl) in c:\Program Files\K2 blackpearl\WorkSpace\Site\ReportDesigner\ReportWizard\ReportViewer.aspx:1
       ASP.reportdesigner_reportwizard_reportviewer_aspx.FrameworkInitialize() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\workspace\d946cf18\875d2c55\App_Web_u-kr44kk.0.cs:0
       System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +38
       System.Web.UI.Page.ProcessRequest() +86
       System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
       System.Web.UI.Page.ProcessRequest(HttpContext context) +49
       ASP.reportdesigner_reportwizard_reportviewer_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\workspace\d946cf18\875d2c55\App_Web_u-kr44kk.0.cs:0
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

  •  05-09-2008, 5:10 PM 23751 in reply to 23748

    Re: Server error when viewing report

    It appeared to be an installation issue of Microsoft Report Viewer Redistributable 2005 SP1.  Did you install the full version or upgrade version?  What is the URL you downloaded Microsoft Report Viewer Redistributable 2005 SP1?

     


    HTH,
    Frank

    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
  •  05-15-2008, 10:23 AM 23828 in reply to 23748

    Re: Server error when viewing report

    Please try to download and install the upgrade version of Microsoft Report Viewer 2005 Sp1

     at http://www.microsoft.com/downloads/details.aspx?FamilyId=35F23B3C-3B3F-4377-9AE1-26321F99FDF0&displaylang=en

    Frank


    HTH,
    Frank

    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
View as RSS news feed in XML