Solved

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

Posted on 2012-03-27
8
2,167 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
  • 5
  • 2
8 Comments
 
LVL 36

Expert Comment

by:SidFishes
Comment Utility
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
Comment Utility
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
Comment Utility
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
 

Author Comment

by:KeithADM
Comment Utility
Yep, CF9 64-bit.

I tried changing the AppPool from integrated to classic earlier today, no difference.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 17

Expert Comment

by:Gaurav Singh
Comment Utility
0
 

Author Comment

by:KeithADM
Comment Utility
^^^ 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
Comment Utility
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
Comment Utility
Found solution by myself.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

728 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now