How to use the Profile other than default

Discussion in 'ASP .Net Security' started by Peter Afonin, Mar 3, 2010.

  1. Peter Afonin

    Peter Afonin Guest


    I'm making another attempt to find out how to use a different profile in the
    web application. I though it would be quite simple. but couldn't find an
    answer anywhere.

    All I need to know is how to call "i90ProfileProvider" instead of default
    "i90PartnerProfileProvider" in C# or VB.

    <profile defaultProvider="i90PartnerProfileProvider">
    <add name="i90PartnerProfileProvider"
    <add name="i90ProfileProvider"
    type="System.Web.Profile.SqlProfileProvider" connectionStringName="i90"/>


    There must be the way to do this. For user it works just fine:

    MembershipUser user=

    If there is a way to add a name for Profile Provider in web.config, then
    there must be a way to use it.

    Or I should do something entirely different to retrieve the user profile
    form another database?

    I would appreciate your help very much.

    Thank you.
    Peter Afonin, Mar 3, 2010
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.