Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   aspnet.mdf file still is created even though i created a custom provider? (http://www.velocityreviews.com/forums/t550672-aspnet-mdf-file-still-is-created-even-though-i-created-a-custom-provider.html)

Sunfire 11-10-2007 03:37 AM

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



Roland Dick 11-10-2007 04:30 AM

Re: aspnet.mdf file still is created even though i created a customprovider?
 
Hi sunfire,

Sunfire schrieb:
> 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


All times are GMT. The time now is 06:38 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.