Coldfusion 9 安装 IIS7 问题
安装了 Windows Web Server 2008 R2 64 位、CF9 64 位、IIS7、ISAPI 扩展和过滤器以及 II6 元数据库兼容性。操作系统默认为 C,并尝试将 CF 安装到 D:
测试 IIS 并正确显示位于 http://localhost/index.html
然后我将 CF 安装到 D:\ ,单一标准服务器许可证,选择与所有 IIS 站点一起运行,选择 C:\inetpub\wwwroot 作为管理员的 Web 根目录,当它到达应该打开管理员来完成安装的位置时,它会打开浏览器并显示 500 错误。
现在,当我返回 http://localhost/index.html 时,如果我卸载,我还会收到 500 错误CF 我可以再次访问 html 页面。
CFIDE 大概已正确安装在 C:\inetpub\wwwroot 中。谁能告诉我哪里错了。
更新
确切的 IIS 错误
HTTP Error 500.0 - Internal Server Error
The page cannot be displayed because an internal server error has occurred.
Module IsapiModule
Notification ExecuteRequestHandler
Handler AboMapperCustom-28262
Error Code 0x800700c1
Requested URL http://127.0.0.1:80/test.htm
Physical Path C:\inetpub\wwwroot\test.htm
Logon Method Anonymous
Logon User Anonymous
解决如下
Windows web server 2008 R2 64 bit, CF9 64 bit, IIS7, ISAPI extensions and filters and II6 metabase compatability installed. OS is on C default, and trying to install CF to D:
Testing IIS and it shows index.html correctly from c:\inetpub\wwwroot at http://localhost/index.html
Then I install CF to D:\ , single standard server licence, select run with all IIS sites, select C:\inetpub\wwwroot as the web root for administrator, and when it gets to the bit where it is supposed to open up administrator to complete the installation it opens up the browser with a 500 error.
Now when I go back to http://localhost/index.html I also get a 500 error, if i uninstall CF I can again reach the html page.
CFIDE has been installed in C:\inetpub\wwwroot presumably correctly. Can anyone tell me where I'm going wrong please.
Update
The exact IIS error is
HTTP Error 500.0 - Internal Server Error
The page cannot be displayed because an internal server error has occurred.
Module IsapiModule
Notification ExecuteRequestHandler
Handler AboMapperCustom-28262
Error Code 0x800700c1
Requested URL http://127.0.0.1:80/test.htm
Physical Path C:\inetpub\wwwroot\test.htm
Logon Method Anonymous
Logon User Anonymous
Resolves as below
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
在“应用程序池”>“高级设置”下有一个“启用 32 位应用程序”设置。将其设置为 True,您将可以访问 CFIDE> 管理员页面。
There is a setting Enable 32-Bit Applications under Application Pool>Advanced settings. Set this to True and you will gain access to your CFIDE>Administrator page.
我建议首先尝试重新启动。这是事后听起来如此明显的事情之一,但你从未想到过它。我知道我在 IIS 下安装 CF 时遇到问题,必须重新启动服务器才能使其运行。
I would suggest first trying a restart. It is one of those things that after the fact sounds so obvious, but you never think of it. I know I have had problems with installing CF under IIS and had to restart the server to get it running.
我很羞愧地承认这一点,但问题是我以为的 cf9 64 位安装程序实际上是 32 位安装程序。
@Dave 和 @CfSimplicity 非常感谢你们的帮助,特别是 IIS 用户帐户的内容对我来说是新的学习。
I'm humiliated to admit it, but the problem was that what I thought was the cf9 64 bit installer, was the 32 bit one.
@ Dave and @ CfSimplicity many thanks for your help and in particular the IIS user account stuff was new learning for me.
尝试检查此文件夹的文件系统权限:
D:\ColdFusion9\runtime\lib\wsconfig
IIS 使用的帐户需要对此文件夹及以下文件夹的读取、执行和修改权限。
Try checking the file system permissions for this folder:
D:\ColdFusion9\runtime\lib\wsconfig
The account that IIS uses needs Read, Execute and Modify permissions on this folder and below.
可能是因为两个问题。
1) 您尚未在服务器管理器的Web 服务器(IIS) 中安装CGI、ISAPI 扩展和ISAPI 过滤器。
窗口2008 R2 with Coldfusion
2) 您需要在 IIS7 上启用 32 位应用程序。
内部 500 错误 CF9窗口2008
It might be because of two problems.
1) you haven't installed CGI, ISAPI extensions and ISAPI filters aren't installed yet in Web Server (IIS) of Server manager.
Window 2008 R2 with Coldfusion
2) you need to enable 32 bit application at IIS7.
Internal 500 error CF9 on Window 2008
我在 Windows 7 Home Premium 上尝试了不同的方法 - 请参阅 http://coldfusioner.blogspot.com/2011/12/fix-number-1-installing-64-bit.html
看来我通过手动使用IIS连接器批处理脚本成功了,然后安装处理程序后创建第二个默认网站。我上面的文章链接显示了我采取的步骤 - 一篇非常原始的文章,当我从其他人那里听到他们如何调整我的方法时,可能会对其进行完善。重要的是这有效;>)我希望它能帮助其他人......
I tried a different approach with my Windows 7 Home Premium - See http://coldfusioner.blogspot.com/2011/12/fix-number-1-installing-64-bit.html
It seems that I was successful by using the IIS Connector batch scripts manually and then to create a second default web site after installing the handlers. My article link above shows the steps I took - a very raw article and will likely be refined as I hear from others how they adapted my approach. The important thing is that this worked ;>) I hope it helps others...
问题可能是您的应用程序池是您的默认网站的一部分。可以将其设置为运行 32 位应用程序。尝试在 IIS 服务器的默认应用程序池中将 Enable32bit 设置为 false,重新启动应用程序池和 www 服务本身。然后尝试使用ColdFusion wsconfig工具添加IIS映射。即使服务器上没有安装 cf 9 updater 1,它也应该可以工作。
The problem could be that your Application Pool that is part of your default website. It is possible to set it to run 32 bit applications. Try setting the Enable32bit to false in the defaultapppool of your IIS server, restart the app pool and your www service itself. Then try to use the ColdFusion wsconfig tool to add the IIS mapping. It should work even without the cf 9 updater 1 being installed on the server.
在安装了 IIS 7.5 的 Windows 2008 服务器上安装 ColdFusion 9 时,为避免首次访问管理控制台时出现 500 错误,请将具有“完全控制”权限的“IIS_IUSRS”用户组包含到企业服务器中的 \Lib\wsconfig 文件夹中或标准服务器中的 \runtime\lib\wsconfig 文件夹。在开始ColdFusion安装之前,请确保已安装“IIS 6管理兼容性”功能,尤其是“IIS 6元数据库兼容性”功能。
假设您使用默认安装路径(C:\JRun4 for Enterprise 或 C:\ColdFusion9 for Standard),以下是分步方法:
以管理员身份启动 ColdFusion 安装程序。初始安装过程完成后,但在访问在线管理控制台之前,请执行以下操作:
1.) 在“开始”菜单中,选择“计算机”
2.) 在企业安装中,转至 C:\JRun4\lib。对于标准安装,请转到 C:\ColdFusion9\runtime\lib。
3.) 右键单击“wsconfig”并选择“属性”以打开 wsconfig 属性对话框。
4.) 单击“安全”选项卡。
5.) 单击“编辑”更改该文件夹的权限。
6.) 单击“添加...”添加新用户/组。
7.) 在“对象名称”字段中输入“IIS_IUSRS”,然后单击“确定”返回“权限”对话框。
8.) 在权限对话框中,确保突出显示“IIS_IUSRS”组,然后单击“允许”列中的“完全控制”,然后单击“确定”关闭对话框。确保权限更改将影响 wsconfig 下的所有文件和文件夹。
9.) 单击“确定”关闭 wsconfig 属性框。
返回 ColdFusion 安装程序向导并单击打开的 ColdFusion Administrator 链接继续安装。如果设置正确,一两分钟后,将出现带有 ColdFusion 管理员控制台的 Web 浏览器,以便您可以完成安装。
To avoid a 500 error when accessing the Administration console for the first time when installaing ColdFusion 9 on a Windows 2008 server with IIS 7.5 installed, include the "IIS_IUSRS" user group with "Full Control" to the \Lib\wsconfig folder in Enterprise server or \runtime\lib\wsconfig folder in Standard server. Before starting the ColdFusion install, make sure the "IIS 6 Management Compatibility" functions are installed, especially the "IIS 6 Metabase Compatibility" function.
Assuming that you use the default installation paths (C:\JRun4 for Enterprise or C:\ColdFusion9 for Standard), here is a step-by-step approach:
Begin the ColdFusion installer as an Administrator. At the completion of the initial installation process, but before accessing the online Administration console, do the following:
1.) At the Start Menu, select "Computer"
2.) In the Enterprise install, go to C:\JRun4\lib. For the Standard install, go to C:\ColdFusion9\runtime\lib.
3.) Right-click "wsconfig" and select "Properties" to open the wsconfig properties dialog box.
4.) Click the "Security" tab.
5.) Click "Edit" to change permissions for that folder.
6.) Click "Add..." to add a new user/group.
7.) Enter "IIS_IUSRS" in the Object name field and click OK to return to the Permissions dialog box.
8.) In the permissions dialog box, ensure that the "IIS_IUSRS" group is highlighted and click "Full Control" in the "Allow" column, then click "OK" to close the dialog box. Ensure that the permissions change will affect all files and folders under wsconfig.
9.) Click "OK" to close the wsconfig properties box.
Return to the ColdFusion installer wizard and continue the installation by clicking the open ColdFusion Administrator link. If the settings are correct, after a minute or two, a web browser with the ColdFusion Administrator Console should appear so you can complete the installation.