使用reportviewer显示报告 [英] displaying report using reportviewer

查看:63
本文介绍了使用reportviewer显示报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I had designed report using reportviewer. When I am running it on local machine its working fine but after uploading website its not working

so please guide me how to upload report on server.

my reportveiwer design is 







<rsweb:ReportViewer ID="ReportViewer1" runat="server" Width="800px"

        Font-Names="Verdana" Font-Size="8pt" InteractiveDeviceInfos="(Collection)"

        WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" ShowPrintButton="true" ShowExportControls="true" ShowBackButton="false">
    <LocalReport ReportPath="Report1.rdlc">
        <DataSources>
            <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" Name="DataSet1" />
        </DataSources>

    </LocalReport>

</rsweb:ReportViewer>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server"

        SelectMethod="GetData" TypeName="doctorTableAdapters.regdoctorTableAdapter">
    </asp:ObjectDataSource>

推荐答案

嗨Ravi_Kant,

通过查看错误,我想您在本地计算机和服务器上使用的Crystal报表版本之间可能存在版本冲突。

检查服务器上是否存在水晶报告,还检查本地计算机和服务器上的水晶报告版本是否相同。



-

谢谢
Hi Ravi_Kant,
By looking your error , I guess that there might be version conflict between crystal report version that you are using on your local machine and server .
Check crystal report is present there on server or not and also check crystal report's version on your local machine and your server whether they are same.

--
Thanks


这篇关于使用reportviewer显示报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆