ColdFusion 11 IIS连接器ExecuteAppCmd.exe并排配置不正确

时间:2014-10-23 00:29:28

标签: iis coldfusion iis-7 coldfusion-11

我在Windows 2008 Server R2上有一个干净的开发人员安装ColdFusion 11和IIS。当我运行wsconfig.exe(作为管理员),然后我点击“添加”我在控制台输出中得到以下内容:

java.io.IOException: Cannot run program "C:\Users\ADMINI~1.CFW\AppData\Local\Tem
p\2\\ExecuteAppCmd\ExecuteAppCmd.exe": CreateProcess error=14001, The applicatio
n has failed to start because its side-by-side configuration is incorrect. Pleas
e see the application event log or use the command-line sxstrace.exe tool for mo
re detail
        at java.lang.ProcessBuilder.start(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        at com.adobe.coldfusion.connector.connectorinstaller.IISWebSites.getWebS
ites(IISWebSites.java:289)
        at com.adobe.coldfusion.connector.connectorinstaller.IISWebSites.scanMet
abase(IISWebSites.java:66)
        at com.adobe.coldfusion.connector.connectorinstaller.IISWebSites.<init>(
IISWebSites.java:51)
        at com.adobe.coldfusion.connector.connectorinstaller.gui.AddConfigDialog
.getWebServerPanel(AddConfigDialog.java:269)
        at com.adobe.coldfusion.connector.connectorinstaller.gui.AddConfigDialog
.initDialog(AddConfigDialog.java:158)
        at com.adobe.coldfusion.connector.connectorinstaller.gui.AddConfigDialog
.<init>(AddConfigDialog.java:92)
        at com.adobe.coldfusion.connector.connectorinstaller.gui.ConfigFrame$2.a
ctionPerformed(ConfigFrame.java:297)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$200(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.IOException: CreateProcess error=14001, The application has f
ailed to start because its side-by-side configuration is incorrect. Please see t
he application event log or use the command-line sxstrace.exe tool for more deta
il
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(Unknown Source)
        at java.lang.ProcessImpl.start(Unknown Source)
        ... 46 more

IIS安装了这些功能:

  • 静态内容
  • 默认文档
  • HTTP错误
  • ASP.NET
  • .NET可扩展性
  • CGI
  • ISAPI扩展程序
  • ISAPI过滤器
  • HTTP日志记录
  • Windows身份验证
  • 请求过滤
  • IP和域限制
  • IIS管理工具

我最初的方法是逐步使用ColdFusion 11 Lockdown Guide进行安装。在我意识到这个问题之前,我已经进入了“运行ColdFusion Web服务器配置工具”部分。

在浏览了所有安全设置并更改了一些服务登录后,我卸载了ColdFusion(64位),然后IIS重新启动。然后,我使用安全配置文件和IIS重新安装CF11开发版。我在安装时使用的Web服务器选项是使用内置服务器。没有进一步锁定。同样的问题。

ColdFusion Administrator会在浏览器上加载。

安装了以下MS VC ++:

  • Microsoft Visual C ++ 2008 Redistributable - x86 9.0.30729
  • Microsoft Visual C ++ 2012 Redistributable - x86 11.0.61030
  • Microsoft Visual C ++ 2012 Redistributable - x64 11.0.61030

我不确定这里有什么,任何想法都值得赞赏。

2 个答案:

答案 0 :(得分:1)

正如克里斯所说,答案是确保你有正确的&#34; bitness&#34;对于MS VC ++可再发行组件包。可以在此link from MS找到该软件包的正确下载,并可在我的博客link上找到进一步的解释。

答案 1 :(得分:0)

我在错误帖子中找到了答案:

https://bugbase.adobe.com/index.cfm?event=bug&id=3761543

由于ColdFusion安装是64位,因此需要安装MS C ++ 2008 x64 SP1 Redistributable软件包。 ColdFusion安装仅安装32位版本的2008。

http://www.microsoft.com/en-us/download/details.aspx?id=2092

安装完成后,它就可以了。