|
-
April 13th, 2012, 12:20 PM
#1
Problem with Forms Authentication Provider
Hi, I have a problem with adding users to my database that I have created using the aspnet_regsql. The problem is that I can't seem to make it add users into the database using the WAT.
I can connect to the database using sql connection in c sharp and I can see the database from the database explorer.
maybe something is wrong with my code?
PHP Code:
<configuration>
<system.web>
<authentication mode="Forms" />
<membership>
<providers>
<add connectionStringName="MyMembershipConnString" applicationName="MyMembership"
enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true"
requiresUniqueEmail="true" passwordFormat="Hashed" name="MyMembershipProvider"
type="System.Web.Security.SqlMembershipProvider" />
</providers>
</membership>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<connectionStrings>
<add name="MyMembershipConnString"
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=aspnetdb;Integrated Security=True"/>
</connectionStrings>
</configuration>
thx for helping!
-
April 20th, 2012, 08:03 AM
#2
Re: Problem with Forms Authentication Provider
Are you getting any error?
If yes then post the error details. that could be helpful to track issue.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|