且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

尝试运行winfrom应用程序时出现未处理的异常

更新时间:2022-05-22 03:07:28



这是来自您尚未处理异常的应用程序的异常.您需要在应用程序中添加日志记录"以跟踪错误消息.

您需要使用try ..catch 块将代码括起来.

并且在日志文件中记录主要异常. Log4Net 开源API可用于记录日志.在您的应用程序中很容易实现.

那么您可以轻松地跟踪异常

谢谢
-Amit.
Hi,

This is the exception coming from your application where you have not handled your exception. you need to add Logging in your application to track the error message.

you need to enclose your code with try ..catch block.

And Log major exception in log files. Log4Net opensource API available for logging. it''s very easy to implement in your application.

then it will be easy for you to track the exception

thanks
-Amit.


萨罗伊

可能是您的系统Service Pack没有更新..
Hi Saroj

May be your system Service Pack is not updated..