Solved

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

Posted on 2012-03-27
8
2,191 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
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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need help with EXECUTE sp_executesql in ColdFusion cfquery 10 37
Mac users not seeing updated files on web site 3 38
IIS FTP Logging 10 39
page view and f5 big ip 4 16
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 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