我在 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 可扩展性
- 电脑动画
- 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 可再发行组件 - x86 9.0.30729
- Microsoft Visual C++ 2012 可再发行组件 - x86 11.0.61030
- Microsoft Visual C++ 2012 可再发行组件 - x64 11.0.61030
我不确定这里发生了什么,任何想法表示赞赏。