Click here to Skip to main content
15,921,793 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to Dispaly Records on runtime. Pin
raushan_918-Mar-08 3:45
raushan_918-Mar-08 3:45 
AnswerRe: How to Dispaly Records on runtime. Pin
eyeseetee18-Mar-08 3:56
eyeseetee18-Mar-08 3:56 
GeneralRe: How to Dispaly Records on runtime. Pin
raushan_918-Mar-08 4:04
raushan_918-Mar-08 4:04 
AnswerRe: How to Dispaly Records on runtime. Pin
pmartike18-Mar-08 4:02
pmartike18-Mar-08 4:02 
AnswerRe: How to Dispaly Records on runtime. Pin
lbothell18-Mar-08 9:56
lbothell18-Mar-08 9:56 
GeneralRe: How to Dispaly Records on runtime. Pin
raushan_918-Mar-08 19:24
raushan_918-Mar-08 19:24 
GeneralRe: How to Dispaly Records on runtime. Pin
lbothell20-Mar-08 8:14
lbothell20-Mar-08 8:14 
GeneralLDAP with ASP.net Pin
v1i9n6o7d18-Mar-08 3:05
v1i9n6o7d18-Mar-08 3:05 
Hi,
I am trying to authenticate a user by using his Windows credentials on an intranet website. In my web.config I have authentication set to Windows and in IIS I have enabled Integrated Windows authentication on my virtual directory.

I am using System.DirectoryServices also

I have the following code snippet written in C#

DirectoryEntry direntry = new DirectoryEntry("LDAP://DC=xyz,DC=COM",Text1.text,Text2.Text);<br />
Try<br />
{<br />
 Object nat;<br />
nat = direntry.NativeObject;<br />
Response.Redirect("~/Forms/someform.aspx");<br />
}<br />
catch(Exception e)<br />
{<br />
<br />
}<br />

The above mentioned code works only for a particular username and password and for all others the
code throws a System.DirectoryServices.DirectoryServicesCOMException. I do not have any impersonation enabled in my web.config.
Any more inputs from my side or is this info sufficient for anybody trying to throw some light on the problem. Thanx in advance.
Generalradio button default selection Pin
Sandeep Akhare18-Mar-08 2:10
Sandeep Akhare18-Mar-08 2:10 
GeneralRe: radio button default selection Pin
danasegaranea18-Mar-08 2:13
danasegaranea18-Mar-08 2:13 
GeneralRe: radio button default selection Pin
Sandeep Akhare18-Mar-08 2:29
Sandeep Akhare18-Mar-08 2:29 
GeneralRe: radio button default selection Pin
EvilInside18-Mar-08 2:15
EvilInside18-Mar-08 2:15 
GeneralRe: radio button default selection Pin
Sandeep Akhare18-Mar-08 2:32
Sandeep Akhare18-Mar-08 2:32 
GeneralValues from Textbox Pin
danasegaranea18-Mar-08 2:07
danasegaranea18-Mar-08 2:07 
GeneralRe: Values from Textbox Pin
Not Active18-Mar-08 2:42
mentorNot Active18-Mar-08 2:42 
GeneralRe: Values from Textbox Pin
danasegaranea18-Mar-08 2:51
danasegaranea18-Mar-08 2:51 
GeneralRe: Values from Textbox Pin
Not Active18-Mar-08 3:16
mentorNot Active18-Mar-08 3:16 
GeneralRe: Values from Textbox Pin
danasegaranea18-Mar-08 20:15
danasegaranea18-Mar-08 20:15 
QuestionHow do i 'create a folder programmatically' ? Pin
munklefish18-Mar-08 2:01
munklefish18-Mar-08 2:01 
GeneralRe: How do i 'create a folder programmatically' ? Pin
eyeseetee18-Mar-08 4:04
eyeseetee18-Mar-08 4:04 
GeneralRe: How do i 'create a folder programmatically' ? Pin
munklefish18-Mar-08 4:23
munklefish18-Mar-08 4:23 
QuestionConfiguration Problem Pin
EvilInside18-Mar-08 1:51
EvilInside18-Mar-08 1:51 
GeneralRe: Configuration Problem Pin
Paul Conrad21-Mar-08 9:23
professionalPaul Conrad21-Mar-08 9:23 
QuestionHow to rotate div(text) with the use of javascript Pin
Trishul Tandel18-Mar-08 1:40
Trishul Tandel18-Mar-08 1:40 
AnswerRe: How to rotate div(text) with the use of javascript Pin
Mark J. Miller18-Mar-08 5:10
Mark J. Miller18-Mar-08 5:10 

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.