开发者

Application hanging on customer machine

开发者 https://www.devze.com 2023-03-14 06:18 出处:网络
My .NET 4.0 Application is hanging on a customer Machine. The s开发者_如何学Came customer has a Windows 7 where it hangs and a Windows XP where it is working very fast with no hangers. Now, I see, tha

My .NET 4.0 Application is hanging on a customer Machine. The s开发者_如何学Came customer has a Windows 7 where it hangs and a Windows XP where it is working very fast with no hangers. Now, I see, that on the Windows 7 machine when it is hanging the process of my exe needs 50% of the CPU.

I am now searching a way that I can find out, why it needs this CPU Time and hope to get the reason for the hangers. What can I do to get out the reason of the hangers and the high CPU usage on the customer machine?

I have only a release version of the app and no visual studio on the machine.


Get the customer to create a dump file of the process and send it to you. As they are on Windows 7 this is very easy.

Open Task Manager, right click on the process and select 'Create Dump File'

The dump file may be large so get them to zip it before emailing it to you.

As you are using .NET4 you can then open this file in Visual Studio 2010 and you will have a snapshot of the client process, included managed data, threads etc. which should help diagnose your issue.


Have a look at Microsoft's SysInternals tools

http://technet.microsoft.com/en-US/sysinternals

Process monitor or explorer should give you the info you need.

Being a Win7 machine my guess is that its user priviledges.

0

精彩评论

暂无评论...
验证码 换一张
取 消