Executable file runs up to CPU 100%?

everyone ,i have to encounted a Terrible thing. i don't know i build a exe file,it works very well in my computer !.
But running on the server is slow, CPU takes up 99%.
trial as below:
exe: x86
i want to ask a question .question as below:
DLL file to distinguish between 64 or 32 ?
.thank you for your help!

**Environment.Is64BitProcess Property1