Hi
I try to use MembershipProvider in web project and has the following
strange result:
I can manager accounts as admin, but if I use asp Login from the page I
always receive "login failed".
I even create the simplest project with login form and destination form,
but results are the same.
In order to be exact here is my actions step by step:
1) prepare database test.fdb using FbMembershipProvider1.5.sql
2) create new web project with 2 pages, on first page asp:Login, on second
page asp:label
3) add web.config to the project and tune it as following:
<connectionStrings>
<add name="Test" connectionString="character set=NONE;data
source=localhost;initial
catalog=C:\TestWeb\WebSite1\App_Data\test.fdb;user
id=SYSDBA;password=masterkey"
providerName="FirebirdSql.Data.FirebirdClient"/>
</connectionStrings>
<compilation debug="true">
<assemblies>
<add assembly="FirebirdSql.Data.FirebirdClient, Version=2.1.0.0,
Culture=neutral, PublicKeyToken=3750abcc3150b00c"/>
<add assembly="FirebirdSql.Web.Providers, Version=2.1.0.0,
Culture=neutral, PublicKeyToken=3d06a02581b682f8"/>
</assemblies>
</compilation>
<authentication mode="Forms">
<forms loginUrl="Default.aspx" />
</authentication>
<membership defaultProvider="TestPrv">
<providers>
<clear/>
<add name="TestPrv"
type="FirebirdSql.Web.Providers.FbMembershipProvider"
connectionStringName="Test"
enablePasswordRetrieval="false"
enablePasswordReset="false"
minRequiredNonalphanumericCharacters="0"
minRequiredPasswordLength="3"
requiresQuestionAndAnswer="false"
requiresUniqueEmail="false"
passwordFormat="Clear"
commandTimeout="120"
/>
</providers>
</membership>
4) Open ASP.Net Configuration and add a user.
5) Check in test database that it was created.
Start application.
Any attempt to login return login failed.
Check database record directly and see that LASTACTIVEDATE and
LASTLOGINDATE are updating by the values equal to my attempts to login.
Does anybody knows where is a problem.
Best regards,
Valery
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider