Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Crystal reports XI & 2008 under XP/Vista with IE7 Post Reply Post New Topic
Author Message
Muhammad
Newbie
Newbie


Joined: 23 Jan 2008
Location: Israel
Online Status: Offline
Posts: 4
Quote Muhammad Replybullet Topic: Crystal reports XI & 2008 under XP/Vista with IE7
    Posted: 23 Jan 2008 at 9:33am

Hi,

Our company have today a reports system that works with crystal version 8.
I got a mission to check compatibility with XI & 2008 versions, I have to ensure that it works under XP & Vista and with IE7 or lower versions without problems.
I had installed XI trial version and the crystal viewer didn’t work (under XP with IE7)!!!

What I have to do and where to start from?!!!!

Best Regards.

IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 23 Jan 2008 at 2:32pm
How did it not work?  What error did you get?  This information will help us determine where the problem is.
 
There are some major differences in the structure of the XI reports vs. the version 8 reports.  In particular, there are differences in how you specify which database/tables to connect to.  Depending on the type of database connection you're using, you may have to convert the reports to XI before you can use the viewer with them.  When we moved from 8.5 to XI, we had to upgrade all of our reports in order to get them to work with the new viewer component.
 
-Dell
IP IP Logged
Muhammad
Newbie
Newbie


Joined: 23 Jan 2008
Location: Israel
Online Status: Offline
Posts: 4
Quote Muhammad Replybullet Posted: 23 Jan 2008 at 10:42pm
I don’t get any errors, and that's good. Simply I get an empty report ( a plain report without any fields or results! )
 
Is there a tool for converting or just saving the report in the new versions of crystal !!
IP IP Logged
Muhammad
Newbie
Newbie


Joined: 23 Jan 2008
Location: Israel
Online Status: Offline
Posts: 4
Quote Muhammad Replybullet Posted: 24 Jan 2008 at 6:34am
actually I have to add some code here to make it works:
 
<SCRIPT LANGUAGE="VBScript">
<!--
Sub Page_Initialize
Dim intCount
 On Error Resume Next
 Dim webBroker
 <%If Session("CrystalReportVersion") = 8 Then%>
  Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
 <%Else%>
  Set webBroker = CreateObject("CrystalReports.WebReportBroker")
 <%End If%>
 if ScriptEngineMajorVersion < 2 then
  window.alert "IE 3.02 users on NT4 need to get the latest version of VBScript or install IE 4.01 SP1. IE 3.02 users on Win95 need DCOM95 and latest version of VBScript, or install IE 4.01 SP1. These files are available at Microsoft's web site."
  CRViewer.ReportName = Location.Protocol + "//" + Location.Host + "/scrsamples/Web Component Server/rptserver.asp"
 else
  Dim webSource
  <%If Session("CrystalReportVersion") = 8 Then%>
   Set webSource = CreateObject("WebReportSource.WebReportSource")
  <%Else%>
   Set webSource = CreateObject("CrystalReports.WebReportSource")
  <%End If%>
  webSource.ReportSource = webBroker
  webSource.URL = "rptserver.asp"
  webSource.PromptOnRefresh = True
  CRViewer.ReportSource = webSource
 end if
 CRViewer.ViewReport
End Sub
-->
</SCRIPT>
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.020 seconds.