Incorrect session parameters
Hi,
I am using an Access 97 mdb which is populated at runtime in my VB application. I want to print the table in the database to screen using crystal report. But as i do so I get the following error -
20535 Crystal Report Unable to connect : Incorrect session parameters.
My connection string uses the crystal default ID and no password. The code is written in a correct way as it was working earlier. However i have noticed that NOW the control goes till maximising i.e. the screen gets maximised but after that i get the error mentioned above (i.e. at action =1, i suppose). Please suggest a solution, its urgent!!
Re: Incorrect session parameters
What version of Crystal are you using? Have you installed any other applications since the report last ran correctly? Have you look at the registry and seen if the Jet system database for the Crystal registry setting has been changed?
Re: Incorrect session parameters
Hi Garymazzone
The Crystal report version no. is 7 and ... i have checked the jet system database in crystal reg setting .. t has not been changed........
I also copied crystl32.ocx from my machine where report was working fine to the PC where it was'nt ... but no change, error still appears.
However, could you make out anything from the fact that the error is coming at 'report.action=1'
Re: Incorrect session parameters
Quote:
Originally Posted by beeba
Hi Garymazzone
The Crystal report version no. is 7 and ... i have checked the jet system database in crystal reg setting .. t has not been changed........
I also copied crystl32.ocx from my machine where report was working fine to the PC where it was'nt ... but no change, error still appears.
However, could you make out anything from the fact that the error is coming at 'report.action=1'
After copying the OCX onto the other machine, did you register it?
Re: Incorrect session parameters
action = 1 is simply a way of telling crystal to pring the report. So the error is occurring when the report goes to print. As it starts it attempts to connect to the database and that is when the error is being generated.
Re: Incorrect session parameters
Hack,
yes i registered it
Garymazzone ,
so what seems to be failing according to you ??
Re: Incorrect session parameters
I don't know. Can we look at the code. You are using the OCX not the API calls right?