I have created a project with C# and visual studio built-in sql server compact edition. I have made a installer file with advanced installer software. The application installs in those computer which have already visual studio installed on that machine. But in other computer after being installed, it shows an exception "close program". I think there is no problem with .NET framework. But can't figure it out whatever the real problem is.
Need suggestion from the experts.
Thank you.

Safayat ZisanPosted Apr 16, 2015, 4:42 AM
Manoj BhoirPosted Apr 16, 2015, 4:07 AM
It might be possible that there is some error in your application or there is something which causes error and throwing exception in your application.
Without seeing any code I cannot blindly say what is the exact problem but I will suggest you, try to add try catch block for your code to handle exceptions. If you are getting this exception when you run your program then check your onLoad form event code or like that to identify the problem.
Best of luck.