[英]'System.IO.FileNotFoundException' occurred in mscorlib.dll
I've got a C# Application which I'm using to convert.txt files to.xlsx.我有一个 C# 应用程序,我用它来将.txt 文件转换为.xlsx。 While doing the conversion I am getting an error thrown "An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll"
在进行转换时,我收到一个错误“在 mscorlib.dll 中发生‘System.IO.FileNotFoundException’类型的未处理异常”
The application was fully functional prior to updates pushed to the PC.在将更新推送到 PC 之前,该应用程序已完全正常运行。 Previous issues have been old registry keys and missing drivers.
以前的问题是旧的注册表项和缺少驱动程序。
I can't find much on this specific error, any ideas?我在这个特定错误上找不到太多,有什么想法吗?
The fix can be found in the second solution listed here: unable to cast COM object of type 'microsoft.Office.Interop.Excel.ApplicationClass' to 'microsoft.Office.Interop.Excel.Application'" The fix can be found in the second solution listed here: unable to cast COM object of type 'microsoft.Office.Interop.Excel.ApplicationClass' to 'microsoft.Office.Interop.Excel.Application'"
A simple repair is all that was needed.只需要一个简单的维修。 No need to chase anything down!
没有必要追逐任何东西!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.