mscoree.dll:未加载。加载COM加载项时发生运行时错误。 [英] mscoree.dll : Not loaded. A runtime error occurred during the loading of the COM Add-in.

查看:1401
本文介绍了mscoree.dll:未加载。加载COM加载项时发生运行时错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,



我在visual studio 2008中使用框架3.5开发了一个outlook插件。这个插件几乎在所有Windows操作系统中都有效,并且在特定场景中没有加载。我的客户端PC之一在 32位Windows 8 中运行,并且他有 64位处理器。当他在配置 Office 2007 (我在同一台PC上使用Office 2010成功测试了这个)后安装了我的Outlook插件时,我无法找到其中列出的加载项。挖掘后我发现加载项未加载,我得到以下异常。



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.





在阅读了一些关于此问题的博客后,我添加了一个< b> fusion 记录以查看正在发生的事情。





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.





有谁可以帮我解决这个问题?



提前致谢

Sebastian



Can anyone help me to fix this?

Thanks in advance
Sebastian

推荐答案

我在办公室申请升级后修好了2007.



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



谢谢

Sebastian
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


这篇关于mscoree.dll:未加载。加载COM加载项时发生运行时错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆