Cannot run application as a serviceI have a simple application that can be run either as a foreground app or as a service. It runs fine in the foreground on Windows Server 2003 SP2 but I cannot install it as a service. I receive the error:<br><br>&quot;Faulting application myserv-3787.exe, version 1.0.0.0, faulting module kernel32.dll, version 5.2.3790.4062, fault address 0x0000bee7.&quot;<br><br>I read somewhere that I might be prevented from running it as a service by DEP but I've added it as an exception so that shouldn't be a problem.<br><br>I can install it as a service on a Windows XP Pro SP2 box.<br><br>Any ideas? <br><br>Thx,<br>K.<br>© 2009 Microsoft Corporation. All rights reserved.Wed, 16 Jul 2008 09:11:41 Z7b519116-273c-4b01-8a76-2791fd4b8db9http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/7b519116-273c-4b01-8a76-2791fd4b8db9#7b519116-273c-4b01-8a76-2791fd4b8db9http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/7b519116-273c-4b01-8a76-2791fd4b8db9#7b519116-273c-4b01-8a76-2791fd4b8db9Brainooohttp://social.technet.microsoft.com/Profile/en-US/?user=BrainoooCannot run application as a serviceI have a simple application that can be run either as a foreground app or as a service. It runs fine in the foreground on Windows Server 2003 SP2 but I cannot install it as a service. I receive the error:<br><br>&quot;Faulting application myserv-3787.exe, version 1.0.0.0, faulting module kernel32.dll, version 5.2.3790.4062, fault address 0x0000bee7.&quot;<br><br>I read somewhere that I might be prevented from running it as a service by DEP but I've added it as an exception so that shouldn't be a problem.<br><br>I can install it as a service on a Windows XP Pro SP2 box.<br><br>Any ideas? <br><br>Thx,<br>K.<br>Mon, 07 Jul 2008 20:45:35 Z2008-07-07T20:45:35Zhttp://social.technet.microsoft.com/Forums/en-US/winservergen/thread/7b519116-273c-4b01-8a76-2791fd4b8db9#783ad240-9974-43de-aaff-2186aab46ffbhttp://social.technet.microsoft.com/Forums/en-US/winservergen/thread/7b519116-273c-4b01-8a76-2791fd4b8db9#783ad240-9974-43de-aaff-2186aab46ffbDavid Shen - MSFThttp://social.technet.microsoft.com/Profile/en-US/?user=David%20Shen%20-%20MSFTCannot run application as a service<p style="margin:0in 0in 0pt">Hi Brainooo,</p> <p style="margin:0in 0in 0pt"> </p> <p style="margin:0in 0in 0pt">According to the description and my research, the causes of the failure of module kernel32.dll are various. To identify the root cause, we will need to debug the application with your applications. I suggest that you contact CSS directly so that the application can be debugged and the problem can be resolved efficiently. Meanwhile, you may submit a post to MSDN forum to see whether they have any suggestions. </p> <p style="margin:0in 0in 0pt"> </p> <p style="margin:0in 0in 0pt">MSDN forum</p> <p style="margin:0in 0in 0pt"><a href="http://forums.microsoft.com/MSDN/default.aspx?SiteID=1"><font color="#3366ff">http://forums.microsoft.com/MSDN/default.aspx?SiteID=1</font></a></p> <p style="margin:0in 0in 0pt"> </p> <p style="margin:0in 0in 0pt">Hope the issue will be resolved soon.</p><hr size="1" align="left" width="25%">Your potential. Our passion.Fri, 11 Jul 2008 09:21:30 Z2008-07-11T09:21:30Z