I've recently added the ReportViewer control to my my web application. Everything works just dandy while running on my development machine, but I receive the following error when the site is published
to our development server:
Server Error in '/' Application.
Parser Error
Description:
An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Line 2: <%@ register assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Line 3: namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>
Line 4:
Source File: /Reports/Transactions.aspx Line: 2
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
From the research I've already done, I know that the server is missing the following three key dll's because Visual Studio 2005 was not installed:
Without installing Visual Studio 2005 on this server, which would install these dll's, is there any easy way to get these required dll's installed into the GAC on my development server?
I've ran into this problem as well. I've tried downloading the item you posted the link to, but it did not help. Any idea how I can force the install of these dlls?
I've ran into this problem as well. I've tried downloading the item you posted the link to, but it did not help. Any idea how I can force the install of these dlls?
Thanks
This didn't work for me at first either. I rebooted the server and it all works now! I've searched so long for this answer! Thank you ecbruck!!
ecbruck
All-Star
98783 Points
9691 Posts
Moderator
ReportViewer control failure on web deployment
May 09, 2006 06:39 PM|LINK
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.Parser Error Message: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Source Error:
Source File: /Reports/Transactions.aspx Line: 2
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
From the research I've already done, I know that the server is missing the following three key dll's because Visual Studio 2005 was not installed:Microsoft.ReportViewer.Common.dll
Microsoft.ReportViewer.WebForms.dll
Microsoft.ReportViewer.ProcessingObjectModel.dll
Without installing Visual Studio 2005 on this server, which would install these dll's, is there any easy way to get these required dll's installed into the GAC on my development server?
Microsoft MVP - ASP.NET
ecbruck
All-Star
98783 Points
9691 Posts
Moderator
Re: ReportViewer control failure on web deployment
May 12, 2006 07:54 PM|LINK
http://www.microsoft.com/downloads/details.aspx?familyid=8a166cac-758d-45c8-b637-dd7726e61367&displaylang=en
Microsoft MVP - ASP.NET
DiverMarv
Member
165 Points
34 Posts
Re: ReportViewer control failure on web deployment
Aug 28, 2006 09:02 PM|LINK
I've ran into this problem as well. I've tried downloading the item you posted the link to, but it did not help. Any idea how I can force the install of these dlls?
Thanks
Divermarv@hotmail.com
Cold Fusion Developer, soon to be .Net Developer
JimmyM
Star
8796 Points
1671 Posts
Re: ReportViewer control failure on web deployment
Dec 22, 2006 07:31 PM|LINK
basketcase
Member
142 Points
36 Posts
Re: ReportViewer control failure on web deployment
Dec 26, 2006 01:34 AM|LINK
hi all,
how do i check if Report Viewer has been installed in the pc that i want to deploy my website project to?
i've added launch condition for Framework 2.0 but what condition can i put for Report Viewer? please help..
Thanks!
wil2liv
Member
3 Points
1 Post
Re: ReportViewer control failure on web deployment
Dec 30, 2006 12:05 PM|LINK
This didn't work for me at first either. I rebooted the server and it all works now! I've searched so long for this answer! Thank you ecbruck!!