0

I have an ASP.Net MVC application with Entity Framework. Website is hosted on IIS. When I open website in browser and following line is written in web.config then I start getting all sorts of JavaScript errors. It is using many libraries like jquery, datatables, date controls etc. and start getting random JavaScript errors and date controls don't work. I can see those errors when I press F12 in brower.

<compilation targetFramework="4.5" />

But when I change the above line to following, then everything works fine.

<compilation debug="true" targetFramework="4.5" />

What is going on here?

Frank Martin
  • 3,147
  • 16
  • 52
  • 73
  • don't use `debug="true"` https://stackoverflow.com/a/621636/6527049 . can you post the javascript errors which you are getting? you have to fix the JS errors first – Vivek Nuna Nov 21 '22 at 05:29

0 Answers0