简体   繁体   English

在应用程序池上安装Web服务会使所有已安装的服务的应用程序池更改

[英]Installing web service on an app pool causes the app pool to change for all the installed services

Windows Server 2008, IIS 7.5. Windows Server 2008,IIS 7.5。 Using "Web Deployment Projects inside of "Web Setup Projects" to deploy web services. I had some Web Services installed. When I installed a new one and targeted a different app pool, all the existing services were switched to the new app pool after the setup completed. Any ideas as to what might be causing this? 使用“ Web安装程序项目”内部的“ Web部署项目”来部署Web服务。我已经安装了一些Web服务。当我安装了一个新的服务并定位到另一个应用程序池时,所有现有服务都将在切换到新的应用程序池之后设置完成。关于什么可能导致此问题的想法?

After searching a little bit more, the following question and answer set me on the right track: How can I create a new application pool in a Web Setup Project? 经过更多搜索之后,以下问答将我带到了正确的轨道上: 如何在Web安装项目中创建新的应用程序池?

After seeing the above, I perused the codebase of the solution I'm working on for classes that inherit from Installer, and found several. 看到上述内容之后,我仔细研究了我正在研究的解决方案的代码库,以了解从Installer继承的类,并找到了几个解决方案。 The problem appears to be that in the overriden Install method, they were changing the app pool for all of the virtual directories that belong to the site to which the package is being installed. 问题似乎是在覆盖的Install方法中,他们正在更改属于要安装软件包的站点的所有虚拟目录的应用程序池。

In short, what I thought was a setup config issue is really an annoying custom action issue. 简而言之,我认为安装设置问题确实是一个令人讨厌的自定义操作问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM