简体   繁体   English

在ColdFusion 11和ColdFusion 10上的WSCONFIG

[英]WSCONFIG on ColdFusion 11 and ColdFusion 10

I have a Windows 7 virtual machine that has ColdFusion 9 installed for development and testing. 我有一个装有ColdFusion 9的Windows 7虚拟机,用于开发和测试。 I need ColdFusion 10 and 11 as well for other projects. 对于其他项目,我也需要ColdFusion 10和11。

ColdFusion 9 is running perfectly, but when I spin up ColdFusion 10 or 11 and try to use WSCONFIG to configure a site in IIS, I get the following list of sites: ColdFusion 9运行完美,但是当我启动ColdFusion 10或11并尝试使用WSCONFIG在IIS中配置站点时,得到以下站点列表:

https://www.dropbox.com/s/v7mdgha536shk9t/Screenshot%202015-05-21%2023.29.14.png?dl=0 https://www.dropbox.com/s/v7mdgha536shk9t/Screenshot%202015-05-21%2023.29.14.png?dl=0

In reality each site in IIS has a separate name and when I delete a the site that each one is named after, in this case "cfadmin", all of the remaining sites show up in WSCONFIG as another one of the site names. 实际上,IIS中的每个站点都有一个单独的名称,当我删除一个以每个站点命名的站点(在本例中为“ cfadmin”)时,所有其余站点在WSCONFIG中显示为另一个站点名称。

I have never had this problem before. 我以前从未遇到过这个问题。 Can anyone point me in the right direction? 谁能指出我正确的方向?

Update: 更新:

As suggested in the comments, here are the results when I launched a command prompt as Administrator and ran the suggested command: 如注释中所建议,以下是我以管理员身份启动命令提示符并运行建议的命令时的结果:

C:\\Users>%windir%\\system32\\inetsrv\\appcmd list sites SITE "cfadmin" (id:3,bindings:,state:Unknown) SITE "mccalmon" (id:1,bindings:http/ :80:,state:Unknown) SITE "Virtus" (id:5,bindings:,state:Unknown) SITE "EMSA" (id:9,bindings:,state:Unknown) SITE "Classic" (id:10,bindings:,state:Unknown) SITE "Test" (id:2,bindings:http/ :80:local.test.com,state:Unknown) C:\\ Users>%windir%\\ system32 \\ inetsrv \\ appcmd列出站点Scf“ cfadmin”(id:3,bindings:,state:Unknown)SITE“ mccalmon”(id:1,bindings:http / :80:,state :未知)SITE“ Virtus”(id:5,bindings:,state:Unknown)SITE“ EMSA”(id:9,bindings:,state:Unknown)SITE“ Classic”(id:10,bindings:,state:Unknown) )网站“测试”(ID:2,绑定:http /:80:local.test.com,状态:未知)

All of your site "state" are " Unknown ". 您网站的所有“状态”均为“ 未知 ”。 The problem seems to be with your sites only. 问题似乎只在于您的网站。 If appcmd is not able to identify the correct state, then, ColdFusion will definitely not be able to recognize the same. 如果appcmd无法识别正确的状态,则ColdFusion绝对无法识别相同的状态。 The sites state would be unknown, if the IIS Server is stopped/shut down. 如果IIS服务器已停止/关闭,则站点状态将是未知的。

For eg, my server shows the below information with the "%windir%\\system32\\inetsrv\\appcmd list sites" command. 例如,我的服务器通过“%windir%\\ system32 \\ inetsrv \\ appcmd列表站点”命令显示以下信息。

SITE "Default Web Site" (id:1,bindings:http/*:80:,state:Started)
SITE "CF9"  (id:2,bindings:http/*:81:,state:Started)
SITE "CF10" (id:3,bindings:http/*:82:,state:Stoped)
SITE "CF11" (id:3,bindings:http/*:83:,state:Started)

You can try IISRESET in command prompt to restart IIS. 您可以在命令提示符下尝试IISRESET来重新启动IIS。 Then, launch the Web Server Config tool as administrator and create the connector. 然后,以管理员身份启动Web Server Config工具并创建连接器。

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

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