thatted
March 10th, 2005, 10:27 PM
Hello:
I am using ASP and Crystal report. I created a .rpt file on a dev server and I can access the report in pdf format using ASP.
But now I want to implement the same on production server. I copied the .rpt file and changed the database settings. The preview pane shows the new data. But when I call the report from ASP and convert it to pdf I get nothing. Just the report heading and no rows get selected.
I know there is data in the database, and I confirm that the db connection is ok.
Any clues?
Also why do we specify the
Set crtable = session("oRpt").Database.Tables.Item(1)
crtable.SetLogonInfo CStr(databaseServer), CStr(databaseTables), CStr(databaseUser), CStr(databasePassword)
in the ASP, when we have to specify the same credentials in the rpt file as well?
Is is adviced to save the report with data or without?
Your help will be greatly appreciated.
Thanks
I am using ASP and Crystal report. I created a .rpt file on a dev server and I can access the report in pdf format using ASP.
But now I want to implement the same on production server. I copied the .rpt file and changed the database settings. The preview pane shows the new data. But when I call the report from ASP and convert it to pdf I get nothing. Just the report heading and no rows get selected.
I know there is data in the database, and I confirm that the db connection is ok.
Any clues?
Also why do we specify the
Set crtable = session("oRpt").Database.Tables.Item(1)
crtable.SetLogonInfo CStr(databaseServer), CStr(databaseTables), CStr(databaseUser), CStr(databasePassword)
in the ASP, when we have to specify the same credentials in the rpt file as well?
Is is adviced to save the report with data or without?
Your help will be greatly appreciated.
Thanks