Go Premium for a chance to win a PS4. Enter to Win


CR ActiveX viewer doesn't load on client computer

Posted on 2006-11-01
Medium Priority
Last Modified: 2010-04-06
I've gone through multiple KB articles and tried everything I can think of, but I cannot get a client machine to load the "Crystal Smart Viewer for ActiveX" using CR XI on a windows 2003 web server and windows XP Pro client computer.

I have set up the viewers folder to be a virtual directory which is located at E:\Program Files\Common Files\Business Objects\3.0\crystalreportviewers11 on the web server.  I have checked security permissions and added IUSR and everyone just in case with full permisions.

When I try to access the report from a client machine which does not have Crystal Reports installed on it all I see is a plain gray window with a smal box with a red X in the middle of it in the upper left corner fo the Internet Explorer window.

I have checked the client computer for any previous versions of the crviewer and there are none.  When looking at the KB article found here - http://support.crystaldecisions.com/library/kbase/articles/c2004405.asp it says to -

8. If the issue continues to persist on the client computer, browse to the ActiveXViewer.cab file that resides on the server from the client computer using a URL similar to the following:

HTTP://<Your Server Name>/Viewer/ActiveXViewer/ActiveXViewer.cab

If you are prompted to download the file, then the communication path between the server and the client is working as expected. However, if you are not prompted to download this file, consult your Network Administrator for more information.

When I check the above URL all I receive is a page cannot be displayed error so my guess is that the path between the server and the client is not working correctly... any thoughts, thank you.

Question by:WJM

Author Comment

ID: 17852839
Correction, I have verified that the HTTP://<Your Server Name>/Viewer/ActiveXViewer/ActiveXViewer.cab is prompting me to download a file, so the path is working fine; however, the client computer will not install the ActiveX viewer, I know this because I can find no previous version of crviewer on the client machine and no current version either after I try to access the crystal report from the website, I have checked my Internet security settings and everything is set to allow activeX content so I am at a loss here...
LVL 42

Expert Comment

ID: 17853140
Check the download settings in Internet Explorer also.  Even if all of the Active-X settings are set to 'Allow' or 'Prompt', it won't help if the download settings are blocking it.

Also, make sure you're looking at the settings that match the zone you have classified.  You might want to set *.yourserver.com as a trusted site to make this process easier.

Author Comment

ID: 17853197
I have the download settings in IE under security > custom settings all set to enable, I had also added the site to my trusted sites and yet it still does not work...  I have also tried manually installing the crviewer but could not find clear enough instructions and could not get that to work either...
Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

LVL 26

Expert Comment

by:Kurt Reinhardt
ID: 17853258
When attempting to install the Viewer, do you have administrative rights to the machine?


Author Comment

ID: 17853306
Yes, I have administrative rights to the machine
LVL 42

Expert Comment

ID: 17853770
You might want to try looking at the Event Logs in the Control Panel and see if you can pin down what's stopping it.


Author Comment

ID: 17858711
I have even tried manually installing the cr viewer as defined in this KB article -
but even that does not work; however, I must admit that I could not complete the last steps because I did not understand what they were asking...

If after completing these steps the ActiveX Viewer is still not installed, try one or more of these steps:

• Run the DependencyInstaller.exe utility to install gdiplus.dll and usp10.dll, if required. The DependencyInstaller.exe is located inside ActiveXViewer.cab file. <okay, did this>
• Deploy and then register the fie PrintControl.dll on the client computer. <what do they mean by deploy?>

• Extract the DLL files from the .cab file, place them in a folder, and then run the install script. <which .cab file? I cannot find an install script?>

• Manually register all of the DLL files in the .cab file using regsvr32. For example, "regsvr32 myfile.dll". <I could do this if I knew which .cab file they were talking about>


Accepted Solution

WJM earned 0 total points
ID: 17859473
We have figured it out.

When installing Crystal Reports Viewer on the web server it creates a folder in the following location -
C:\Program Files\Common Files\Business Objects\3.0\crystalreportviewers11

This is the folder you must make a virtual directory out of.  You should have an .asp file inside this folder which is called in order to load the ActiveX controls.  It may be SmartViewerActiveX.asp or in our case we have a viewer.asp which is used to call up the ActiveX.  Either way, open up your .asp file and search for the line with CODEBASE -

• CODEBASE="/crystalreportviewers11/ActiveXControls/ActiveXViewer.cab#Version=11,0,0,893" VIEWASTEXT>

This is defaulting to the folder name; however, we set up our virtual directory to point to the C:\Program Files\Common Files\Business Objects\3.0\crystalreportviewers11 folder but we gave the virtual directory an alias of "viewer11".  Apparently this alias name needs to replace the folder name inside the CODEBASE line in the asp.

We had to change the line of code to read -
CODEBASE="/viewer11/ActiveXControls/ActiveXViewer.cab#Version=11,0,0,893" VIEWASTEXT>

So we had to change [CODEBASE="/crystalreportviewers11] to [CODEBASE="/viewer11] and then it was able to find the viewer when we loaded the CR and ask us to download the ActiveX control.  Phew!

Hopefully this will help some others who may run into this situation...  I'm not sure how to distribute points as we were able to come up with the answer on our own, but I think it would be good to leave this up in case others could benefit from our fix...

Author Comment

ID: 17860453
I felt the comments were all helpful, but none answered the question, I would love to reward points to them but don't want to mislead others by thinking it was the answer to the question and I cannot award my response as the answer, so how would you have me do this, I am open to suggestions, thank you.
LVL 101

Expert Comment

ID: 17861380
I can just close it and refund the points.

Crystal Reports Page Editor

Author Comment

ID: 17861508
Okay, thank you, and thank you to everyone who assisted.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question