应用程序无法在Win Vista 32bit上运行 [英] Application not working on Win Vista 32bit

查看:69
本文介绍了应用程序无法在Win Vista 32bit上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi
我在Window7 64位PC中使用Visual Studio 2005 C#2.0和SQL Server 2005开发了一个Windows应用程序。我还为我的应用程序创建了安装程序。我在Windows 7 64位PC上安装它,它工作正常。但是当我在Windows Vista 32位上安装安装文件时,它无法正常工作。它显示错误,如Windows停止工作,关闭程序当我输入一些数据到数据库。我无法找出原因。请有人帮助我。

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.

推荐答案

它适用于Windows 7 64位和无法在Windows Vista 32位上运行是一个线索,不是吗?



检查您的应用程序属性:在构建选项卡下有一个平台目标,可能设置为x64。将其更改为x86或任何CPU并再试一次。

还要确保已安装和使用Vista PC的.NET版本 - 它只发布使用V3.0,因此如果您使用的是更高版本,则需要先安装。如果您正在使用正确的设置程序,它应该为您处理。
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.


这篇关于应用程序无法在Win Vista 32bit上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆