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
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to