WinForm部分
1--Err Msg: "Export Failed" in .NET WinForm Viewer on Windows 98 and ME
http://support.businessobjects.com/library/kbase/articles/c2012350.asp
This issue occurs because the initialization function of the WinForm Viewer does not accept Windows 98 and ME.
This is a known issue with Crystal Reports (CR) version 9.0 and has been tracked. The Track/Problem ID is: ADAPT00123645.
![](/Images/OutliningIndicators/None.gif)
2--Err Msg: "Invalid export.dll" when exporting from a .NET application(非常常见,还有报.tmp错误)
http://support.businessobjects.com/library/kbase/articles/c2013247.asp
This error occurs because the computer could not find Msvcp60.dll. The computer contains version 1.1 of the .NET framework (this version of the .NET framework does not install Msvcp60.dll to the system32 folder).
To resolve this issue and export the report successfully, move Msvcp60.dll to the application directory. 3--Err Msg: "Missing parameter value" when printing or exporting in VS .NET(丢失参数)
http://support.businessobjects.com/library/kbase/articles/c2012633.asp
This error message appears because the parameter values are only being passed to the CrystalReportViewer control, and not to the ReportDocument object (engine).
The ReportDocument object (engine) is responsible for passing parameter values when printing and exporting.
To successfully set the parameter values when you preview, print and export the report, you must pass the parameter values to the ReportDocument object (engine).
![](/Images/OutliningIndicators/None.gif)
4--SetDatabaseLogon method does not propogate logon to subreports(子报表不能享受父报表的登录信息)
This is a known issue with Crystal Reports (CR) for Visual Studio (VS) .NET and Crystal Reports (CR) version 9.0 and has been tracked. The Track/Problem ID is: ADAPT00131766.
Hot Fix updates addressing this issue are available as indicated below. With the updates, the logon is now explicitly propagated to all subreports, even if the subreport tables do not share connections with the main report tables.
WebForm部分
1--Cannot print or export a report from Web Forms Viewer in Visual Studio .NET(不能导出报表)
http://support.businessobjects.com/library/kbase/articles/c2011964.asp
This is a known issue and has been tracked. The Track ID is ADAPT00118286.
You cannot access the export or print page if the current web form (containing the Web Forms Viewer) was opened as a result of redirect from another web page using parameters on the URL string.
For example, a URL with parameters looks like:
HTTP://servername/myform.aspx?myparam=123
If the URL with parameters is concatenated onto the URL to perform the print or export function, the resulting URL containing two question marks becomes invalid.
For example, the following URL contains two question marks
HTTP://servername/myform.aspx?myparam=123?_EVENTTARGET=CrystalReportViewer:_ctl1:_ctl0:_ctl1&__EVENTARGUMENT=Form1
To resolve this issue, do not use parameters on the URL string used to open the current web form.
Instead, use the Post method to pass parameters to another form. This will not result in the parameters showing on the URL. Then use Request.Form("myparam") to retrieve the parameters passed from the initial web page.
![](/Images/OutliningIndicators/None.gif)
2--Exporting through the .NET web viewer only generates the first page(只导出第一页)
http://support.businessobjects.com/library/kbase/articles/c2013264.asp
This is a known issue with Crystal Reports (CR) 9 and has been tracked. The Track/Problem ID is: ADAPT00161234.
Hot Fix updates addressing this issue are available as indicated below. With the updates, the entire report is now exported
. 3--网页上有其他Web控件的时候不能导出
4--Err Msg: "Load Report Failed" when exporting to PDF from an ASP.NET application
http://support.businessobjects.com/library/kbase/articles/c2014432.asp
To resolve this error message, give the Internet Information Services Worker Process Group (IIS_WPG) account full control of the following folders:
• C:Winnt emp
• Export destination folder
To give the IIS_WPG account full control of a folder:
1. Right-click the folder and select 'Properties'.
2. Go to the 'Security' tab and click the 'Add' button.
3. Click the 'Locations' button and select the computer name. Click 'OK'.
4. Type "IIS_WPG" under the 'Enter the object names to select' box.
5. Click 'Check Names'. <Your machine name>IIS_WPG appears. Click 'OK'.
6. Check 'Full Control' from 'Permissions for IIS_WPG'. Click 'OK'.
![](/Images/OutliningIndicators/None.gif)
5--Parameter values are ignored when printing or exporting from Web Forms Viewer(参数在导出时候被忽略了)
http://support.businessobjects.com/library/kbase/articles/c2011912.asp
This is a known issue with Crystal Reports (CR) Developer and Advanced Editions version 9 and has been tracked. The Track/Problem ID is: ADAPT00116008.
A Hot Fix update addressing this issue is available as indicated below. With the updates, the CR .Net Web component has been modified to set the correct report state upon printing and exporting. This results in the Web Form Viewer properly recognizing the selection formula.
If you do not want to apply the file update, you can work around this issue by creating your own Print and Export command buttons. Instructions are included in the technical brief, Crnet_web_app_printing.pdf. To download the file, search for "Crnet_web_app_printing.pdf" at:
http://support.crystaldecisions.com/docs
![](/Images/OutliningIndicators/None.gif)
6--Err Msg: "Access Denied" when viewing an ASP .NET report
http://support.businessobjects.com/library/kbase/articles/c2014353.asp
The error message appears because the ASP .NET account used does not have the proper permissions for the report's dynamic image directory.
![](/Images/OutliningIndicators/None.gif)
Work around for the "Access Denied" error
_________________________________________
1. Ensure the reports dynamic images are written to the proper virtual directory.
2. In Microsoft's Internet Information Server Manager (IIS) 6, locate the 'Application Pool' folder that references your ASP application.
3. Right-click the 'Application Pool' folder and select 'Properties'.
4. In the 'Properties' window select the 'Identity' tab.
5. In the 'Identity' tab Drop-down list box, select the 'Local System' account. Click the 'OK' button and close the 'Properties' window.
6. Restart the IIS server.
7. To restart the IIS server, right-click the ASP application's 'Application Pool' folder. Click the 'Stop' button. Click the 'Start' button.
Additional Information:
The virtual directory 'CrystalReportWebFormViewer' is used when creating images to display the report. The virtual directory has the default path of:
C:program filesmicrosoft visual studio .netcrystal reportsviewersimages
![](/Images/OutliningIndicators/None.gif)