Windows service started and then stopped

I have created a windows application which runs fine and then i try to run this application as a windows service. After i start the service i got the error like below 在这里输入图像描述

Below are the error log i got from the EventViewerApplication

Faulting application name: MyApp.Client.exe, version: 1.0.0.0, time stamp: 0x50fce240 Faulting module name: KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdaae Exception code: 0xe0434352 Fault offset: 0x00009617 Faulting process id: 0x1a7c Faulting application start time: 0x01cdf7a1dcc54dc3 Faulting application path: E:Email ServiceMobileMyServiceMainSourceClientServiceService1binReleaseMyApp.Client.exe Faulting module path: C:Windowssystem32KERNELBASE.dll Report Id: 2ef633e5-6395-11e2-8e41-e4115b2d2915

How can i resolve this error?

链接地址: http://www.djcxy.com/p/92494.html

上一篇: EventLogQuery中的日期格式?

下一篇: Windows服务已启动,然后停止