如何检查IIS是32位还是64位模式 [英] How to check if IIS is in 32bit or 64bit mode

查看:192
本文介绍了如何检查IIS是32位还是64位模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将网站部署到64位操作系统.我正在部署到IIS6.该站点是在32位服务器上开发的.该站点已正确部署,但是它正在尝试访问COM组件,并且失败了.

I'm trying to deploy a site to a 64bit OS. I'm deploying to IIS6. The site was developed on a 32bit server. The site deployed correctly however it's trying to access a COM component and that is failing.

我相信会发生错误,因为COM组件是64位OS上的64位版本. IIS6在64位服务器上以32位模式运行.

I believe the error is occurring because the COM component is a 64bit version on the 64bit OS. And IIS6 is running in 32bit mode on the 64bit server.

我想确认这一点,但是我似乎找不到一种确定的方法来检查IIS6是32位模式还是64位模式.

I'd like to confirm this but I can't seem to find a definitive way to check if IIS6 is in 32bit mode or 64bit mode.

有人会知道检查IIS6是64位还是32位模式的最佳方法吗?

Would someone know the best way to check if IIS6 is in 64bit or 32bit mode?

我正在使用IIS6

推荐答案

哪个版本的IIS?要手动检查它,只需在属性或高级属性中单击应用程序池

which version of IIS? to check it manually just click the application pool, in properties or advanced properties

如果您需要以编程方式进行检查,则可以通过WMI进行:

if you need to check it programatically you can do it through WMI:

/LM/W3SVC名称空间

/LM/W3SVC namespace on the

IIsWebService类

IIsWebService class

Enable32BitAppOnWin64属性

Enable32BitAppOnWin64 property

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5d306956-b2a2-4708-9bb9-72a395d474bb.mspx?mfr=true

这篇关于如何检查IIS是32位还是64位模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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