问题描述
我有我的机器上运行的罚款。NET 3.5 WinForms应用程序,但在另一台机器它马上用system.io.fileloadexception崩溃。不幸的是,绝对没有关于哪些文件加载失败,所以我不知道哪里出了问题实际上是。
我相信我知道是哪一个也可能是(SQL Server精简版本),但在此之前我漫无目的的狩猎,我不知道是否有一个适当的方式,找出是什么原因造成的fileloadexception,比使用FileMon的Sysinternals公司等。
唯一的错误信息是:
打开融合记录?
这种由布拉德·威尔逊博客条目给出了做什么,如果信息失败...
I have a .net 3.5 WinForms application that runs fine on my machine, but on another machine it immediately crashes with a system.io.fileloadexception. Unfortunately, there are absolutely no details on which file failed to load, so I do not know where the problem actually is.
I believe I know which one it could be (SQL Server Compact edition), but before I aimlessly hunt, I wonder if there is a proper way to find out what caused the fileloadexception, other than using FileMon from SysInternals.
The only error message is:
Turn on fusion logging?
This blog entry from Brad Wilson gives information on what to do if that fails...
这篇关于故障排除system.io.fileloadexception的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!