erikjblair
Posts: 21
Joined: 2014-02-20
|
When running adxregistrator to install our add-in a customer is getting the following error:
Inner exception:
Exception Source: Our module
Exception Type: System.IO.FileNotFoundException
Exception Message: Could not load file or assembly 'AddinExpress.MAPI.dll' or one of its dependencies. The specified module could not be found.
Exception Target Site: InitializeComponent
Outer exception:
Exception Source: mscorlib
Exception Type: System.Reflection.TargetInvocationException
Exception Message: Exception has been thrown by the target of an invocation.
Exception Target Site: CreateInstance
---- Stack Trace ----
System.RuntimeTypeHandle.CreateInstance(type As RuntimeType, publicOnly As Boolean, noCheck As Boolean, canBeCached As Boolean&, ctor As RuntimeMethodHandleInternal&, bNeedSecurityCheck As Boolean&)
mscorlib.dll: N 00000 (0x0) JIT
System.RuntimeType.CreateInstanceSlow(publicOnly As Boolean, skipCheckThis As Boolean, fillCache As Boolean, stackMark As StackCrawlMark&)
mscorlib.dll: N 0111 (0x6F) IL
System.RuntimeType.CreateInstanceDefaultCtor(publicOnly As Boolean, skipCheckThis As Boolean, fillCache As Boolean, stackMark As StackCrawlMark&)
mscorlib.dll: N 0170 (0xAA) IL
System.Activator.CreateInstance(type As Type, nonPublic As Boolean)
mscorlib.dll: N 0058 (0x3A) IL
System.Activator.CreateInstance(type As Type)
mscorlib.dll: N 0000 (0x0) IL
AddinExpress.MSO.ADXAddinModule.ADXRegister(t As Type)
mscorlib.dll: N 0498 (0x1F2) IL
Outer Exception:
Exception Source: mscorlib
Exception Type: System.Reflection.TargetInvocationException
Exception Message: Exception has been thrown by the target of an invocation.
Exception Target Site: InvokeMethod
---- Stack Trace ----
System.RuntimeMethodHandle.InvokeMethod(target As Object, arguments As Object[], sig As Signature, constructor As Boolean)
mscorlib.dll: N 00000 (0x0) JIT
System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(obj As Object, parameters As Object[], arguments As Object[])
mscorlib.dll: N 0023 (0x17) IL
System.Reflection.RuntimeMethodInfo.Invoke(obj As Object, invokeAttr As BindingFlags, binder As Binder, parameters As Object[], culture As CultureInfo)
mscorlib.dll: N 0132 (0x84) IL
AddinExpress.Projects.Common.Utilities.CallUserDefinedRegistrationMethod(rootKey As ADXRegistryKey, type As Type, bRegister As Boolean, targetHive As ADXTargetRegistryHive)
mscorlib.dll: N 0332 (0x14C) IL
AddinExpress.Projects.Common.Utilities.RegisterType(t As Type, createVersionKey As Boolean, allUsers As Boolean, targetHive As ADXTargetRegistryHive, callRegMethod As Boolean)
mscorlib.dll: N 0227 (0xE3) IL
AddinExpress.Projects.Common.Utilities.RegisterAssembly(assembly As Assembly, createVersionKey As Boolean, allUsers As Boolean, targetHive As ADXTargetRegistryHive, callRegMethod As Boolean)
mscorlib.dll: N 0040 (0x28) IL
AddinExpress.Deployment.AddinDomainAdapter.RegisterForComInterop(register As Boolean, dllType As String, dllPath As String, showExceptions As Boolean, logFullPath As String)
mscorlib.dll: N 0228 (0xE4) IL
AddinExpress.Deployment.ADXRegistrator.RegisterAssembly(commandLine As String)
mscorlib.dll: N 0437 (0x1B5) IL
And finally:
The add-in registration process is completed with HRESULT = -2147467259.
What may be causing this? What is the recommended way to troubleshoot and diagnose this issue?
Thanks |
|
Andrei Smolin
Add-in Express team
Posts: 18825
Joined: 2006-05-11
|
|
erikjblair
Posts: 21
Joined: 2014-02-20
|
Thanks Andrei.
Somehow the VC++ redistributables did not get installed on the machine. Everything is working now. |
|
Andrei Smolin
Add-in Express team
Posts: 18825
Joined: 2006-05-11
|
Thank you for letting me know!
Andrei Smolin
Add-in Express Team Leader |
|