• Upgrade your Internet Experience
  • Sign in
  • Microsoft.com
  • United States (English)
    Brasil (Português)Česká republika (Čeština)Deutschland (Deutsch)España (Español)France (Français)Italia (Italiano)Россия (Русский)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語)香港特别行政區 (中文)
 
 
Windows Server TechCenter
 
 
Home
 
 
2008
 
 
2003
 
 
2000
 
 
Library
 
 
Forums
 
 
 
Windows Server TechCenter > Windows Server Forums > General > Cannot run application as a service
Ask a questionAsk a question
Search Forums:
  • Search General Forum Search General Forum
  • Search All Windows Server Forums Search All Windows Server Forums
  • Search All Microsoft TechNet Forums Search All Microsoft TechNet Forums
 

AnswerCannot run application as a service

  • Monday, July 07, 2008 8:45 PMBrainooo Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    I 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:

    "Faulting application myserv-3787.exe, version 1.0.0.0, faulting module kernel32.dll, version 5.2.3790.4062, fault address 0x0000bee7."

    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.

    I can install it as a service on a Windows XP Pro SP2 box.

    Any ideas?

    Thx,
    K.
    • ReplyReply
    • QuoteQuote
     

Answers

  • Friday, July 11, 2008 9:21 AMDavid Shen - MSFTMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Vote As Helpful
    0

    Hi Brainooo,

     

    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.

     

    MSDN forum

    http://forums.microsoft.com/MSDN/default.aspx?SiteID=1

     

    Hope the issue will be resolved soon.


    Your potential. Our passion.
    • Marked As Answer byDavid Shen - MSFTMSFT, ModeratorWednesday, July 16, 2008 9:11 AM
    •  
    • ReplyReply
    • QuoteQuote
     

All Replies

    Need Help with Forums? (FAQ)
     
    © 2009 Microsoft Corporation. All rights reserved.
    Manage Your Profile
    |
    Contact Us
    |
    Newsletter
    |
    Terms of Use
    |
    Trademarks
    |
    Privacy Statement