Could not load file or assembly 'Microsoft.Office.Interop.Word, Version=14.0

参考地址一:点击这里

参考地址二:点击这里

解决方法:

使用office COM元件,电脑里必须要有相对应的版本,比如

Excel 14.0是对应Excel 2010

Excel 12.0是对应Excel 2007

Excel 11.0是对应Excel 2003

使用Excel COM必须要注意版本问题,并非用最高版本就能操作低版本。

Could not load file or assembly 'Microsoft.Office.Interop.Word, Version=14.0

时间: 2024-10-06 21:03:41

Could not load file or assembly 'Microsoft.Office.Interop.Word, Version=14.0的相关文章

<add assembly="Microsoft.Office.Tools.Word, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F

Server Error in '/' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appr

Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=5.0.414.0, ...

使用oracle数据库一个多月依赖这问题一直都得不到解决,最近任务不是很忙了,所以决定把这问题解决掉.写一篇文章做记录. 以上错误主要是net程序oracle数据库使用了Microsoft Enterprise Library 5.0 类库访问oracle数据库,其具有优秀的访问不通数据库的能力.使用方法不对也同样出现错误.解决办法是下载http://www.microsoft.com/en-us/download/confirmation.aspx?id=15104最新的类库并安装,安装后到安

[Nuget] - "Runtime error: Could not load file or assembly 'System.Web.WebPages.Razor, Version=3.0.0.0'" 问题之解决

环境 项目中使用了 System.Web.WebPages.Razor, Version=3.0.0.0,Nuget 还原缺失包后自动更新至 Version=3.2.5.0,编译成功,运行失败. 错误 "/"应用程序中的服务器错误.未能加载文件或程序集"System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"或它的某一个依赖项.系统找不到

Assembly 'Microsoft.Office.Interop.Excel

编译的时候报错,都无法通过编译: Assembly 'Microsoft.Office.Interop.Excel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' uses 'Microsoft.Vbe.Interop, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' which has a higher version

Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0 系统找不到指定的文件。

环境: web服务器: ip:192.168.1.32 ,安装有 Visual Studio Premium 2013 操作系统: Microsoft  Server 2008 r2+sp1 数据库服务器: ip:192.168.1.33,安装有Microsoft SQL Server 2012 操作系统: Microsoft  Server 2008 r2+sp1 操作过程: 在vs2013里利用向导SqlDataSource配置数据库连接时,点击测试连接提示成功,当点击确定时报错: ----

Unable to read the project file 'client.csproj'. Could not load file or assembly 'Microsoft.Build.En

错误详细信息: Unable to read the project file 'client.csproj'. Could not load file or assembly 'Microsoft.Build.Engine, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. 系统找不到指定的文件. 今天打开之前一个vs2005的项目,报出上面的错误,这个啥

Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=11.0.0.0 异常处理

在本机开发asp.net .rdlc报表后,部署到本地没有问题. 当把网站发布后部署在IIS上,新电脑上(只安装了.net framwork4.5),提示如下错误: “Could not load file or assembly Microsoft.ReportViewer.WebForms, Version=11.0.0.0…… 或者 ”Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=11.0.0

Could not load file or assembly 'Microsoft.AnalysisServices.SharePoint.Integration'

In Central Administration, in System Settings, click Manage farm solutions. Click Powerpivotwebapp. Click Deploy Solution. Choose the web application for which this error is occurring. If there is more than one web application, redeploy the solution

用 DocumentFormat.OpenXml 和Microsoft.Office.Interop.Word 写入或者读取word文件

using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace MediaTools.Tool { public class WordHelper { public static void TxtToword(string docPath,