Symptom
When viewing a report in a Visual Studio .NET 2005 Web application using assemblies from Crystal Reports 2008 (version 12.0.2000.0) the web page comes up blank. At the bottom left corner of the page a message is displayed:
"Done, but with errors on page".
Double-clicking the message causes an Internet Explorer error message to appear:
"bobj is undefined".
Cause
The page displays blank because of one of the following reasons:
- Missing crystalreportviewers12 folder
- Missing virtual directory for the crystalreportviewers12 directory
The folder must be under the aspnet_client\system_web\2_0_50727\crystalreportviewers12 folder, and a virtual directory pointing to this folder must exist under the web site.
NOTE: This is only the case with Crystal Reports 2008.
Resolution
Complete these steps depending on whether you are using the default or custom web site in IIS:
Default web site
- If the folder does not exist, reinstall Crystal Reports 2008 or the installation package built with the merge modules.
- If the virtual directory does not exist under the default web site, create it in IIS and point it to the crystalreportviewers12 folder.
- OR -
Custom web site
- Copy the crystalreportviewers12 folder from aspnet_client\system_web\2_0_50727 to the directory of the custom web site.
- In IIS, under the custom website, create a virtual directory pointing to the crystalreportviewers12 folder in the directory of the custom web site.
See Also
For Crystal Reports XI Release 2 the report is displayed but red 'X's are displayed instead of a toolbar. For Crystal Reports XI Release 2 please see Business Objects Note 1196815.
Keywords
blank 2008 page empty net web bobj java error 2005 viewer crystalreportviewers12 , 1657078 , KBA , BI-DEV , Business Intelligence Software Development Kits (SDKs) , How To
Product
Crystal Reports 2008 V0