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

S

Sunfire

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

Roland Dick

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,835
Latest member
KetoRushACVBuy

Latest Threads

Top