If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Unable to connect: incorrect session parameters

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-26-04, 02:06
mpatolia mpatolia is offline
Registered User
 
Join Date: Mar 2004
Posts: 1
Arrow Unable to connect: incorrect session parameters

I m trying to run the crystal report from VB. I m using Access-2000. and database is password protected. while i m calling the report without protecting the database by password, it works fine. but as i put password, it gives me an error "Error in file ...\test.rpt: Unable to connect: incorrect session parameters.".. i have used the code in VB to call the report as below:

FrmMenu.CrystalReport1.ReportFileName "C:\Reports\TEST.rpt"
FrmMenu.CrystalReport1.Action = 1

and in the property of crystal report component, in database tab i set the information for connect as "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\anml.mdb;Persist Security Info=False;Jet OLEDBatabase Password=anml"

Pls. if anybody have adea, kindly help me.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On