Soniya Wadhwa

Soniya Wadhwa

  • NA
  • 46
  • 32.4k

'Microsoft.ReportViewer.WebForms

Jun 15 2009 11:08 AM


I build a website and i am currently using VS2008 and .Net FW 2.0. I am using Microsoft ReportViewer to create reoprts.
Everything works fine on my local machine but when i deploy it on production server i get the following error
"Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified."
when i checked references from View->PropertyPages->References it shows the 'Microsoft.ReportViewer.WebForms is located in GAC.
how can i make it accesible on the production server?it gives me Parser error on Production server.
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
on the page -

<%
@ Page Language="VB" MasterPageFile="~/Default.master" Title="NCR Report" %>
<%
@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<%
@ Import Namespace = "System.Data" %>
<%
@ Import Namespace = "System.Data.SqlClient" %>
any urgent help would be really appreciated !!!
thanks in advance,
Soniya.


Answers (1)