ReportViewer control failure on web deploymenthttp://forums.asp.net/t/989093.aspx/1?ReportViewer+control+failure+on+web+deploymentSat, 30 Dec 2006 12:05:44 -05009890931280810http://forums.asp.net/p/989093/1280810.aspx/1?ReportViewer+control+failure+on+web+deploymentReportViewer control failure on web deployment <span>&nbsp;<font face="Verdana" style="background-color:#ffffff">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:</font> <h1>Server Error in '/' Application. <hr width="100%" color="silver" size="1"> </h1> <h2><i>Parser Error</i> </h2> </span><font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><b>Description: </b>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. <br> <br> <b>Parser Error Message: </b>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.<br> <br> <b>Source Error:</b> <br> <br> <table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td><pre class="prettyprint"><pre>Line 1: &lt;%@ page autoeventwireup=&quot;true&quot; inherits=&quot;Reports_Transactions, App_Web_kh7isrnk&quot; language=&quot;C#&quot; masterpagefile=&quot;~/MasterPages/Default.master&quot; title=&quot;Police Pawn Shop - Transactions&quot; theme=&quot;Default&quot; %&gt;</pre> Line 2: &lt;%@ register assembly=&quot;Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; Line 3: namespace=&quot;Microsoft.Reporting.WebForms&quot; tagprefix=&quot;rsweb&quot; %&gt; Line 4: <pre></pre></pre></TD></TR></TBODY></TABLE><BR><B><FONT face=Verdana>Source File: </FONT></B>/Reports/Transactions.aspx<B><FONT face=Verdana> &nbsp;&nbsp; Line: </FONT></B>2 <BR><BR><B><FONT face=Verdana>Assembly Load Trace:</FONT></B> 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.<BR><BR> <TABLE width="100%" bgColor=#ffffcc> <TBODY> <TR> <TD><pre class="prettyprint"><PRE>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]. </PRE></pre></td> </tr> </tbody> </table> <p><br> </p> <p></p> <hr width="100%" color="silver" size="1"> <p></p> <p><b><font face="Verdana">Version Information:</font></b>&nbsp;Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 </p> <p>&nbsp;</p> <p></font><font face="Verdana">From the research I've already done, I know that the server is missing the following&nbsp;three key dll's because Visual Studio 2005 was not installed:</font></p> <p><font face="Verdana">Microsoft.ReportViewer.Common.dll<br> Microsoft.ReportViewer.WebForms.dll<br> Microsoft.ReportViewer.ProcessingObjectModel.dll</font></p> <p><font face="Verdana">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?</font></p> 2006-05-09T18:39:27-04:001284633http://forums.asp.net/p/989093/1284633.aspx/1?Re+ReportViewer+control+failure+on+web+deploymentRe: ReportViewer control failure on web deployment I found the solution. Microsoft offers a redistributable package designed to do exactly what I need. Get it at:<br> <br> http://www.microsoft.com/downloads/details.aspx?familyid=8a166cac-758d-45c8-b637-dd7726e61367&amp;displaylang=en<br> <br> <br> 2006-05-12T19:54:06-04:001383045http://forums.asp.net/p/989093/1383045.aspx/1?Re+ReportViewer+control+failure+on+web+deploymentRe: ReportViewer control failure on web deployment <p>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?</p> <p>&nbsp;Thanks</p> 2006-08-28T21:02:11-04:001506962http://forums.asp.net/p/989093/1506962.aspx/1?Re+ReportViewer+control+failure+on+web+deploymentRe: ReportViewer control failure on web deployment You may download the SQL report add_in for VWD from <a class="" href="http://msdn.microsoft.com/vstudio/express/vwd/download/"> here</a>. 2006-12-22T19:31:51-05:001508368http://forums.asp.net/p/989093/1508368.aspx/1?Re+ReportViewer+control+failure+on+web+deploymentRe: ReportViewer control failure on web deployment <p>hi all,</p> <p>how do i check if Report Viewer has been installed in the pc that i want to deploy my website project to?</p> <p>i've added launch condition for Framework 2.0 but what condition can i put for Report Viewer? please help..</p> <p>Thanks!</p> 2006-12-26T01:34:15-05:001513250http://forums.asp.net/p/989093/1513250.aspx/1?Re+ReportViewer+control+failure+on+web+deploymentRe: ReportViewer control failure on web deployment <blockquote><span class="icon-blockquote"></span> <h4>DiverMarv</h4> <p>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?</p> <p>&nbsp;Thanks</p> <p></p> </blockquote> <p></p> <p>&nbsp;&nbsp;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!!</p> 2006-12-30T12:05:44-05:00