简体   繁体   中英

Set web config debug to false and broke project

We have a website that we have almost finished turning into an application. Everything works fine except a little issue with BrowserLink in IE 8 and IE 7. So I found somewhere that told me to change debug to false. So I did.

<!--<compilation debug="true" targetFramework="4.5">-->
  <compilation debug="false">

Unfortunately when I did that, this is what the login page looked like. 在此处输入图片说明

If anyone has any ideas of what could be causing this that would be awesome. I know that this is EXTREMELY general, but I don't really know what is causing the problem...Everything works fine when debug="true". And please don't tell me WHY it should be set to false, I have already read enough articles talking about that.

check the charset of the web.config open with any text editor u will see the which encode is there like:

  • ANSI
  • ISO
  • UTF-8

select the UTF-8 it may fix the issue

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM