我在Windows 8.1和IIS7上安装了ColdFusion 11 Developer版本(从Adobe网站下载3个月试用版)。我在尝试打开 ColdFusion 管理员时收到此错误(见下文)。有关于如何解决此问题的分步示例吗?
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 类型
<mimeMap fileExtension=".air" mimeType="application/vnd.adobe.air-application-installer-package+zip" />
并保存文件。重新启动 IIS,应该可以解决问题。
将 Coldfusion 11 更新到升级 2(补丁)后,这也发生在我身上, 它以某种方式读取 C:\Coldfusion1 下的 web.config 文件