No element in the source document matches /configuration/system.web/authorization/
<p>I have the next issue when transforming my Web.Config: </p>

<blockquote>
  <p>No element in the source document matches '/configuration/system.web/authorization/allow[@roles='WhateverGroupNameRenamedForProd']'</p>
</blockquote>

<p>Here my
<strong>Web.Config:</strong></p>

<pre><code> &lt;system.web&gt;
&lt;compilation targetFramework="4.5.2" debug="true" /&gt;
&lt;httpRuntime targetFramework="4.5" /&gt;
&lt;authorization&gt;
  &lt;allow roles="WhateverGroupName" /&gt;
  &lt;deny users="*" /&gt;
&lt;/authorization&gt;
</code></pre>

<p>
And the <strong>Web.Production.Config:</strong></p>

<pre><code>&lt;system.web&gt;
&lt;compilation xdt:Transform="RemoveAttributes(debug)" /&gt;
&lt;authorization&gt;
  &lt;allow roles="WhateverGroupNameRenamedForProd" xdt:Transform="SetAttributes" xdt:Locator="Match(roles)"/&gt;
&lt;/authorization&gt;
</code></pre>

<p></p>

<p>What I'm doing wrong? Thanks in advance :)</p>