为什么我的应用程序在32位OS中执行却没有在64位OS中执行? [英] Why my application is not being executed in 64-bit OS though executed in 32-bit OS?

查看:72
本文介绍了为什么我的应用程序在32位OS中执行却没有在64位OS中执行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个可以在32位操作系统上完美运行的SMS应用程序.

但是由于我的服务器是64位的,因此我尝试在64位OS中执行相同的应用程序,但徒劳无功.

我无法检测出问题出在哪里...是否需要更改代码以使appln在64位OS上运行?

如果是这样...在哪里更改?

提前谢谢..

问候,
Ravi kamesh

Hi,

I''ve an SMS Application which runs perfectly in 32-bit OS.

But as my server is 64-bit, I''ve tried to execute the same application in 64-bit OS, but in vain.

I''m unable to detect where the problem is...Do I need to change the code so as to make the appln run in 64-bit OS?

If so...where to change?

Thanks in advance..

Regards,
Ravi kamesh

推荐答案

您必须设置
IIS应用程序池中的启用32位应用程序"为True

检查一下.

^ ]


http://www.devx.com/tips/Tip/42717 [
You have to set
"Enable 32-bit Applications" to True in IIS app pool

check this.

http://blogs.msdn.com/b/rakkimk/archive/2007/11/03/iis7-running-32-bit-and-64-bit-asp-net-versions-at-the-same-time-on-different-worker-processes.aspx[^]


http://www.devx.com/tips/Tip/42717[^]




我总是建议人们在应用程序中添加日志记录.这可以帮助您确定问题的确切原因.部署应用程序时,没有调试点,因此,日志记录是找出错误的唯一选择.

Log4Net [
Hi,

I always suggest people to add logging in the application. that may help you to identify the exact cause of the problem. When application is deployed there is no point of debugging so Logging is the only option to findout error.

Log4Net[^] is really good API for Logging.

As far as this issue is concern, Solution1 may help you.

Hope you find all your future issues from logging.

Thanks
-Amit Gajjar.


这篇关于为什么我的应用程序在32位OS中执行却没有在64位OS中执行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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