Solved

IIS 7, *.cfm pages return "The service is unavailable."

Posted on 2012-03-27
8
2,231 Views
Last Modified: 2012-04-02
I have a web server running Server 2008 R2 x64 Ent with IIS 7 and ColdFusion 9. One of my ColdFusion sites is running perfectly fine. I have another CF dev site that is a duplicate of the first one (in terms of files) that returns "The service is unavailable" in a browser. It is using its own website in IIS along with its own Application Pool. Why am I getting this error? All other file types work fine in this website (asp, html, etc). Only cfm files return this error. Any help is appreciated!
0
Comment
Question by:KeithADM
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
8 Comments
 
LVL 36

Expert Comment

by:SidFishes
ID: 37771580
Things to check

Have you got the site set to run as 32 bit? (my guess for the cause)

Are handler mapping correctly set up for cfm files?

Does the app pool have permissions to the site directories?
0
 

Author Comment

by:KeithADM
ID: 37771779
The AppPool is: Enable 32-Bit Applications -> False. When I change it to true and recycle the AppPool, then try to browse to the site, the browser tries to load the site indefinitely and nothing happens. If I change it back to False it immediately fails with "The service is unavailable."

Yesterday I created two Script Maps (Handler Mappings) as follows:

Request path: *.cfc
Executable: C:\JRun4\lib\wsconfig\jrun_iis6.dll

Request path: *.cfm
Executable: C:\JRun4\lib\wsconfig\jrun_iis6.dll

And they show up like this:

Name: ColdFusion Config
Path: *.cfc
State: Enabled
Path Type: Unspecified
Handler: IsapiModule
Entry Type: Local

Name: ColdFusion Config
Path: *.cfm
State: Enabled
Path Type: Unspecified
Handler: IsapiModule
Entry Type: Local

The AppPool is using a service account which has admin privileges, so yep.

Our production website (same files) runs just fine on this server, different IIS site and different AppPool. I know I must be missing something obvious...
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 37772518
Enable 32-Bit Applications -> False

then you must be running CF9 64 bit?


you also might try changed appPool Pipeline mode from integrated to classic (or vice versa)
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:KeithADM
ID: 37772568
Yep, CF9 64-bit.

I tried changing the AppPool from integrated to classic earlier today, no difference.
0
 
LVL 17

Expert Comment

by:Gaurav Singh
ID: 37773506
0
 

Author Comment

by:KeithADM
ID: 37773888
^^^ How is that link related? Are you suggesting to have IIS output more detailed error info?
0
 

Accepted Solution

by:
KeithADM earned 0 total points
ID: 37777117
This is fixed. I had to create the site and *then* run the ColdFusion Web Server Configuration Tool (Start > All Programs > Adobe > ColdFusion 9 > Web Server Configuration Tool) and add the new IIS site there.
0
 

Author Closing Comment

by:KeithADM
ID: 37795103
Found solution by myself.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question