Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28058

Possible bug: Unable to set the "debug" attribute in the "compilation" section in web.config

$
0
0

There seems to be a bug in the APPCMD tool that prevents me from changing the "debug" attribute of the "compilation" section of a web.config file. I can change other attributes such as "batch" and "defaultLanguage" but the "debug" attribute refuses to change.

For example, the following commands work just fine:

appcmd set config "MySite" -section:compilation /batch:false
appcmd set config "MySite" -section:compilation /defaultLanguage:"c#"

But changing the "debug" attribute doesn't:

appcmd set config "MySite" -section:compilation /debug:false
appcmd set config "MySite" -section:compilation /debug:true

I've even tried more explicit section paths:

appcmd set config "MySite" -section:system.web/compilation /debug:false
appcmd set config "MySite" -section:system.web/compilation /debug:true

I have confirmed this to be the case on IIS7.0 running on Windows 2008 Standard Edition SP2 and IIS 7.5 running on Windows 7 Ultimate Edition.

I also checked the schema file for ASP.NET (C:\Windows\System32\inetsrv\config\schema\ASPNET_schema.xml) and there is no restriction on this setting.


Thanks
Kevin




Viewing all articles
Browse latest Browse all 28058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>