logo       

membership provider: msg#00155

Subject: membership provider
Jiri,
    Although the web.config works fine, you are correct that the
reference is being removed and added back in. I have omitted that
section and have updated the web.config to what it should be.

Steven Ramacher

<?xml version="1.0"?>

<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0";>
        
 <appSettings/>
        
  <connectionStrings>
                <add name="Membership" connectionString="character
set=UNICODE_FSS;source=127.0.0.1;Initial
Catalog=C:\MEMBERSHIP_PROVIDER.FDB;user id=SYSDBA;password=masterkey"
providerName="FirebirdSql.Data.FirebirdClient"/>
                <add name="Roll" connectionString="character
set=UNICODE_FSS;source=127.0.0.1;Initial
Catalog=C:\ROLE_PROVIDER2.FDB;user id=SYSDBA;password=masterkey"
providerName="FirebirdSql.Data.FirebirdClient"/>
        </connectionStrings>
  
        <system.web>

        <authorization>
   <allow roles="MyApp" />
   <deny users="?" />
  </authorization>
                
    <compilation debug="true" strict="false" explicit="true">
                        <assemblies>
                                <add
assembly="FirebirdSql.Data.FirebirdClient, Version=2.0.1.0,
Culture=neutral, PublicKeyToken=3750ABCC3150B00C"/>
                                <add assembly="System.Windows.Forms,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                                <add assembly="System.Design,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                                <add
assembly="FirebirdSql.Web.Providers, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=3D06A02581B682F8"/></assemblies>
          </compilation>
    
                <pages>
                        <namespaces>
                                <clear/>
                                <add namespace="System"/>
                                <add namespace="System.Collections"/>
                                <add
namespace="System.Collections.Specialized"/>
                                <add namespace="System.Configuration"/>
                                <add namespace="System.Text"/>
                                <add
namespace="System.Text.RegularExpressions"/>
                                <add namespace="System.Web"/>
                                <add namespace="System.Web.Caching"/>
                                <add
namespace="System.Web.SessionState"/>
                                <add namespace="System.Web.Security"/>
                                <add namespace="System.Web.Profile"/>
                                <add namespace="System.Web.UI"/>
                                <add
namespace="System.Web.UI.WebControls"/>
                                <add
namespace="System.Web.UI.WebControls.WebParts"/>
                                <add
namespace="System.Web.UI.HtmlControls"/>
                        </namespaces>
                </pages>
    
                <membership defaultProvider="FbNewMembershipProvider">
                        <providers>
                                <add connectionStringName="Membership"
passwordFormat="Clear" name="FbNewMembershipProvider"
type="FirebirdSql.Web.Providers.FbMembershipProvider,
FirebirdSql.Web.Providers, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=3D06A02581B682F8" applicationName="Admin"
requiresQuestionAndAnswer="True" enablePasswordRetrieval="False"
minRequiredPasswordLength="6" requiresUniqueEmail="false"/>
                        </providers>
                </membership>
    
                <roleManager enabled="true"
defaultProvider="FbRoleProvider">
                        <providers>
                                <clear/>
                                <add connectionStringName="Roll"
applicationName="/" name="FbRoleProvider"
type="FirebirdSql.Web.Providers.FbRoleProvider,
FirebirdSql.Web.Providers, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=3D06A02581B682F8"/>
                        </providers>
                </roleManager>
    
                <!--
            The <authentication> section enables configuration 
            of the security authentication mode used by 
            ASP.NET to identify an incoming user. 
        -->
                <authentication mode="Forms"/>
                <!--
            The <customErrors> section enables configuration 
            of what to do if/when an unhandled error occurs 
            during the execution of a request. Specifically, 
            it enables developers to configure html error pages 
            to be displayed in place of a error stack trace.

        <customErrors mode="RemoteOnly"
defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>
        -->
        </system.web>
  
</configuration> 

-----Original Message-----

> <DbProviderFactories>
>
> <remove invariant="FirebirdSql.Data.FirebirdClient"/>
>
> <add name="FirebirdClient Data Provider"
invariant="FirebirdSql.Data.FirebirdClient" description=".Net Framework
Data Provider for Firebird"
type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory,
FirebirdSql.Data.FirebirdClient, Version=2.0.1.0, Culture=neutral,
PublicKeyToken=3750abcc3150b00c"/>
>
> </DbProviderFactories>

Why are you removing FirebirdSql.Data.FirebirdClient and then adding it
back?

-- 
Jiri {x2} Cincura
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe