Server error when viewing report


Badge +3

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 FilesK2 blackpearlWorkSpaceSiteReportDesignerReportWizardReportViewer.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 FilesK2 blackpearlWorkSpaceSiteReportDesignerReportWizardReportViewer.aspx:273
ASP.reportdesigner_reportwizard_reportviewer_aspx.__BuildControl__control10() in c:Program FilesK2 blackpearlWorkSpaceSiteReportDesignerReportWizardReportViewer.aspx:48
ASP.reportdesigner_reportwizard_reportviewer_aspx.__BuildControlTree(reportdesigner_reportwizard_reportviewer_aspx __ctrl) in c:Program FilesK2 blackpearlWorkSpaceSiteReportDesignerReportWizardReportViewer.aspx:1
ASP.reportdesigner_reportwizard_reportviewer_aspx.FrameworkInitialize() in c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filesworkspaced946cf18875d2c55App_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:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filesworkspaced946cf18875d2c55App_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


2 replies

Badge +2

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?


 

Badge +2

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

Reply