debugging - ASP.Net ScriptManager globally setting ScriptMode in Machine.Config -


The Web in all our applications. Debug = "False" in the config and the release is DLL.

We have many applications that now use script managers for .NET Ajax implementation. Script Manager has a Scriptmode that is set for release and debug mode for default Auto and when set to Auto, its value is set in the machine based on deployment - Retail = "true" setting . Config

I have never set up this flag on any set of our live production servers and so do not just do it!

My questions are:

  • Is there any information about setting this flag?
  • Is this the only way to release the Worldwide Script Manager Scriptmode? I will gladly set it up in a web. Configure instead
  • What problems can I encounter if I set this flag on a production server?

in machine.config & lt; Deployment Retail = "True" /> is almost always a good idea for the production server. This is some web. The configuration will override the settings and override them:

  • & lt; Compilation debug = "true" />
  • Page output tracing
  • Non-local access to detailed error messages
  • More good information on ScottGu's blog here:

    It is unlikely that you will run it in any problem by setting it to your production server, but first check it in a QA environment.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -