我在Windows8.1和IIS7上安装了ColdFusion 11开发版(从Adobe site下载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>发布于 2014-07-11 21:43:13
从web.config中删除MIME类型
<mimeMap fileExtension=".air" mimeType="application/vnd.adobe.air-application-installer-package+zip" />并保存该文件。重新启动IIS,这应该会解决该问题。
发布于 2014-11-07 15:43:01
在将ColdFusion11更新到升级2(补丁)后,这也发生在我身上,不知何故,它读取了C:\Coldfusion11\cfusion\wwwroot下的web.config文件。我所做的只是将web.config重命名为类似web的名称- error.config IIS将跳过此文件并正常运行。当文件存在时,我甚至无法从IIS管理器访问MIME配置,因此删除或重命名该文件是我的解决方案。这也在:http://blog.immanuelnoel.com/2014/09/22/busting-the-http-error-500-19-on-coldfusion-11-iis/中讨论过,可能是coldfusion初始配置下的一个错误。
发布于 2014-12-10 01:48:29
从web.config中删除mime类型就足够了,在我们的示例中,它的其余内容也没问题;请注意,这通常与ColdFusion站点相关,而与ColdFusion管理员无关。该问题开始于从IIS10(更新级别11)升级到11 (更新级别0) (在IIS7.5,Windows Server2008 R2上),并将连接器从旧版本更改为ColdFusion 11 (如安装文档“验证您的installation”部分所述)。它有两个积极的影响:
https://stackoverflow.com/questions/24680549
复制相似问题