mpaul
mpaul

Reputation: 157

Coldfusion/IIS - Errors occuring when refreshing pages

We have 2 load balanced web servers running Windows Server 2012 and ColdFusion 11 which replaced servers running Windows Server 2008 and ColdFusion 10. We had no issues under ColdFusion 10. Under ColdFusion 11 pages initially load without error but refreshing the page in the browser consistently produces error messages in Firefox developer tools similar to below.

GET http://abc.web.def.com/CFIDE/scripts/cfform.js [HTTP/1.1 304 Not Modified 98ms]

GET http://abc.web.def.com/CFIDE/scripts/masks.js [HTTP/1.1 500 Internal Server Error 105ms]

GET http://abc.web.def.com/includes/jquery/UI/jquery-ui-1.9.2.custom/js/jquery-1.8.3.js [HTTP/1.1 304 Not Modified 102ms]

GET http://abc.web.def.com/includes/jquery/UI/jquery-ui-1.9.2.custom/js/jquery-ui-1.9.2.custom.min.js [HTTP/1.1 500 Internal Server Error 105ms]

GET http://abc.web.def.com/myFolder/mySubFolder/myApp.css [HTTP/1.1 500 Internal Server Error 105ms]

Again, these errors don't occur on initial page load - only when the page is refreshed and as a result it is impossible to get a page to reload completely. The issue occurs on both of the new servers. We've compared every IIS and ColdFusion setting we can think of, to no avail.

Any idea as to what is going on here?

Upvotes: 1

Views: 409

Answers (1)

mpaul
mpaul

Reputation: 157

It turns out the culprit was the web.config files under the root folder of the sites (we have 2). I'm not even sure how it happened, but we seemed to have had a mixture of CF10 and CF11 versions of web.config, e.g.

Server 1:

  • site A with CF10 version
  • site B with CF11 version

Server 2:

  • site A with CF11 version
  • site B with CF10 version

My co-worked actually figured this out after getting an error in IIS manager when attempting to view mime types on one of the sites. IIS manager returned an error pointing to a problem with web.config.

Upvotes: 2

Related Questions