Grover McBroom
asked on
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.
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.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Is it using any database? if yes then check if you have configured any thing like www.example.com/index.cfm in database also
ASKER
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.
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.
Dan