Results 1 to 7 of 7

Thread: Incorrect session parameters

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    3

    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!!

  2. #2
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    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

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    3

    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'

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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?

  5. #5
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    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

  6. #6

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    3

    Re: Incorrect session parameters

    Hack,
    yes i registered it

    Garymazzone ,
    so what seems to be failing according to you ??

  7. #7
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    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
  •  



Click Here to Expand Forum to Full Width