"please enter ms jet ole db initialization information"

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jun 2007
Posts: 68
Reputation: RahulV is an unknown quantity at this point 
Solved Threads: 0
RahulV's Avatar
RahulV RahulV is offline Offline
Junior Poster in Training

"please enter ms jet ole db initialization information"

 
0
  #1
May 14th, 2009
Hi,
I have created a project using MS Access db its working fine except one. A dialogue box opens up when running its exe, saying "Please enter MS JET OLE DB initialization information."
But I have provided all the DB connection information and other related information at runtime during initialization of the first form itself.

What am i supposed to do to correct it?
Please help.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 907
Reputation: vb5prgrmr will become famous soon enough vb5prgrmr will become famous soon enough 
Solved Threads: 167
vb5prgrmr vb5prgrmr is offline Offline
Posting Shark

Re: "please enter ms jet ole db initialization information"

 
0
  #2
May 15th, 2009
What kind of access are you using? ADO, ADODC, DAO, DAO ODBCDirect, RDO?, What version of Access? If ADO, are you using a DSN?
If anyone has helped you solve your problem, please mark your thread as solved.

Thanks
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 68
Reputation: RahulV is an unknown quantity at this point 
Solved Threads: 0
RahulV's Avatar
RahulV RahulV is offline Offline
Junior Poster in Training

Re: "please enter ms jet ole db initialization information"

 
0
  #3
May 15th, 2009
Originally Posted by vb5prgrmr View Post
What kind of access are you using? ADO, ADODC, DAO, DAO ODBCDirect, RDO?, What version of Access? If ADO, are you using a DSN?

I use ADO without DSN.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 907
Reputation: vb5prgrmr will become famous soon enough vb5prgrmr will become famous soon enough 
Solved Threads: 167
vb5prgrmr vb5prgrmr is offline Offline
Posting Shark

Re: "please enter ms jet ole db initialization information"

 
0
  #4
May 16th, 2009
What are you supposed to do to correct it...

Step through the code with F8 to find out where the dialog box is being spawned from. Then check that connection string with the rest of your connection strings (if you have more than one connection string) to see if there is a difference. Check the help files and see what it says and if necessary check www.connectionstrings.com.

I'm betting that the offending connection string has a true value where there should be a false value or the adPrompt(spelling) value set when it should be adNoPrompt(spelling).

NOTE: (Spelling) off the top of my head may be other constants but I hope that you get what I'm trying to say.

Good Luck
If anyone has helped you solve your problem, please mark your thread as solved.

Thanks
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 792 | Replies: 3
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC