Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am developing windows application using c# 2010, windows 7 32 bit operating system. After I am completed my project convert a exe file and run 64 bit windows 7 operating system, But error is came

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Any one give me ideas.

What I have tried:

How to Run 32 bit windows 7 OS c# 2010 windows application exe file run on 64 bit windows 7 OS.
Posted
Updated 6-Aug-16 0:20am
v2
Comments
Richard MacCutchan 6-Aug-16 6:04am    
The best idea is for you to debug your program to find out where the error occurred. No one here can guess what it is doing.

1 solution

We can't tell you: a C# application compiled for 32 bit EXE will run fine on a 64 bit OS without changes, provided that all the required DLL assemblies are provided.
And debugging it will be difficult unless you install VS2010 on the target machine as you cannot run 64 bit apps on a 32 bit OS, and it's likely to be a missing DLL or a 64 bit DLL instead of a 32 bit.

So start by adding try...catch blocks to your application to report the problems with the exception detail and see if you can narrow down where the exception is happening, and what it is related to.

We can't do any of that for you: you are going to have to at least gather a significant amount of further information before anyone can!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900