Hello All,
I have developed an outlook add-in in visual studio 2008 with framework 3.5. This add in is working in almost all windows OS and it is not getting loaded in a particular scenario. One of my client's PC is running in
32 Bit Windows 8 and he is having
64 bit processor. When he installed my outlook add-in after configuring
Office 2007(I successfully tested this with Office 2010 in same PC.), I was unable to find the add-ins listed there. After digging into I have found that the add-in is not loaded and I got the following exception.
mscoree.dll : Not loaded. A runtime error occurred during the loading of the COM Add-in.
After reading some blogs regarding this issue, I have added a
fusion logging to see what is happening.
*** Assembly Binder Log Entry (11/19/2013 @ 4:59:25 PM) ***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable C:\Program Files\Microsoft Office\Office12\OUTLOOK.EXE
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: User = xxx\sxavier
LOG: DisplayName = MyCOMAddin, Version=3.0.1.0, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file:///C:/Program Files/Microsoft Office/Office12/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Download of application configuration file was attempted from file:///C:/Program Files/Microsoft
Office/Office12/OUTLOOK.EXE.config.
LOG: Configuration file C:\Program Files\Microsoft Office\Office12\OUTLOOK.EXE.config does not exist.
LOG: No application configuration file found.
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\
machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based
assembly bind).
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Office/Office12/MyCOMAddin.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Office/Office12/MyCOMAddin/
MyCOMAddin.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Office/Office12/MyCOMAddin.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Office/Office12/MyCOMAddin/
MyCOMAddin.EXE.
LOG: All probing URLs attempted and failed.
Can anyone help me to fix this?
Thanks in advance
Sebastian