aspnet.mdf file still is created even though i created a custom provider?

  • Thread starter Thread starter Sunfire
  • Start date Start date
S

Sunfire

How do you make it so the aspnet.mdf file doesnt get created even though I
created a custom provider?
 
Hi sunfire,
How do you make it so the aspnet.mdf file doesnt get created even though I
created a custom provider?

did you add a <clear/> to your web.config and set your provider as
defaultProvider like this:

<membership defaultProvider="myProvider">
<providers>
<clear/>
<add name="myProvider" (your membership provider)>
</providers>
</membership>

If you're using roleManager, add the clear to the provider list as well.

Hope this helps,

Roland
 
Back
Top