Click here to Skip to main content
15,881,424 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Why can't I login to the web even though the User and password are correct ? Pin
ZurdoDev10-Jan-20 1:00
professionalZurdoDev10-Jan-20 1:00 
GeneralRe: Why can't I login to the web even though the User and password are correct ? Pin
Member 245846714-Jan-20 16:19
Member 245846714-Jan-20 16:19 
GeneralRe: Why can't I login to the web even though the User and password are correct ? Pin
ZurdoDev14-Jan-20 16:52
professionalZurdoDev14-Jan-20 16:52 
AnswerRe: Why can't I login to the web even though the User and password are correct ? Pin
Richard Deeming10-Jan-20 2:32
mveRichard Deeming10-Jan-20 2:32 
GeneralRe: Why can't I login to the web even though the User and password are correct ? Pin
Member 245846714-Jan-20 16:24
Member 245846714-Jan-20 16:24 
GeneralRe: Why can't I login to the web even though the User and password are correct ? Pin
Richard Deeming15-Jan-20 0:25
mveRichard Deeming15-Jan-20 0:25 
GeneralRe: Why can't I login to the web even though the User and password are correct ? Pin
Member 245846716-Jan-20 20:23
Member 245846716-Jan-20 20:23 
GeneralRe: Why can't I login to the web even though the User and password are correct ? Pin
Richard Deeming17-Jan-20 0:30
mveRichard Deeming17-Jan-20 0:30 
There is nothing in any of the code you've posted that sets the roles for a user.

Computers aren't magic. If you don't tell the system that the user is in a particular role, then it doesn't have any way to know that the user is in that role. When you later ask it if the user is in that role, the only answer it can give you is "no".

Follow the link I provided in my previous message, and read about how to set up your application to support user roles.

(And you can ignore the ThreadAbortException - that's a normal part of redirecting the user to another page.)



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

QuestionHow do you have a DropDownList populated without default selected item? Pin
Member 114033049-Jan-20 6:07
Member 114033049-Jan-20 6:07 
AnswerRe: How do you have a DropDownList populated without default selected item? Pin
ZurdoDev9-Jan-20 6:40
professionalZurdoDev9-Jan-20 6:40 
GeneralRe: How do you have a DropDownList populated without default selected item? Pin
Member 114033049-Jan-20 6:56
Member 114033049-Jan-20 6:56 
GeneralRe: How do you have a DropDownList populated without default selected item? Pin
ZurdoDev9-Jan-20 7:59
professionalZurdoDev9-Jan-20 7:59 
GeneralRe: How do you have a DropDownList populated without default selected item? Pin
Mycroft Holmes9-Jan-20 10:14
professionalMycroft Holmes9-Jan-20 10:14 
QuestionHow to I make EmailButton_Click work? Pin
Member 114033048-Jan-20 4:59
Member 114033048-Jan-20 4:59 
AnswerRe: How to I make EmailButton_Click work? Pin
ZurdoDev8-Jan-20 5:21
professionalZurdoDev8-Jan-20 5:21 
AnswerRe: How to I make EmailButton_Click work? Pin
F-ES Sitecore8-Jan-20 5:45
professionalF-ES Sitecore8-Jan-20 5:45 
GeneralRe: How to I make EmailButton_Click work? Pin
Member 114033048-Jan-20 11:16
Member 114033048-Jan-20 11:16 
GeneralRe: How to I make EmailButton_Click work? Pin
F-ES Sitecore8-Jan-20 22:11
professionalF-ES Sitecore8-Jan-20 22:11 
QuestionHow do I make my GetCasesButton_Click work? Pin
Member 114033048-Jan-20 4:46
Member 114033048-Jan-20 4:46 
AnswerRe: How do I make my GetCasesButton_Click work? Pin
ZurdoDev8-Jan-20 5:19
professionalZurdoDev8-Jan-20 5:19 
GeneralRe: How do I make my GetCasesButton_Click work? Pin
Member 114033048-Jan-20 7:56
Member 114033048-Jan-20 7:56 
QuestionHow do I make my GetCasesButton_Click work? Pin
Member 114033048-Jan-20 4:33
Member 114033048-Jan-20 4:33 
AnswerRe: How do I make my GetCasesButton_Click work? Pin
ZurdoDev8-Jan-20 5:18
professionalZurdoDev8-Jan-20 5:18 
QuestionText with Audio Pin
Member 104440587-Jan-20 21:19
Member 104440587-Jan-20 21:19 
AnswerRe: Text with Audio Pin
ZurdoDev8-Jan-20 0:57
professionalZurdoDev8-Jan-20 0:57 

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.