Monday, August 30, 2010

How to Configure of ActiveX Viewer for Crystal Reports


Configuration of ActiveX Viewer for Crystal Reports


A. Remove old ActiveX Viewer DLL files and registry entries

Step 1) Open your Internet Explorer -Tools - Internet Options.

Step 2) On the General Tab, click the Settings icon found in the Temporary Internet section. Click on the View Objects icon located in the lower right corner of the window.

Step 3) By clicking the View Objects icon, you will open a directory of files. Look for a file that contains the words Crystal Report Viewer. You might find Crystal Report Smart Viewer 7 or Crystal Report Smart Viewer 9. In any event, if you find a file with the words Crystal Report Viewer as part of the text, right click on the file and delete it. If it is not there continue with the next step.

Step 4) Close your Internet browser

Step 5) Go to the Start menu; click on Search; click on For Files and Folders; and click on All Files and Folders. Search for and delete the following files:

a. Crviewer.dll (or Crviewer9.dll if you are using Crystal Reports version 9)
b. Sviewhlp.dll
c. Swebrs.dll

Step 6) Go to the Start menu; click Run; type “regedit” in the Open: box; and click OK. The Registry Editor will be displayed.

Step 7) In the Registry Editor, on the Edit menu click Find; type “crviewer.dll” in dialogue box; and click the Find Next icon.

Step 8) If you find a registry key, delete it by right clicking on the file and selecting delete. Continue clicking Find Next until the computer finishes searching through the entire registry. (please note: files with the word “Default” in the name cannot be deleted).

Step 9) Repeat steps 6 to 8 for the files “Crviewer9.dll” (if you are using CR 9 or CE 9), “Sviewhlp.dll,” and “Swebrs.dll.”

B. Download and Install New ActiveX Viewer

Step 1) Open Internet Explorer. Attempt to view any report from the Reports menu. If you are prompted to install the new ActiveX Viewer, click Yes to install the viewer. Retry displaying any report.

If a report appears, congratulations – you have completed the process and do not need to proceed with the rest of these instructions. However, if the report does not appear, you will need to manually install the new ActiveX Viewer by proceeding to the next step.

Step 2) Download the attached file “ActiveXViewer.cab” to your computer and extract its contents using winzip to a temporary folder.

Step 3) Move the files “Crviewer.dll” “Sviewhlp.dll” and “Swebrs.dll” to the c:\windows\System32 folder. Keep this folder visible.

Step 4) Go to the Start menu; click Run; and type “regsvr32” in the open dialogue box

Step 5) Drag and drop the Crviewer.dll file icon from the System32 folder onto the Run dialog box. Click OK.

Step 6) You should receive an acknowledgement that says “dll register server in c:\windows\system32\crveiwer.dll succeeded.”

Step 7) Repeat steps 4 to 6 for the files “Sviewhlp.dll,” and “Swebrs.dll.”

Or you can click on install CRViewer.bat to install the library

and your done!

this will help if you find trouble with some web page that using Crystal Report that wont show up.

Cheers
HD

2 comments: