Author: djs25uk | Posted on: 7/30/2010 8:56:29 AM | Views : 317

Dear All
I have the following section in my web.config file. I've just added the <clear /> tag in so that the local ASP .net database is not created automatically anymore because I want to use different providers.
<roleManager enabled="true" cacheRolesInCookie="true" cookieName=".ASPROLES" cookieRequireSSL="true"> <providers> <clear /> <add name="SandboxProvider" connectionStringName="SandboxDB" applicationName="/" type="System.Web.Security.SqlRoleProvider"/> <add name="StPaulsProvider" connectionStringName="StPaulsDB" applicationName="/" type="System.Web.Security.SqlRoleProvider"/> </providers> </roleManager> I'm setting the RoleProvider at runtime so I don't want to specify a defaultProvider. However, when I start ...

Go to the complete details ...