无法加载文件或程序集="Office,版本= 12.0.0.0,文化=中性,PublicKeyToken = 71E9BCE111E9429C或其依赖项之一.系统找不到指定的 [英] Could not load file or assembly="Office, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C or one of its dependencies. The system cannot find the specified

查看:85
本文介绍了无法加载文件或程序集="Office,版本= 12.0.0.0,文化=中性,PublicKeyToken = 71E9BCE111E9429C或其依赖项之一.系统找不到指定的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在运行Web应用程序时收到此错误消息.我的计算机上确实安装了MS Word 2007

错误:处理请求所需的配置文件时发生错误.请查看下面的特定错误详细信息,并适当地修改您的配置文件.

无法加载文件或程序集="Office,版本= 12.0.0.0,文化=中性,PublicKeyToken = 71E9BCE111E9429C或其依赖项之一.系统找不到指定的内容.

谢谢

Hi,

I am getting this error message when I run my Web application. I do have MS word 2007 install in my computer

Error : An error Occured during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Could not load file or assembly="Office, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C or one of its dependencies. The system cannot find the specified.

Thank you

推荐答案

这可能会发生,一个或多个程序集未正确加载,或者您的Web应用程序中存在程序集兼容性问题.这是一些建议.
1.如果Web应用程序在您的计算机中,
< ui>
  • 从Web应用程序中删除现有的Office程序集.
This might occur one or more assembly are not loaded correctly or there is an assembly compatibility issue within your web application. Here is few suggestion.
1. If the web application is in your machine,
<ui>
  • Remove existing office assembly from the web application.
  • 将Office程序集添加到您的Web应用程序
  • 编译您的应用程序并运行它.


我实际上遇到了一个非常类似的错误,对我来说,此修复程序是进入AssemblyInfo.cs并删除该行的包含
I actually just ran in to a very similar error, for me this fix was going into AssemblyInfo.cs and removing the line containing
[assembly: SecurityTransparent()]


这篇关于无法加载文件或程序集="Office,版本= 12.0.0.0,文化=中性,PublicKeyToken = 71E9BCE111E9429C或其依赖项之一.系统找不到指定的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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