Question

I have made a windows form application using Visual Studio 2010 in Windows 7.Every thing is working fine into my System.I have build the application on Visual studio 2010 and it is ok.Application.exe is getting created under the Bin in Release Mode of the Visual Studio. Now i am trying to launch this application On Clients PC which is Windows XP but it is giving following.

Application has encountered a problem and needs to be closed.we are sorry for inconvenience.

I am not getting the reason for this.Please help .Thanks in advance.

Was it helpful?

Solution

Problem 1: i'm suspecting that the .NET Framework version with which you built the Application is heigher than what client is using.

Solution 1: try to build your appliction with the client compatible .NET Framework version.

Problem 2: You might be building your application with X64 option in build settings.

Solution 2: change the Platform Target of the Application from X64 to X86 from buid settings and rebuild your application.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top