Some Javascript + CSS + Images returns 500 Internal Server Error

寵の児 提交于 2019-12-11 23:58:23

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!