Roles are not working
<p>I've manually published my asp.net website via ftp everything works fine( login,register etc..)
But roles are not working , for example : a page made only for admins can be accessed by normal users.</p>

<p>Here's my web.config:</p>

<pre><code>&lt;?xml version="1.0"?&gt;
&lt;configuration&gt;
  &lt;connectionStrings&gt;
    &lt;add name="MyConnStrg" connectionString="provider details..etc.."
      providerName="System.Data.SqlClient" /&gt;
  &lt;/connectionStrings&gt;
    &lt;system.web&gt;
      &lt;roleManager enabled="true" defaultProvider="MyWebsiteTC"&gt;
        &lt;providers&gt;
          &lt;add name="MyWebsiteTC"
          type="System.Web.Security.SqlRoleProvider"
          applicationName="/"
          connectionStringName="MyConnStrg" /&gt;
        &lt;/providers&gt;
      &lt;/roleManager&gt;
      &lt;membership defaultProvider="MyWebsiteTCMembershipProvider"&gt;
        &lt;providers&gt;
          &lt;add name="MyWebsiteTCMembershipProvider"
          type="System.Web.Security.SqlMembershipProvider"
          connectionStringName="MyConnStrg"
          enablePasswordRetrieval="false"
          enablePasswordReset="true"
          requiresQuestionAndAnswer="true"
          applicationName="/"
          requiresUniqueEmail="true"
          passwordFormat="Hashed"
          maxInvalidPasswordAttempts="5"
          minRequiredPasswordLength="7"
          minRequiredNonalphanumericCharacters="1"
          passwordAttemptWindow="10"
          passwordStrengthRegularExpression=""/&gt;
        &lt;/providers&gt;
      &lt;/membership&gt;

      &lt;compilation debug="true" targetFramework="4.0" /&gt;
      &lt;authentication mode="Forms"&gt;
        &lt;forms name=".KKDS"
          timeout="30"
          slidingExpiration="true"
          cookieless="UseCookies"
          defaultUrl="~/Default.aspx"
       /&gt;
      &lt;/authentication&gt;
    &lt;/system.web&gt;
&lt;/configuration&gt;
</code></pre>

<p>Admin files are in a folder with this web.config:</p>

<pre><code>&lt;?xml version="1.0"?&gt;
&lt;configuration&gt;
  &lt;system.web&gt;
    &lt;customErrors mode="Off"/&gt;
    &lt;authorization&gt;
      &lt;allow roles="Client" /&gt;
      &lt;deny users="?"/&gt;
    &lt;/authorization&gt;

  &lt;/system.web&gt;
&lt;/configuration&gt;
</code></pre>

<p>Roles were added for each user everything works fine but not the roles auth.
What can I do?</p>
