【图表区FAQ】水晶报表Crystal Reports 常见问题解答索引
待整理。
欢迎大家跟帖提供,可以使代码文字,也可以使链接。
我将整理到主贴中。
本帖不回答提问,请注意秩序,谢谢。
[解决办法]
参考
[解决办法]
占楼学习!
[解决办法]
占楼学习!
[解决办法]
这里有好多,
http://bbs.bbs180.com/showforum-18.aspx
[解决办法]
顶顶顶!
[解决办法]
最好分们别类的整理
分为asp asp.net jsp 板块的
最好有实例可以参考 模仿
[解决办法]
关注学习。
[解决办法]
1.Printcontrol.dll failed to register on install.
Issue
So, you are trying to install Report Viewer, and you get the message that printcontroll.dll failed to register, and at the same time, the whole install fails.
Resolution
Your computer does not have the Microsoft C Runtime Library, a collection of low level functions that most programs require. To install the software successfully, you need to find a copy of msvcr70.dll and msvcr71.dll, or msvcr80.dll. Google might be able to help you with that. Get those files, and copy them into the C:\\Window\system32\ folder, and the program will install without issue.
2.Report Viewer Won't Load Reports
Issue
The Report Viewer installs the Crystal Reports runtime to run reports. It is reported that if you install another report viewer, from another company, it will install another Crystal Reports runtime package. This may be an older, out-of-date, install, or one that is not compatible with the Report Viewer from ReportViewer.biz. When you then try to run a report with ReportViewer.biz, the report may not load, giving an error message that says, "Report failed to load."
Resolution
Uninstalling the competing software, and reinstalling the Report Viewer from ReportViewer.biz should solve this issue.
3."Toggle Parameter Panel" does not work. Shows blank parameters.
Issue
The "Toggle Parameter Panel" does not show parameters. Parameters are still shown when report is refreshed.
Resolution
The "Toggle Parameter Panel" is a new feature of Crystal Reports 2008. If your report was not created using Crystal Reports 2008, then this feature will not show parameters in the toggle panel. Your reports will still run with our software. Your parameters are still in the report, will show when you refresh, and are available to formulas. If you would like to take advantage of the "Toggle Parameter Panel," then you must build your reports with Crystal Reports 2008.
[解决办法]
4."Failed to open the connection" message box is shown on report open or refresh.
You try to open or refresh data on a report, and get a message box simular to the following message:Failed to open the connection
Resolution
Make sure you computer has access to the data sources required by the report. If the connection is not an ODBC connection, make sure the check box on the front of the Report Viewer that says, "Use Report Settings," is checked and the data source connection has the same name on the computer as it does in the report. If it is an ODBC connection, and it does not have the same exact name as the connection set in the report, then, before you open the report, uncheck the check box that says, "Use Report Settings," and select the connection that should be used from the list of connections.
Examples
You will get this message if someone builds a Crystal Report on their computer that accesses the companies sales server and a Excel spreadsheet on the local computer. The report is then given to a sales person to run. The viewer on the sales persons computer won't be able to access the data source in the Excel spread sheet on the managers computer, and it will throw this error.
Another example of a setup that will cause this error is if your data is an XML source on a remote webserver, but your computer doesn't have Internet access.
Another example is if your ODBC data source has a different name on the computer that created the report, from the computer that is running the report. In this case, you will want uncheck the check box that says "Use Report Settings," and select the correct connection for the viewer to use.
5.The exception unknown software exception (0xe06d7363) occured in the application on program exit.
Issue
After viewing a report with an XML data source on a remote web server, you close the Report Viewer application and get the message "the exception unknown software exception (0xe06d7363) occurred in the application."
Resolution
This error does not cause any harm or data loss. Business Objects, the creator of Crystal Reports knows about this error, and it is to be fixed.
The problem is, the Crystal Reports viewer form for Windows doesn't have a graceful way to close http or Internet data connections, so Windows closes the connection when the form closes, and throws this message. It is not something that ReportViewer.biz can change. Business Objects knows of this problem, and they say they are working to fix it. You can work around this problem, as no harm is being done to the system, and no connections are being left open. If it is an annoyance, then please contact Business Objects and ask them to quickly fix this problem.
Again, we suggest that you just live with this message for the time being.
6.I modify the page size, but it doesn't reflect my changes in Report Viewer.
Issue
You set a report to display in landscape but the report shows in Report Viewer in the portrait layout. Or, you change the size of the report, but the size changes are not reflected.
Resolution
First, if you are using Crystal Reports 2008 to create your reports, you will have to uncheck the check box that says "dissociate formatting page size and printer paper size" in the page setup dialog, and then resave your report. You can find this dialog after opening your report in Crystal Reports 2008. Go to the file menu, and then select the page setup dialog. This is an issues known and reported by Business Objects. They may fix this in future service packs.
Also, page setups in Crystal Reports are generally tied to printers. If the default printer installed on your computer does not support a specific layout, you may not be able to change the report to that layout using the viewer.
You may need to view the report in the standard layout, and then modify it before you print, using the Windows Print Dialog.
We are currently working on a change to allow users to input custom report sizes. It will be available in the next major release.
[解决办法]
暂时还没找到比较好的解决方法的问题
Invalid export options.
Issue
当报表生成Html格式文件的时候,报如下错误:
CrystalDecisions.Shared
at CrystalDecisions.CrystalReports.Engine.EngineExceptionUtils.DoThrowException(String message, EngineExceptionErrorID id)
at CrystalDecisions.CrystalReports.Engine.ExceptionThrower.ThrowEngineException(String messageID, EngineExceptionErrorID id)
at CrystalDecisions.CrystalReports.Engine.HTMLExporter.GetPage(Boolean bSeparatePages, Boolean bDHTML, Int32 startPage, Int32 endPage)
at CrystalDecisions.CrystalReports.Engine.HTMLExporter.Export()
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
at CRS.Report.WinService.HtmlDocument.GenerateSingleFile(Int32 rptId, Int32 entityId)
网友的一种解决方式,但不太好:you can got it working by copying the folder from wwwroot directory and put into a different directory like c:\ then recreate the virtual directory. But i don’t want to do it this way coz it needs manual intervention.
如果有好的办法请帖出来。
[解决办法]
VS2003下的水晶报表交叉表的某一行数据内容比较长时不能自动换行的问题要如何解决? 现在的在做的时候每次都要将行的高度设成两行高,但这样又比较浪费纸张,谢谢!
[解决办法]
记号