A Visual Studio .NET (VS .NET) web application references either version 9.1.5000 or 9.2.3300 of the 'crystalDecisions.Web' DLL.
When the VS .NET web application uses the Crystal Reports viewer control to preview a report that contains an image, the image appears as a red 'X'.
Why does the report image appear as a red 'X', and how can it be displayed successfully?
The report image appears as a red 'X' because the VS .NET web application is setup in the 'web.config' file to use 'Forms Authentication'. As a result the web application is unable to authenticate 'crystalimagehandler.aspx'.
To display the image successfully add the following code after the <system.web> tag in the 'web.config' file:
If the VS .NET web application is referencing 'crystaldecisions.web.dll' version 9.1.5000 then modify the 'web.config' file located in the 'CrystalReportWebFormViewer2' virtual directory.
If the VS .NET web application is referencing 'crystaldecisions.web.dll' version 9.2.3300 then modify the 'web.config' file located in the 'crystalreportviewers' virtual directory.
After modifying the 'web.config' file the images now appear when previewing the report in the VS .NET web application.
DOT NET DOTNET CRYSTALIMAGEHANDLER RESOURCE NOT FOUND MISSING Crystal Enterprise Report Application Server .NET Crystal Report Viewer Control Images do not appear , c2013824 , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem