In Windows IIS 8.5 web server, only the website default .cfm document works

I don't believe this is a ColdFusion problem but an IIS 8.5 lack or misconfiguration on Windows Server 2012.

I cannot get IIS 8.5 to correctly process ColdFusion files (.cfm).  If the .cfm file is the default document, it works fine but if the .cfm file is called directly, we get a 500.0 Server error  or an error 404, even though the .cfm file exists.

www.example.com  - Default document index.cfm runs fine. It makes no different which ColdFusion document it is, it runs fine if it is the default document but not shown in the URL or LINK.

But with the following example, the .cfm file does not run correctly:

www.example.com/index.cfm  If it's a cfm file, it generates the Error 500. If its an .htm file, no error. If the .htm file has CF code, there is no error but the code is not executed, just seen as though a text file.
Grover McBroomAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

systechadminConsultantCommented:
Did u checked if the mime type is added?
0
Yves NothereCommented:
You have to add a virtual directory called "jakarta" to every IIS web site and point it to the connector directory (for example: C:\ColdFusion11\config\wsconfig\1).
2

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dan McFaddenSystems EngineerCommented:
Can you post the contents of the 500 error that you are receiving?

Dan
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

systechadminConsultantCommented:
you might have done code or configuration for the www.example.com/index.cfm to run. If you are running www.example.com/index.cfm  manually then IIS is actualy taking is www.example.com/index.cfm /index.cfm

Kindly check the code or configuration in IIS
0
systechadminConsultantCommented:
Is it using any database? if yes then check if you have configured any thing like www.example.com/index.cfm  in database also
0
Grover McBroomAuthor Commented:
Yves Nothere: "You have to add a virtual directory called "jakarta" to every IIS web site ..."
I believe that was tried to no success but will try again on the next attempt.

Gaurav Singh: "Did u checked if the mime type is added? "
What needs to be added to the mime type? Can you give me an example?

Gaurav Singh:  "Is it using any database? if yes then check if you have configured ..."
I don't believe so. But I believe that's ruled out by writing some very basic CF code with no cfquery and the problem persists.

Dan McFadden: "Can you post the contents of the 500 error that you are receiving?"
Other than "HTTP Error 500.0 - Internal Server Error" what is it  you'd like?

Next step: I've installed a new totally fresh installation of the OS, Windows Server 2012 R2 with all the updates. Now I need to be sure IIS 8.5 is ready and I'll install CF11 again and use what I've learned and try again.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.