问题描述
我在Windows 8.1和IIS7上安装了ColdFusion 11 Developer版本(从Adobe网站下载了3个月的试用版)。尝试打开ColdFusion管理员时出现此错误(请参见下文)。是否有逐步解决此问题的示例?
I installed ColdFusion 11 Developer version (downloaded from Adobe site 3 months trial) on Windows 8.1 and IIS7. I got this error when trying to open the ColdFusion administrator (see below). Is there a step by step example on how to fix this?
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information:
Module CustomErrorModule
Notification SendResponse
Handler cfmHandler
Error Code 0x800700b7
Config Error Cannot add duplicate collection entry of type 'mimeMap' with unique key attribute 'fileExtension' set to '.air'
Config File \localhost\?\C:\inetpub\wwwroot\web.config
Requested URL localhost:80/administrator/CFIDE/index.cfm
Physical Path C:\inetpub\wwwroot\administrator\CFIDE\index.cfm
Logon Method Anonymous
Logon User Anonymous
Config Source:
4: <staticContent>
5: <mimeMap fileExtension=".air" mimeType="application/vnd.adobe.air-
application-installer-package+zip" />
6: </staticContent>
推荐答案
从web.config删除MIME类型
Remove the MIME type from web.config
< mimeMap fileExtension =。air mimeType = application / vnd.adobe.air-application-installer-package + zip />
并保存文件。重新启动IIS,这应该可以解决问题。
<mimeMap fileExtension=".air" mimeType="application/vnd.adobe.air-application-installer-package+zip" />
and save the file. Restart IIS and that should fix the issue.
这篇关于ColdFusion 11安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!