Click here to Skip to main content
15,885,214 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
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.

XML
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.

XML
*** 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
Posted
Comments
Bernhard Hiller 20-Nov-13 3:51am    
What happens when you place your COM addin into one of the folders mentioned (and also with a name expected by Outlook), register it with regasm, and try again?
Sebastian T Xavier 22-Nov-13 1:27am    
It got fixed, thanks...

1 solution

I have got it fixed after applying following upgrade on office 2007.

http://www.microsoft.com/en-in/download/confirmation.aspx?id=18346[^]

Thanks
Sebastian
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900