Copy link to clipboard
Copied
The BASICS:
Windows Server 2008 R2 Standard
ColdFusion 9.0.1 Enterprise
IIS 7
Using CF Administrator:
- two instances created/configured under a single cluster
Using IIS Manager:
- one new site created
- site webroot points to a UNC share
Using Web Server Configuration Tool, configured the following:
- JRun Server: the new CF cluster
- IIS Website: ALL
- Configure webserver for ColdFusion 9 applications is checked.
I double checked and the new site does seem to be correctly configured; the Handler Mappings section lists IsapiModule entries for .cfc, .cfm and .cfml file extensions.
The PROBLEM:
IIS serves .htm pages but I always get that File not found error for any and all ColfFusion pages. I have restarted IIS, ColdFusion, the even the server.
Here's a snippet from the log file:
07/05 15:56:54 Error [jrpp-1] - File not found: /home.cfm The specific sequence of files included or processed is: \\abc\share$\realfolder\home.cfm''
07/05 16:00:28 Error [jrpp-1] - File not found: /index.cfm The specific sequence of files included or processed is: \\abc\share$\realfolder\\index.cfm''
But the files I am requesting ARE present in the path listed above. So it seems that IIS is looking in the right place. And, like I mentioned, IIS is serving .htm files without issue. And the error page is coming from ColdFusion, so it would seem that IIS is indeed passing the request over to ColdFusion for processing. It seems that it's only ColdFusion that is blind to the presence of .cfm files.
Could this be a permissions issue? Do I need to configure a mapping somewhere? FYI, I had a ColdFusion/IIS configuration working earlier today on the same server but the files were local and not on a network share.
Any troubleshooting tips would be greatly appreciated.
Thanks,
Rod
Copy link to clipboard
Copied
UPDATE:
I simplified my configuration as part of my troubleshooting efforts and IIS/CF is now successfully serving .cfm pages. I removed the cluster using the ColdFusion Administrator, did a wholesale restart and then used the Web Server Configuration Tool to configure just a single instance as the ColdFusion-based site in IIS (not the cluster). This is not exactly a solution, I know, but at least I can move forward.
Originally, I thought the problem was due to insufficient rights being granted to the domain account under which the IIS site was running. Now it seems that clustering in CF9.01 is just wonky, particularly when the site root is on a UNC path.
I was able to configure a clustered CF site when the site root was on the local disk. Has anyone successfully configured a ColdFusion cluster behind IIS when the site root is a network share? Just looking for confirmation that it CAN work.
Rod
Copy link to clipboard
Copied
I solved this problem. When the doc root is a UNC share, the issue is folder ownership. I deleted and recreated the doc root folders on the UNC path while logged in as the domain user that the ColdFusion service runs under and everything started working properly... no more File not found errors. It wasn't enough to give that account Full Control rights on the doc root folder. The account had to OWN the folder. As far as I know, there are two ways to take ownership of a folder on Windows: 1) create the folder yourself (worked for me) or 2) as an Administrator, transfer ownership to a specific account (never tested this). I never found any specific references to this point anywhere so just thought I'd share.
Rod
Copy link to clipboard
Copied
Rod,
Noticed your post. I am having similar issue with CF 9, Win 2003 R2, iis 6. All files but .cfm will run. CF Admin is running correctly. You mention the webcluster. Just wanted some clarification. Are your web site files stored on the webcluster?
Thanks.