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

ASP.NET

 
AnswerRe: Having Issues to logging users to active directory through web form Pin
Nathan Minier16-Aug-19 8:29
professionalNathan Minier16-Aug-19 8:29 
Assuming your variables are well-named, you're doing a subtree search off of a full DN. You want a search scope of "Base". A user object has no subtree; it's not a container like an OU.

Another suggestion, your structure is highly coupled and can be easily jacked up by very minor changes to the directory. Assuming that you're using a SAM Name for login, you can completely skip the SQL server.

If you really need the SQL, though, you're doing it wrong. Use a parameterized query to leverage the DBMS rather than pulling the whole table and iterating it locally. So many wasted cycles!
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor

QuestionHow to Import and Export Excel File in ASP.NET MVC? Pin
Member 1455824213-Aug-19 8:41
Member 1455824213-Aug-19 8:41 
AnswerRe: How to Import and Export Excel File in ASP.NET MVC? Pin
ZurdoDev13-Aug-19 10:00
professionalZurdoDev13-Aug-19 10:00 
AnswerRe: How to Import and Export Excel File in ASP.NET MVC? Pin
Vincent Maverick Durano13-Aug-19 11:17
professionalVincent Maverick Durano13-Aug-19 11:17 
GeneralRe: How to Import and Export Excel File in ASP.NET MVC? Pin
Member 1455824214-Aug-19 8:49
Member 1455824214-Aug-19 8:49 
QuestionSending Email using ASP.NET(MVC) SMTP Pin
Anandkumar Prajapati11-Aug-19 18:54
professionalAnandkumar Prajapati11-Aug-19 18:54 
AnswerRe: Sending Email using ASP.NET(MVC) SMTP Pin
Richard MacCutchan11-Aug-19 21:25
mveRichard MacCutchan11-Aug-19 21:25 
GeneralRe: Sending Email using ASP.NET(MVC) SMTP Pin
Anandkumar Prajapati20-Aug-19 21:13
professionalAnandkumar Prajapati20-Aug-19 21:13 
GeneralRe: Sending Email using ASP.NET(MVC) SMTP Pin
valycarrolito29-Aug-19 12:53
valycarrolito29-Aug-19 12:53 
QuestionWhy can't I Publish web site error warn ? Pin
Member 24584676-Aug-19 22:33
Member 24584676-Aug-19 22:33 
AnswerRe: Why can't I Publish web site error warn ? Pin
jkirkerx8-Aug-19 14:15
professionaljkirkerx8-Aug-19 14:15 
AnswerRe: Why can't I Publish web site error warn ? Pin
Member 24584678-Aug-19 18:55
Member 24584678-Aug-19 18:55 
GeneralRe: Why can't I Publish web site error warn ? Pin
jkirkerx9-Aug-19 10:36
professionaljkirkerx9-Aug-19 10:36 
GeneralRe: Why can't I Publish web site error warn ? Pin
Member 245846711-Aug-19 18:27
Member 245846711-Aug-19 18:27 
QuestionASP.net postback url problem Pin
UDTWS5-Aug-19 1:26
UDTWS5-Aug-19 1:26 
AnswerRe: ASP.net postback url problem Pin
Vincent Maverick Durano5-Aug-19 6:55
professionalVincent Maverick Durano5-Aug-19 6:55 
AnswerRe: ASP.net postback url problem Pin
jkirkerx5-Aug-19 12:48
professionaljkirkerx5-Aug-19 12:48 
QuestionServer-side Blazor and IE11 Pin
MSBassSinger2-Aug-19 5:57
professionalMSBassSinger2-Aug-19 5:57 
Question.Net Core V2.2 - Sending email or gmail using OAuth2 or secure settings in Gmail in the background without browser auth Pin
jkirkerx1-Aug-19 12:28
professionaljkirkerx1-Aug-19 12:28 
AnswerRe: .Net Core V2.2 - Sending email or gmail using OAuth2 or secure settings in Gmail in the background without browser auth Pin
Afzaal Ahmad Zeeshan1-Aug-19 14:37
professionalAfzaal Ahmad Zeeshan1-Aug-19 14:37 
GeneralRe: .Net Core V2.2 - Sending email or gmail using OAuth2 or secure settings in Gmail in the background without browser auth Pin
jkirkerx2-Aug-19 6:50
professionaljkirkerx2-Aug-19 6:50 
GeneralRe: .Net Core V2.2 - Sending email or gmail using OAuth2 or secure settings in Gmail in the background without browser auth Pin
jkirkerx2-Aug-19 11:45
professionaljkirkerx2-Aug-19 11:45 
AnswerThought I had it, Failed to open browser when running in Docker Container Pin
jkirkerx2-Aug-19 12:50
professionaljkirkerx2-Aug-19 12:50 
AnswerFigured it out [solved] Pin
jkirkerx3-Aug-19 13:44
professionaljkirkerx3-Aug-19 13:44 
GeneralRe: Figured it out [solved] - New Code Pin
jkirkerx5-Aug-19 13:22
professionaljkirkerx5-Aug-19 13:22 

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.