×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Crystal 7 Vs 8 on ASP

Crystal 7 Vs 8 on ASP

Crystal 7 Vs 8 on ASP

(OP)
I have numerous ASP Applications on my server which all use Crystal Reports.
The version 7 ones worked fine until I introduced version 8 reports to a new site.

Does it matter which version of CrystalReports you use on a server. The Server has Crystal 7 installed and all Crystal 8 reports have been saved as 7.

RE: Crystal 7 Vs 8 on ASP

Theoretically, if you've saved your V8 reports as V7 and didn't get any errors, you should be okay.

One test would be to run the "V8 saved as V7" reports through the V7 Crystal Designer on a PC.

Brian J. Alves
Email: brian.alves@worldnet.att.net
VB / ASP / Crystal / SQLServer

RE: Crystal 7 Vs 8 on ASP

(OP)
All reports work when run through the designer.

and when saving the reports from 8 to 7 I get no error messages.


I use SmartViewActiveX.asp and rptserver.asp to create the crystal page.
As long as I have created my site as an application in IIS then this should work, surely ?

<SCRIPT LANGUAGE="VBScript">
<!--
Sub Page_Initialize
    On Error Resume Next
    Dim webBroker
    Set webBroker = CreateObject("WebReportBroker.WebReportBroker")
    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 +"/Personnel/rptserver.asp"
    else
        Dim webSource
        Set webSource = CreateObject("WebReportSource.WebReportSource")
        webSource.ReportSource = webBroker
        webSource.URL = Location.Protocol + "//" + Location.Host + "/Personnel/rptserver.asp"
        webSource.PromptOnRefresh = True
        CRViewer.ReportSource = webSource
    end if
    CRViewer.ViewReport
End Sub
-->
</SCRIPT>


RE: Crystal 7 Vs 8 on ASP

I don't know.  Perhaps it has something to do with the DLLs used for data access.  Maybe the format of the report is V7 but the DLLs that it's looking for are specific to V8.

Brian J. Alves
Email: brian.alves@worldnet.att.net
VB / ASP / Crystal / SQLServer

RE: Crystal 7 Vs 8 on ASP

I don't know if this helps but when you install version 8 on a machine you install version 8 of cpeaut32.dll, which is the crystal reports version 8 engine.  It over writes version 7.  Even if you uninstall 8 and reinstall 7 you still will have the version 8 engine on your system.

If you installed version 8 on your server then it is using crystal reports version 8 engine and your viewer will not work.

Harry

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close