使用asp.net 3,5报告查看器错误

时间:2009-07-13 12:24:44

标签: c# asp.net reportviewer

我正在用c#工作视觉工作室。 我有一个网页,它有一个像这样的ReportViewer:

<rsweb:ReportViewer ID="rvCinsiyeteGoreHastaSayisi" runat="server" 
    Font-Names="Verdana" Font-Size="8pt" Height="400px" Width="400px">
    <LocalReport ReportPath="RptCinsiyeteGoreHastaSayisi.rdlc">
        <DataSources>
            <rsweb:ReportDataSource DataSourceId="odCinsiyeteGoreHastaSayisi" 
                Name="DsCinsiyeteGoreHastaSayisi_spCinsiyeteGoreHastaSayisi" />
        </DataSources>
    </LocalReport>
</rsweb:ReportViewer>
<asp:ObjectDataSource ID="odCinsiyeteGoreHastaSayisi" runat="server" 
    SelectMethod="GetData"         
    TypeName="MedulaRaporlari.DataSet.DsCinsiyeteGoreHastaSayisiTableAdapters.spCinsiyeteGoreHastaSayisiTableAdapter" 
    OldValuesParameterFormatString="original_{0}">
</asp:ObjectDataSource>

当我启动网页并且无法查看时,会抛出一个javascript异常。

Exceptin是:“ReportViewerHoverButton未定义”。而且,报告查看器的所有组件都抛出了这个异常。