Crystal Reports 9 + ASP 3 - No open report

M

mutherwurm

Hi,

I´m have an ASP Page and Crystal Reports. My page, load very well, no
erros, nothing anormal. But, my CR no open. Show the component
(JavaApplet) but ... nothing.
The CR connect to database, verify the tables with SetLogonInfo. No
errors.

My ASP page code:

Set session("oApp") = Server.CreateObject("CrystalRuntime.Application")
Set session("oRpt") =
session("oApp").OpenReport(server.MapPath("..\Reports\Teste.rpt"), 1)
Session("oRpt").MorePrintEngineErrorMessages = False
Session("oRpt").EnableParameterPrompting = False

set ReportDatabase = Session("oRpt").Database

Set crdatabasetables = ReportDatabase.tables
Set crtable = crdatabasetables.Item(1)
crtable.SetLogonInfo "ETRADE", "dbEcomex", "ecomex", "hexasol"

set session("ParamCollection") = Session("oRpt").Parameterfields
set Param1 = session("ParamCollection").Item(1)
Call Param1.SetCurrentValue(Cstr(Request("Param")))

If IsObject(session("oPageEngine")) Then
Set session("oPageEngine") = nothing
End If

Set session("oPageEngine") = session("oRpt").PageEngine
(...)

And I´m using the applet (Java) to open reports in page. But, the is
giant code and I don´t put this code here.

Anyone, know what occours in my CR ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,048
Members
48,769
Latest member
Clifft

Latest Threads

Top