Can anyone offer advice on troubleshooting a peculiar 500 error in IIS 7.5, ASP.Net 3.5 using Rick Strahl's JavaScriptResourceHandler?
The issue is occurring on one Windows Server 2008 R2 machine but not on another.
Here's an example of the response that fails on one machine:
HTTP/1.1 500 Internal Server Error
Content-Type: text/html
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Date: Thu, 16 Jun 2011 17:43:45 GMT
Content-Length: 1208
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
... (the rest of the response content)
This feedback does not provide much insight. Upon checking the IIS log files, I noticed it's returning a specific error code: 500.21 - Module not recognized.
I'm perplexed by why this works on one server but not the other.
Additional info: After comparing the web roots of both servers, the only discrepancies seem to be environment-specific configurations such as SSLRedirects and cache duration settings.