Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internet Explorer 6 + Crystal Plugin

Status
Not open for further replies.

ksbigfoot

Programmer
Apr 15, 2002
856
CA
I am using Crystal Reports 8.0.
I am having a problem trying to reinstall the Seagate Report Viewer plug-in in Internet Explorer 6.0. It works fine in IE 5, but doesn't seem to work with IE 6.0. Both systems are running Windows 2000.

In IE 6: I am have tried many things:
1.) Tools-InternetOptions-Settings-ViewObjects, there is no Crystal Report Viewer Control.
2.) I searched for crviewer.dll on the users machine. I ran regsvr32 -u <dir>\crviewer.dll, which was successful.

The following 2 steps works for IE 5, but IE 6 still has a grey screen come up with no report.

3.) I tried to change the version of Comcat from ver 5.0 to 4.7 (this did not fix my problem)
4.) I did regsvr32 /i occache.dll , which suppossedly fixed the downloaded program files (this didn't fix my problem)
5.) The msjava.dll is version 5.0.3802.0 on both IE 5 & IE 6 browsers
6.) I set the directory /Viewers where the crystal plugin is located to None, (instead of Scripts or Executing scripts) on the server. (this did not fix problem)

Any help on this matter would be greatly appreciated

Thanks
Kelly Serge
 
My mistake wasn't with the setting of bringing up a crystal report. It was with recognizing which browser was trying to view the crystal report. If IE was recognized, I displayed the SmartViewerActiveX.asp and if NN was recognized, I used ActiveXPluginViewer.asp.
Turned out the ASP code I was using was recognizing IE 6.0 as a Netscape browser, it was trying to bring up the incorrect viewer. So I found the correct code to use which I am posting below, incase anyone else runs into this problem.

Sorry for the incorrect posting.

Kelly Serge

UserAgent = Request.ServerVariables(&quot;HTTP_USER_AGENT&quot;)

If instr(1,UserAgent,&quot;MSIE&quot;) > 0 Then
%>

<!-- #include file=&quot;./SmartViewerActiveX.asp&quot; -->

<%Else%>

<!-- #include file=&quot;./ActiveXPluginViewer.asp&quot; -->

<%End If%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top