0

I have developed a windows application in visual studio 2012 and deployed the application using Installshield. When I install the application in 32-bit system it works fine, but while I install in 64-bit system, it installs fine but after installing the application is not opening throwing and error that,

Problem Signature:

Problem Event Name: APPCRASH Application Name: sappln.exe Fault Module Name: KERNALBASE.DLL and more it goes on..

In configuration Manager, I have specified Release -> Any CPU Can anyone give some solutions to avoid this error?

Thanks in advance!!

JohnRambo
  • 13
  • 8
  • 1
    Some more details of the error might be useful. Can you add what you have described as '..and more it goes on'? – simon at rcl Apr 22 '14 at 11:46
  • In a short it says- Application has stopped working – JohnRambo Apr 22 '14 at 11:47
  • My money is on fact that you reference COM library (interop) that has just 32 bit alignment; or you compile your code explicitly to x32 - compilation should target MSIL if you want to deploy same binaries both to x32 and x64. – Ondrej Svejdar Apr 22 '14 at 11:48
  • how to target the compilation to MSIL, according to me it wil be done automatically by the .net – JohnRambo Apr 22 '14 at 11:52
  • By default it is MSIL, but you can set it otherwise. Also all you dependencies should be MSIL - check your bin folder if is that so (reference http://stackoverflow.com/questions/270531/how-to-determine-if-a-net-assembly-was-built-for-x86-or-x64) – Ondrej Svejdar Apr 22 '14 at 12:27

1 Answers1

0

Seems like you are using libaries that can't run on x64 platforms. What libaries are you using?

Also check if your program does anything "special" upon startup.

This should keep you out.

Good luck!

user3514987
  • 210
  • 3
  • 9