问题
I already search all the web but can't find any problem similar.
Note: The following problem only occurs on production.
In my mvc website if i reload any page multiple times, css, javascript files and images begin to give "500 - Internal Server Error".
It doesn't happen with all the files. Some of the files that are giving the error are: fontawesome.min.css and chartnew.js.
If i call the files directly they work, but if i reload they begin to give the asp default error page "500 - Internal Server Error" without any other details (Already tried without custom errors and using detailed error view).
Any ideas?
Thanks.
回答1:
Resolved removing this at the webconfig:
<urlCompression doDynamicCompression="true" doStaticCompressions="True" dynamicCompressionBeforeCache="true" />
来源:https://stackoverflow.com/questions/28954037/some-javascript-css-images-returns-500-internal-server-error