For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Crystal Reports > March 2006 > Crystal Reports XI not prompting for ActiveX download









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Crystal Reports XI not prompting for ActiveX download
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.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com