|
-
Sep 13th, 2005, 06:13 AM
#1
Thread Starter
New Member
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!!
-
Sep 13th, 2005, 06:54 AM
#2
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?
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Sep 13th, 2005, 08:14 AM
#3
Thread Starter
New Member
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'
-
Sep 13th, 2005, 08:21 AM
#4
Re: Incorrect session parameters
 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?
-
Sep 13th, 2005, 09:29 AM
#5
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.
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Sep 14th, 2005, 08:00 AM
#6
Thread Starter
New Member
Re: Incorrect session parameters
Hack,
yes i registered it
Garymazzone ,
so what seems to be failing according to you ??
-
Sep 14th, 2005, 01:46 PM
#7
Re: Incorrect session parameters
I don't know. Can we look at the code. You are using the OCX not the API calls right?
Sometimes the Programmer
Sometimes the DBA
Mazz1
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|