user384300
user384300

Reputation: 55

How to configure Win2008 to generate crash dump

I am running my C++ servi ce on Win2008 server machine. It crashes randomaly, and i do not know why. This is happening on multiple machines in customer site.

How can i configure the system to auto generate a dump of the process? I need a method that will require minimal installations and UI, preferably only some registry hacks.

Thanks.

[edit] waiting...

Upvotes: 3

Views: 6838

Answers (3)

Pete
Pete

Reputation: 401

You can use Windows Error Reporting locally on a machine without having to involve Microsoft and without having to sign your code. WER can be configured to store local copies of dumps. The MSDN documentation is here:

http://msdn.microsoft.com/en-us/library/bb787181(v=vs.85).aspx

It's a simple, well thought-out system, and is only a couple of registry settings to configure.

Upvotes: 2

the_mandrill
the_mandrill

Reputation: 30862

Sign your executable then register with Microsoft for Windows Error Reporting (the signing certificate costs but WER is free). This will then collect the crash logs when the user hits the 'Send to Microsoft' button. These logs will then sit there until you log in to retrieve them. This requires no other installations on the user's machine.

Upvotes: 0

ckv
ckv

Reputation: 10838

If your customer allows then i would suggest you to install DebugDiag from Microsoft. You can configure the tool to generate dumps when your application crashes and ask them to send you those dumps. I have used this quite often and found it to be successfull. If any help required please let me know.

Upvotes: 0

Related Questions