Click here to Skip to main content
15,889,728 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have error in asp.net project..in localhost i insert the reportviewer my project can still debug.after i upload the at server i have a error at reportviewer,,

anybody can helpme, :doh:
Posted
Comments
Sandeep Mewara 16-Feb-11 11:01am    
What error?
jai7486 17-Feb-11 3:10am    
This my error :
<add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

I hope u can help me.Plese..........
Monjurul Habib 16-Feb-11 14:48pm    
please share your code and specify the error to help you out.
jai7486 17-Feb-11 3:14am    
This Error in Web Configuration on web Hosting :

<add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

This Code at Data Source Project :

<%@ Page Language="VB" MasterPageFile="~/reports/RegistrationReport/RegistrationRptMP.master" AutoEventWireup="false" CodeFile="registrationreports.aspx.vb" Inherits="reports_RegistrationReport_registrationreports" title="Untitled Page" %>

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="height: 447px; background-color: #FFFFFF">
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Width="100%"
Font-Names="Verdana" Font-Size="8pt" Height="400px" BorderStyle="Solid"
ProcessingMode="Remote">
<localreport>
<datasources>
<rsweb:reportdatasource datasourceid="ObjectDataSource1"
="" name="RegisterDataSet_tblRegistrationStudent">



<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
SelectMethod="GetData"
TypeName="DataSet1TableAdapters.tblRegistrationStudentTableAdapter"
OldValuesParameterFormatString="original_{0}">
</asp:ObjectDataSource>
</div>
</asp:Content>

1 solution

Looks like you are trying to use ReportViewer version 9.0.0.0 (which is referenced in Web.config) but the DLL might be missing on the system where you are trying to use it. Please make sure that the version of reportviewer are same and present.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900