我在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>
答案 0 :(得分:4)
从web.config中删除MIME类型
<mimeMap fileExtension=".air" mimeType="application/vnd.adobe.air-application-installer-package+zip" />
并保存文件。重新启动IIS,这应该可以解决问题。
答案 1 :(得分:1)
在将Coldfusion 11更新为升级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配置下的一个错误。
答案 2 :(得分:1)
从web.config中删除mime类型就足够了,其剩余内容在我们的情况下是正常的;请注意,这一般与ColdFusion站点有关,而与ColdFusion Administrator无关。从ColdFusion 10(更新级别11)升级到11(更新级别0)(在IIS 7.5,Windows Server 2008 R2上),将连接器从旧版本更改为ColdFusion 11后,问题就开始了(因为安装文档指示在&# 34;验证您的IIS配置&#34;部分)。它有两个积极的影响:
答案 3 :(得分:0)
升级了吗?我遇到了类似的问题。我不得不手动禁用我的Coldfusion 9处理程序 如果您以前的Coldfusion处理程序仍处于活动状态,并且您不想删除它们,直到您确信11稳定,则可以在 web.config 文件中停用它们。
<handler>
<remove name="AboMapperCustom-somenumber" />
<remove name="AboMapperCustom-anothernumber" />
</handler>
web.config文件应该在每个网站的根目录中找到。