views:

5590

answers:

6

Windows 7 + IE8 + Crystal Report 11 Report + web viewer ActiveX will not install. ActiveX prompt appears, the UAC is approved to install, the page then refreshes and the process starts over 4 times until I get an a script warning.

Has anyone else come across this issue or a possible solution?

A: 

I don't get the script warning you are getting. It appears as if it is installing the ActiveX control properly, but it doesn't and a red X appears where the ActiveX control should be. I haven't found any solution yet.

Aaron
+1  A: 

A workaround is to download the ActiveXViewer.cab file, extract the contents to a folder in C:\ on the machine used to view the reports and register the DLLs manually.

The URL for the cabinet file for Crystal 11 (XI Release 1) looks something like this: http://yourwebsitewherecrystalisinstalled/crystalreportviewers11/ActiveXControls/ActiveXViewer.cab

Once you have extacted the contents to a folder on your hard drive, register the DLLs. You only need to register the DLLs that are not provided by the OS. For Crystal 11 (XI Release 1) the commands to register the DLLs are:

REGSVR32 /S CRVIEWER.DLL

REGSVR32 /S REPORTPARAMETERDIALOG.DLL

REGSVR32 /S SVIEWHLP.DLL

REGSVR32 /S SWEBRS.DLL

Update - to install the Crystal Web Viewer ActiveX from a web site in IE8 on Windows 7, try:

1) Login to a local administrator account (but not the built-in local administrator)

2) Add the site to your trusted sites list

3) Enable UAC at the default level - reboot if needed

4) Launch IE8, browse the site and click through the prompts

Once the control is installed, it can be run by non-administrators on the same machine and UAC can be disabled / reduced.

trs1980
Thanks, worked perfect.
Justin
can i know the root cause ?
kumar
A: 

worked great - thanks

Kevin
A: 

I cannot get this to work. The crystal reports that our website is downloading is version 10 though.

Mark
A: 

Make sure that you add the urls into your trusted sites and or your Intranet sites through IE 8's Internet Options tabs...that made a huge difference to me.

Erick
A: 

Does anyone out there have a solution that doesn't require manually registering dll's ?

mwillis