Solved

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

Posted on 2012-03-27
8
2,205 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

This is an updated version of a post made on my blog over 3 years ago. It is unfortunately, still very relevant as we continue to see both SQLi (SQL injection) and XSS (cross site scripting) attacks hitting some of the most recognizable website and …
I spent nearly three days trying to figure out how incorporate OAuth in Coldfusion for the Eventful API. Hopefully, this article will allow Coldfusion Programmers to buzz through the API when they need to. Basically, what this script does is authori…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

756 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