Click here to Skip to main content
15,889,820 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi I have developed a Windows Application by using Visual Studio 2005 C#2.0 and SQL Server 2005 in Window7 64bit PC.I also created the Setup for my aplication. I installed it on Windows 7 64bit PC,it is working properly. But when I installed the Setup file on Windows Vista 32 bit, it's not working properly.It shows an error like "Windows Stopped to work, Close program" when I enter some data to database. I am unable to find out the reason. Please someone help me.
Posted
Updated 9-Sep-13 7:00am
v2

1 solution

The "it works on Windows 7 64bit" and "doesn't work on Windows Vista 32 bit" is a bit of a clue, isn't it?

Check your application properties: under the build tab there is a "platform target" which is probably set to "x64". Change it to "x86" or "any CPU" and try again.
Also make sure that whatever .NET version you have set your application to use is installed and working on the Vista PC - it only ships with V3.0, so if you are using a higher version you will need to get that installed first. If you are using a "proper" set up program, it should take care of that for you.
 
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