ASPNet Windows Token Role Provider Issue
<p>I am trying to use the default aspnetwindowstoken provider to authorize users in an application that I am using windows impersonation to log users in.  If I add a IsInRole to the code behind the page in the page load, I can see the user is in the proper roles, but when I add the authorization to the web.config, I am getting 401 unauthorized errors.  Not sure if I am missing something or not, but any help you can give would be appreciated.  Below is my web.config.</p>

<pre><code>&lt;system.web&gt;
    &lt;compilation debug="true" targetFramework="4.0" /&gt;
    &lt;customErrors mode="Off" defaultRedirect="Error.aspx" redirectMode="ResponseRewrite" /&gt;
    &lt;profile&gt;
      &lt;providers&gt;
        &lt;clear /&gt;
        &lt;add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" /&gt;
      &lt;/providers&gt;
    &lt;/profile&gt;

    &lt;authentication mode="Windows" /&gt;

    &lt;roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider" /&gt;
    &lt;authorization&gt;
      &lt;deny users="?" /&gt;
      &lt;allow roles="DOMAIN\Group" /&gt;
    &lt;/authorization&gt;
  &lt;/system.web&gt;
</code></pre>

<p>Any help you can give will be appreciated.</p>

<p>Thanks
Nick</p>
