troubleshooting Question

ADOX.CatalogClass.Create Error

Avatar of vdurbal
vdurbalFlag for United States of America asked on
Microsoft AccessVisual Basic ClassicVisual Basic.NET
6 Comments1 Solution896 ViewsLast Modified:
Hello,

some of our users are getting the following error message when they first try to run our program:

Additional Description: Error Creating User Settings Database
Stack Trace: at ADOX.CatalogClass.Create(String ConnectionString)


When it is first run, the program looks for a "User Settings.mdb" database (in MS Access format) and tries to create one if there isn't already one present.

In order to programmatically create a Jet database, the program references:
 
  Microsoft ADO Ext. 6.0 for DDL and Security

and I include "msadox.dll" from the "ADO" folder in the "Common Files\System" folder and the "Interop.ADOX.dll" created by my project into the installer.


The program also references:
 
   Microsoft Jet and Replication Objects 2.6 Library

so the "msjro.dll" and "Interop.JRO.dll" DLLs are also included in the installation.


I assume that this error is occurring because the client's system isn't registering these dll's properly and/or I am not installing them correctly, or am missing something.  What can I do?  Thank you.

Vijay


Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros