Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1073835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:02:31+00:00 2026-05-16T21:02:31+00:00

I have a Windows service that is written in C++ using VS2008. I now

  • 0

I have a Windows service that is written in C++ using VS2008. I now want to debug that service remotely on my Windows Server 2008R2. But when I start the service I get an application error saying:

Faulting application name: MyService.exe, version: 1.99.96.0, time stamp: 0x4c87cf49
Faulting module name: MSVCR90.dll, version: 9.0.30729.4926, time stamp: 0x4a1743c1
Exception code: 0xc0000417
Fault offset: 0x0006c955
Faulting process id: 0x1c08
Faulting application start time: 0x01cb4f7fd91b5804
Faulting application path: C:\Services\MyService.exe
Faulting module path: C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a\MSVCR90.dll
Report Id: 171b562c-bb73-11df-81e0-003048788541

When I start the same service in release build everything is fine. The service is build against Microsoft.VC90.CRT version 9.0.21022.8 and I have an embedded manifest.

What I figured out so far is that as I also have VS2010 installed on my development machine I do have 9.0.30729.4974 redist installed. And the W2k8 server does have the required x.x.x.4926 installed. But there is no debug version of x.x.x.4926 on the server so I think that might be the problem. Maybe something about missing symbols?

Does anyone have an idea? I’m kind of desperate as I really need to debug my service for checking an severe error.

Greets,
Simon

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T21:02:31+00:00Added an answer on May 16, 2026 at 9:02 pm
    // MessageText:
    //
    // An invalid parameter was passed to a C runtime function.
    //
    #define STATUS_INVALID_CRUNTIME_PARAMETER ((NTSTATUS)0xC0000417L)
    

    This has nothing to do with the CRT deployment, although it is mysterious that you got the debug build deployed. The code is simply crashing on a runtime error, raised by the _invalid_parameter() function. Which is called when a CRT function detects a critical problem with one of its arguments.

    The fact that it doesn’t happen in the Release build is no consolation, the Debug build is especially booby-trapped to cause errors like these so you don’t have problems with a Release build that occasionally crashes.

    You’ll need a debugger, it automatically breaks just before it goes kaboom.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written a Windows service that allows me to remotely run and stop
I have a server written in Java that runs as a Windows service (thanks
I have written a Windows service that spawns a separate process. This process creates
I have a windows service written in C# that acts as a proxy for
We have a Windows Service written in C#. The service spawns a thread that
I have a windows service that runs fine, but I have to have it
I have a dotnet windows service that's currently hung, but running. Is there anyway
I have a Windows service written using Topshelf . I'm trying to configure it
I have a windows service written around some code similar to this Asynchronous Server
I have a windows service that runs various system monitoring operations. However, when running

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.