Click here to Skip to main content
15,896,522 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Working with APP_LocalResources Pin
FJJCENTU7-Jun-10 9:51
FJJCENTU7-Jun-10 9:51 
GeneralRe: Working with APP_LocalResources Pin
Sandeep Mewara7-Jun-10 10:12
mveSandeep Mewara7-Jun-10 10:12 
GeneralRe: Working with APP_LocalResources Pin
FJJCENTU8-Jun-10 6:27
FJJCENTU8-Jun-10 6:27 
GeneralRe: Working with APP_LocalResources Pin
Sandeep Mewara8-Jun-10 6:54
mveSandeep Mewara8-Jun-10 6:54 
QuestionUsing a Login Pin
vn214567-Jun-10 7:50
vn214567-Jun-10 7:50 
AnswerRe: Using a Login Pin
Not Active7-Jun-10 9:05
mentorNot Active7-Jun-10 9:05 
AnswerRe: Using a Login Pin
Sandeep Mewara7-Jun-10 9:09
mveSandeep Mewara7-Jun-10 9:09 
GeneralRe: Using a Login [modified] Pin
vn214568-Jun-10 22:52
vn214568-Jun-10 22:52 
Sandeep Mewara wrote:
Your question is not at all clear. Could you please update it and put it properly?


Hi
By steps.
Through the ASP.NET Configuration database created with the default name ASPNETDB.MDF.
Adding multiple users in the database.
Through the element login page login.aspx. check whether this user (with his login and password) in the database.
Then configure web.config(ie set up the provider in your web.config). Setting up the example from msdn.
01.<?xml  version="1.0"?>
02. 
03.<configuration>
04. <appSettings/>
05.  
06. <connectionStrings>
07. <add name="SqlServices" connectionString="Data Source=localhost;Integrated Security=SSPI;Initial Catalog=aspnetdb;" />
08. </connectionStrings>
09. <system.web>
10. <authentication mode="Forms">
11. <forms loginUrl="login.aspx"
12.  name=".ASPXFORMSAUTH" />
13. </authentication>
14. 
15. <authorization>
16. <!--<deny users="?"/>-->
17. </authorization>
18. 
19. 
20. <membership defaultProvider="SqlProvider"
21. userIsOnlineTimeWindow="15">
22. <providers>
23.  <add
24.  name="SqlProvider"
25.  type="System.Web.Security.SqlMembershipProvider"
26.  connectionStringName="SqlServices"
27.  applicationName="MyApplication"
28.  enablePasswordRetrieval="false"
29.  enablePasswordReset="true"
30.  requiresQuestionAndAnswer="true"
31.  requiresUniqueEmail="false"
32.  passwordFormat="Hashed"
33.  maxInvalidPasswordAttempts="5"
34.  passwordAttemptWindow="10" />
35. </providers>
36. </membership>
37. 
38. </system.web>
39.</configuration>

Obviously misconfigured provider for the database

modified on Wednesday, June 9, 2010 5:02 AM

Questionwebsite language translater Pin
sumit70347-Jun-10 6:51
sumit70347-Jun-10 6:51 
AnswerRe: website language translater Pin
Sandeep Mewara7-Jun-10 9:07
mveSandeep Mewara7-Jun-10 9:07 
QuestionRefresh page while record added in database Pin
Karan_TN7-Jun-10 6:34
Karan_TN7-Jun-10 6:34 
AnswerRe: Refresh page while record added in database Pin
Sandeep Mewara7-Jun-10 9:04
mveSandeep Mewara7-Jun-10 9:04 
QuestionAvoiding Button Double Click (DropDownList) Pin
Karan_TN7-Jun-10 6:32
Karan_TN7-Jun-10 6:32 
AnswerRe: Avoiding Button Double Click (DropDownList) Pin
Sandeep Mewara7-Jun-10 9:01
mveSandeep Mewara7-Jun-10 9:01 
QuestionAsp.net - Session Timeout Pin
karthi167-Jun-10 6:12
karthi167-Jun-10 6:12 
AnswerRe: Asp.net - Session Timeout Pin
Sandeep Mewara7-Jun-10 8:57
mveSandeep Mewara7-Jun-10 8:57 
Questionissue with boolean datatype Pin
bigphish7-Jun-10 6:09
bigphish7-Jun-10 6:09 
AnswerRe: issue with boolean datatype Pin
Sandeep Mewara7-Jun-10 8:48
mveSandeep Mewara7-Jun-10 8:48 
GeneralRe: issue with boolean datatype Pin
bigphish7-Jun-10 19:29
bigphish7-Jun-10 19:29 
GeneralRe: issue with boolean datatype Pin
bigphish7-Jun-10 21:10
bigphish7-Jun-10 21:10 
AnswerRe: issue with boolean datatype Pin
J$8-Jun-10 13:22
J$8-Jun-10 13:22 
QuestionLogin Problem Pin
Gjm7-Jun-10 3:53
Gjm7-Jun-10 3:53 
AnswerRe: Login Problem Pin
Not Active7-Jun-10 4:46
mentorNot Active7-Jun-10 4:46 
GeneralRe: Login Problem Pin
Gjm7-Jun-10 7:00
Gjm7-Jun-10 7:00 
GeneralRe: Login Problem Pin
walterhevedeich7-Jun-10 16:11
professionalwalterhevedeich7-Jun-10 16:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.