无法加载文件或程序集'Microsoft.Office.Interop.PowerPoint,Version = 12.0.0.0,Culture = neutral,PublicKeyToken = 71e9bce111e9429c'或其依赖项之一 [英] Could not load file or assembly 'Microsoft.Office.Interop.PowerPoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies

查看:289
本文介绍了无法加载文件或程序集'Microsoft.Office.Interop.PowerPoint,Version = 12.0.0.0,Culture = neutral,PublicKeyToken = 71e9bce111e9429c'或其依赖项之一的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



i有应用程序将微软powerpoint幻灯片转换成图像。我在下面使用它来实现它。

< pre lang =cs> 使用 Microsoft.Office.Core;
使用 Microsoft.Office.Interop.PowerPoint;



我可以无需转换它本地机器中的问题,而当我在实时服务器中托管它时,我得到以下错误。它是一个程序集引用错误

无法加载文件或程序集Microsoft。 Office.Interop.PowerPoint,
Version = 12.0.0.0,Culture = neutral,PublicKeyToken = 71e9bce111e9429c'或
其中一个依赖项。找到的程序集的清单定义
与程序集引用不匹配。 (来自HRESULT的例外情况:
0x80131040)



这可能是什么解决方案?我已经询问过他们要求在托管服务器上安装msoffice的人吗?我们还有其他解决方案吗?



提前谢谢

vel

解决方案





你可以查看你的powerpoint版本你有MS OFFICe 2007你必须使用12.0你有办公室201 0你必须让我们14.0或你有办公室2003你必须在你的项目参考中使用11.0版本的DLL ..



-Vijay


< blockquote> hiii,



请检查ms office 2007是否安装在您的目标计算机上。

还有一件事需要安装,即office 2007 primary互操作程序集从这里下载



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





你会得到解决方案。



如果你无法在目标机器上安装PIA

下载Microsoft.Office.Interop.PowerPoint.dll

并将其添加到您的项目参考中



有快乐编码


在这种情况下尝试修复ppt



http://www.repairpptonline.pptrepairtoolbox.com 保证与所有可能的配置和MS Windows 98 /.../ 7的兼容性

hi all,

i have application which converts microsoft powerpoint slides to images.For that i use below to achieve it.

using Microsoft.Office.Core;
using Microsoft.Office.Interop.PowerPoint;


I am able to convert it without any problem in local machine whereas when i host it in live server iam getting the following error.It is an assembly reference error

"Could not load file or assembly 'Microsoft.Office.Interop.PowerPoint,
Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or
one of its dependencies. The located assembly's manifest definition
does not match the assembly reference. (Exception from HRESULT:
0x80131040)"


What could be the solution for this?i have enquired people they are asking to install msoffice in hosting server?do we have any other solution for this?

thanks in advance
vel

解决方案

hi

can you check ur powerpoint version u have MS OFFICe 2007 u must use 12.0 and u have office 2010 u must have us 14.0 or u have office 2003 u must used 11.0 version DLL in ur Project Reference..

-Vijay


hiii,

please check ms office 2007 is installed on your target machine.
and one more thing to install i.e. office 2007 primary interop assembly download it from here

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


you will get solution.

if your unable to install PIA on target machine
download Microsoft.Office.Interop.PowerPoint.dll
and add it into your project reference

have happy coding


In this case try repair ppt

http://www.repairpptonline.pptrepairtoolbox.com guarantees the compatibility with all possible configurations in use and MS Windows 98/.../7


这篇关于无法加载文件或程序集'Microsoft.Office.Interop.PowerPoint,Version = 12.0.0.0,Culture = neutral,PublicKeyToken = 71e9bce111e9429c'或其依赖项之一的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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