使用VS2010部署功能在IIS 7中启用32位应用程序 [英] Enable 32-bit applications in IIS 7 using VS2010 deployment capabilities

查看:91
本文介绍了使用VS2010部署功能在IIS 7中启用32位应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我想将WCF服务(.net 4.0)部署到IIS 7,并为此使用Visual Studio 2010的内置部署功能. msdn上有一篇很好的文章,网址为http://msdn.microsoft.com/en-us/library/dd465323.aspx,但仍有一个不清楚的地方 给我的东西.

我想设置启用32位应用程序"部署期间的应用程序池设置,似乎在Visual Studio项目的打包/发布Web"部分中有一个特殊的选项可以执行此操作.那里有两个复选框,即:包括所有IIS设置" 如在IIS中配置的和包括该Web项目使用的应用程序池设置".但是,当我选择它们时,构建一个部署程序包,并将其部署到另一台计算机上的IIS,然后启用32位应用程序".未在目标环境(WCF 服务本身已成功安装并且可以正常工作.

可能我缺少了某些东西或误解了VS2010项目中IIS设置的意图.欢迎任何评论.

Hi All

I want to deploy the WCF service (.net 4.0) to IIS 7 and use the built in deployment capabilities of Visual Studio 2010 for this. There is a good article about that on msdn http://msdn.microsoft.com/en-us/library/dd465323.aspx but there is still one unclear thing for me.

I want to set "enable 32 bit applications" app pool setting during deployment and it seems like there is a special option to do this in Package/Publish Web section of visual studio project. There are two checkboxes there, namely:  "Include all IIS settings as configured in IIS" and "Include application pool settings used by this Web project". But when I select them, build a deployment package and deploy it to IIS on different computer then "enable 32 bit applications" is not set in the target environment (WCF service itself is installed successfully and working).

Probably I'm missing something or misunderstood the intention of IIS settings inside the VS2010 project. Any comments are welcome.

推荐答案

您好YevgenC,

Hi YevgenC,

我认为您也可以在IIS中设置应用程序池.在高级设置"对话框中,设置 启用32位应用程序正确.

I think you also can set the app pool in the IIS. In the Advanced Settings dialog box, set Enable 32-Bit Applications to True.

最诚挚的问候,

迪斯利


这篇关于使用VS2010部署功能在IIS 7中启用32位应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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