| steve.craver@gmail.com 2006-03-31, 7:05 pm |
| I'm actually posting the problem and solution to this issue, just in
case someone out there is experiencing the same issue and need
something else to try...
The Problem:
When trying to access a Crystal Report file via the ActiveX viewer in a
web browser, the screen would remain blank, and a small "x" would
appear in the upper left-hand corner of the window. The report opens
fine on a system that had Crystal installed on it.
Background Detail:
The reports are created on a developer's workstation, and then moved up
to a webserver for displaying purposes. The CR-XI viewer components
have been installed on the webserver.
The Discovery:
As it turns out, the reports in question were being pushed up to a site
on the webserver that was running seperately from the Default Website.
Because of this, the "crystalreportviewers11" virtual directory (which
is created automatically in the Default Website at the time of the
component installation) is not a part of the website structure that the
reports were residing in. Therefore, when a new client who had never
viewed a report via the ActiveX viewer tried to access one of these
reports, the website did not have a URL path to the ActiveX components
to send to the requesting client.
The Solution:
Create a "crystalreportviewers11" virtual directory for the Crystal
Report viewer files for the website in IIS, mimicing all of the
properties and settings of the "crystalreportviewers11" virtual
directory found under the Default Website.
Hope this saves some headaches for someone!
Steve C.
|