Crystal Report导出按钮不起作用 [英] Crystal Report Export button Not Working

查看:86
本文介绍了Crystal Report导出按钮不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用Crystal报表在ASP.Net应用程序中显示报表.我正在使用Crystal Report Viewer来显示报告.

在Crystal Report查看器的工具栏中,我们有一个导出" 按钮.当我单击时,出现一个弹出窗口,以选择要导出的格式,同时我发现我的报告(ReportViewer)为空(未显示)并说加载报告失败".

甚至我继续执行该弹出窗口并选择"Excel" 格式.它显示了系统找不到指定的路径" 错误.


我应在哪里指定导出该报告的路径?它没有显示任何对话框来选择报告的保存位置.
但是我需要在没有任何外部.aspx控件的情况下将其导出.

请帮帮我.

Hi,

I am using Crystal report for showing report in my ASP.Net application. I''m using Crystal report viewer for showing reports.

Here in Crystal Report viewer''s toolbar we have an "Export" button. While i click, i got an Popup, to choose the format to export at the same time i found my report(ReportViewer) is empty(Not showing) and says "Load Report Failed".

Even i continue with that popup and choose "Excel" format. It shows "System cannot find the Path Specified" Error in my Popup.


Where should i specify the path for export that report?? It doesn''t shows any dialog to pick the save location for my report.
But i need to export it without any external .aspx controls.

Please help me out.

推荐答案

ASP.NET的Crystal Reports工具栏导出和打印功能由javascript函数驱动.您收到的错误是因为服务器上不存在javascript文件.

您的问题的解决方案是:

copy the ''aspnet_client'' folder from ''C:\Inetpub\wwwroot'' to ''C:\Inetpub\wwwroot\your-website-name''.

希望对您有所帮助:)
The Crystal Reports toolbar export and print functions for ASP.NET are driven by javascript functions. The error you are receiving is because the javascript files are not present on the server.

The solution to your problem is:

copy the ''aspnet_client'' folder from ''C:\Inetpub\wwwroot'' to ''C:\Inetpub\wwwroot\your-website-name''.

hope it helps :)


这篇关于Crystal Report导出按钮不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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