Windows Serives中的错误 [英] Error in windows serives

查看:85
本文介绍了Windows Serives中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Windows服务来发送邮件.在客户端,它会给出错误发送邮件失败"

I have make windows services which send mail. At client side it gives error "Failure sending mail"

推荐答案

可能有很多原因. 您是否具有异常处理和日志记录功能?
检查错误详细信息.您还可以检查事件查看器中是否有任何相关条目.

如果没有帮助,请尝试调试Windows服务.方法如下:
如何调试Windows服务 [ ^ ]

希望这对您有帮助!
There can be many reasons for that.
Do you have exception handling and logging in place?
Check the error details. You might also check event viewer for any related entry.

If nothing helps, try debugging the windows service. Here''s how:
How to debug Windows services[^]

Hope this helps!


即使凝视了我的水晶球十分钟,我也要这样说-如果您不张贴任何怪胎,您希望我们如何为您提供帮助?代码?哦,是的-还要张贴Exception.Message属性的整个文本.
Even after gazing for ten minutes into my crystal ball, I gotta say this - How do you expect us to help you if you don''t post any freakin'' code? Oh yeah - post the entire text of the Exception.Message property as well.


这篇关于Windows Serives中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆