Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Crystal Reports 9 + ASP 3 - No open report

Reply
Thread Tools

Crystal Reports 9 + ASP 3 - No open report

 
 
mutherwurm
Guest
Posts: n/a
 
      04-27-2006
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("..\Repo rts\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 ?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems using ASP and Crystal Reports 8.5 to create dynamic PDF reports PughDR@gmail.com ASP General 0 10-23-2006 02:50 PM
Is it possible to get Crystal Reports to print multiple reports in ASP.NET? Rod ASP .Net 2 05-25-2006 02:12 PM
First time crystal report user - How do i create a crystal reports from asp.net web form? Learner ASP .Net 1 01-11-2006 08:20 PM
Calling Crystal Reports in ASP.NET using the rptserver.asp given by Crystal Reports Peri ASP .Net 1 07-21-2005 12:56 PM
FAIL TO LOAD THE CRYSTAL REPORT USING WEB CRYSTAL REPORT VIEWER Comfort ASP .Net Web Controls 0 10-18-2004 01:35 PM



Advertisments