Access 2007 Error in loading dll 508102

B

Bob T

Access 2007 on Windows 7 64bit
When I try to use Form Wizard or Report Wizard I get "error in loading dll"
Pressing the keys crt+shift+I gives me the error 508102
Also, under developer if I have a form with a subform or command buttons,
Access crashes when I click on Object Browser F2. The DoCmd will crash
access 2007 most of the time.

I tried reloading the dll's in http://support.microsoft.com/?id=833220
and regsvr32 accwiz.dll.

I also uninstalled office professional and reinstalled with UAC off and
Virus Software (Mcafee) off.

Problem still remains
HELP.
 
P

Paul Coddington

Some of these problems can be resolved by amending the project references to
deselect "Microsoft Office 12 Access Database Engine Object Library" and
selecting "Microsoft DAO 3.6 Object Library" instead (the DLL must be
"browsed" for, as it does not appear in the list).

However, this seems like a step backwards, as DAO is supposed to be
deprecated (yet, significant chunks of Access 2007 rely on it to the point of
the application crashing out without it). Presumably, this limits
development to MDBs, yet this step is required to make ACCDBs work as well.

Changing the references, as above, resolves the issue where typing
"Application." or "DoCmd." in a code window crashes Access 2007 (100% of the
time). It also fixes CurrentDB(), which otherwise reports "unable to load
DLL".

There is also some talk on Conceiva's forums about VS2005 runtime being
suspected of causing these problems due to some sort of conflict (and there
may be any number of applications using/installing this).

It is not clear what Microsoft is doing here with DAO and ADO - the
published articles are unclear, chunks of Access 2007 depend on DAO, and much
of Microsoft's own code examples for 2007 use DAO features, such as
CurrentDB, even though these do not work in a default installation of Office
2007 unless DAO is referenced.

Can anyone from Microsoft clarify?
 
T

Tom

I am having a simular issue. If I add a control and the control wizard is
selected. I get the Error in Loading DLL. If I open VBA, and type "me." as
soon as I type the period, Access crashes. I have deselected the references
to Microsoft Office 12.0 Access dataase engine Object and OLE Automation (the
only two I could de-select) but still get the same error. I uninstalled
Office and re-installed, re-registered most DLL's, reinstalled MDAC, and
still cannot get this thing to work. I am running Win 7 (64 bit) with Office
Enterprise 2007. Any ideas on what else to try???

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top