[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.interop

Error loading type library: 'Microsoft.Office.Interop.Access.Application'

Patrick Wolf

5/26/2007 3:29:00 AM

Hi,

we have a solution using Microsoft Access 2003 and VS 2005 / C# it's
deployed on XP SP2.

Basically the C# code calls VBA code in Access via COM Interop.

The primary interop assemblies are properly installed. Most computer use
Access Runtime some Access.

It works on all deployed computers but one. The following error message
appears when instantiating the Access application from this one computer.

---------------------------
Error Handler
---------------------------
13: Unable to cast COM object of type 'System.__ComObject' to interface type
'Microsoft.Office.Interop.Access.Application'. This operation failed because
the QueryInterface call on the COM component for the interface with IID
'{68CCE6C0-6129-101B-AF4E-00AA003F0F07}' failed due to the following error:
Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A
(TYPE_E_CANTLOADLIBRARY)).
---------------------------

We tryed reinstalling Access (runtime / full version), repairing .NET 2.0,
reinstalling Primary Interop Assemblies etc.

Thanks for any help
Patrick
www.patrickwolf.net
please replies to the group or pub !#@ pat rickwolf . net