Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2012-03-27
8
Medium Priority
?
2,313 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
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 

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 18

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

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

597 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