简体   繁体   English

我的c#应用程序的发行版在其他计算机“ Microsoft Office Interop Excel”上不起作用

[英]Release of my c# application doesn't work on other machines “Microsoft office Interop Excel”

I tried to release my project on c# and got its setup file. 我试图在C#上发布我的项目,并获得其安装文件。 I used it on my own laptop and everything works. 我在自己的笔记本电脑上使用它,一切正常。 But after installing the app on other machines, I get the following Error: the COM-Object from Type: System___ComObject cannot be converted to the interface "Micorsoft Office Interop Excel" Application . 但是在其他计算机上安装该应用程序后,出现以下错误: the COM-Object from Type: System___ComObject cannot be converted to the interface "Micorsoft Office Interop Excel" Application

Do you guys have any idea, what does that mean? 你们有什么主意吗?

您的代码正在尝试将Com对象转换为Microsoft.Interop.Excel.Application或将其类型转换为实际上不是Excel.Application对象。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 C#-Microsoft.Office.Interop.Excel.Sheets到Microsoft.Office.Interop.Excel.Worksheet [] - C# - Microsoft.Office.Interop.Excel.Sheets to Microsoft.Office.Interop.Excel.Worksheet[] C#: some of machines are throwing following error: Unable to cast COM object of type 'Microsoft.Office.Interop.Excel.ApplicationClass' - C#: some of machines are throwing following error: Unable to cast COM object of type 'Microsoft.Office.Interop.Excel.ApplicationClass' C# 使用 Microsoft.Office.Interop.Excel 添加新的 SERIES 与其他工作表的范围 - C# using Microsoft.Office.Interop.Excel Add new SERIES With range from other WorkSheet 如何使用Microsoft.Office.Interop dll将数据集导出到C#控制台应用程序中的excel - how to export dataset to excel in c# console application using Microsoft.Office.Interop dll COMException 错误:80040154 Class 未在 microsoft.office.interop.excel.application C# 中注册 - COMException error: 80040154 Class not registered in microsoft.office.interop.excel.application C# 如何在 C# 中使用 Microsoft.Office.Interop.Excel.Application 保存打开的文档? - How do you save an open document using Microsoft.Office.Interop.Excel.Application in C#? Microsoft Office Interop Excel 无法保存在 Windows Server 2008 中 - Microsoft Office Interop Excel doesn't save in Windows server 2008 COMException C#Microsoft.Office.Interop.Excel - COMException C# Microsoft.Office.Interop.Excel C#MergeArea错误Microsoft.office.interop.excel - C# MergeArea Error Microsoft.office.interop.excel C# microsoft.office.interop.excel 添加图表 - C# microsoft.office.interop.excel Add Chart
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM