简体   繁体   English

在 mscorlib.dll 中发生“System.IO.FileNotFoundException”

[英]'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’类型的未处理异常”

  1. Windows 10 64 Bit Windows 10 64 位
  2. Microsoft Office 365微软办公室 365

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.

相关问题 连接到MongoDB时,mscorlib.dll中发生“ System.IO.FileNotFoundException” - 'System.IO.FileNotFoundException' occurred in mscorlib.dll when connect to MongoDB mscorlib.dll 中发生类型为“System.IO.FileNotFoundException”的未处理异常 - An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll 抛出异常:mscorlib.dll 中的“System.IO.FileNotFoundException” - Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll 在 mscorlib.dll 中发生 System.IO.FileNotFoundException? - System.IO.FileNotFoundException occuring in mscorlib.dll? 抛出异常:mscorlib.dll C3 Discord.NET bot 中的“System.IO.FileNotFoundException” - Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll C3 Discord.NET bot 引发异常:mscorlib.dll中的“ System.IO.FileNotFoundException”(“找不到文件'cache-journal.db'。”) - Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll (“Could not find file 'cache-journal.db'.”) 抛出异常:mscorlib.dll,Visual Studio C# 中的“System.IO.FileNotFoundException” - Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll, Visual studio C# mscorlib.ni.dll中发生类型为'System.IO.FileNotFoundException'的第一次机会异常-Windows Phone - A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.ni.dll - windows phone mscorlib.dll 中出现“System.StackOverflowException”? - 'System.StackOverflowException' occurred in mscorlib.dll? mscorlib.dll中发生'System.ArgumentOutOfRangeException' - 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM