Skip navigation.

Fixing SQL LoginsAll recent postsASP.NET Adaptive Rendering and Validator Controls

IIS6 Doesn’t Serve Encrypted JavaScript Files

We've encountered this problem at work several times and fixed it several times, too, because each time we'd forget what we did about it. :) We rely on a third-party ASP.NET custom control which comes with an encrypted JavaScript (.jse) file. What puzzled us was the fact that the control would seize to function on certain servers.

IIS6 doesn't serve MIME types it doesn't know about. Previous versions of IIS were a lot more lenient because of a wildcard MIME mapping. IIS6 will simply give you a 404 if it doesn't recognize a file extension.

The solution is a very simple one. Please refer to KB article IIS 6.0 Does Not Serve Unknown MIME Types (Q326965) for more information.

Comments

Comment permalink 1 Anish |
What is JScript.js in ASP.NET 2005
HOW to use ?

Emails and Notifications

Would you like to be notified when somebody responds to this post?  Would you like to have these comments emailed to you?

Submit your comment

Please enter only text since all HTML tags except hyperlinks will be stripped. Hyperlinks will become live links. Any comments with flaming or offensive language will be deleted. Be courteous to other posters. Thank you.

Your name (required):
Your email (optional):
Your site's URL (optional):
Enter this number
Type in the number above:
Comment (required):