none
Report Viewer returns Object reference not set to an instance of an object RRS feed

  • Question

  • Hi,

    I am using Report Viewer in my project ... when i put

    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
      Font-Size="8pt" Height="400px" Width="400px">
      <LocalReport ReportPath="Report1.rdlc">
        <DataSources>
          <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" 
            Name=""
        </DataSources>
      </LocalReport>
    </rsweb:ReportViewer>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
      SelectMethod="GetData" 
      TypeName="">
    </asp:ObjectDataSource>

    It return Object refrence error...

     

    Is there any configuration needed(Any entry in web.config)...

    or anyt thing else

     

    Thanks

     

    Friday, May 28, 2010 6:17 AM