943,912 Members | Top Members by Rank

Ad:
May 14th, 2009
0

"please enter ms jet ole db initialization information"

Expand Post »
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.
Similar Threads
Reputation Points: 26
Solved Threads: 0
Junior Poster in Training
RahulV is offline Offline
92 posts
since Jun 2007
May 15th, 2009
0

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

What kind of access are you using? ADO, ADODC, DAO, DAO ODBCDirect, RDO?, What version of Access? If ADO, are you using a DSN?
Reputation Points: 156
Solved Threads: 296
Posting Virtuoso
vb5prgrmr is offline Offline
1,670 posts
since Mar 2009
May 15th, 2009
0

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

Click to Expand / Collapse  Quote originally posted by vb5prgrmr ...
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.
Reputation Points: 26
Solved Threads: 0
Junior Poster in Training
RahulV is offline Offline
92 posts
since Jun 2007
May 16th, 2009
0

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

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
Reputation Points: 156
Solved Threads: 296
Posting Virtuoso
vb5prgrmr is offline Offline
1,670 posts
since Mar 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Noob needs help with "if"
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Find out the open applications.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC