ASP.net and Active Directory

Author Message
twilliamsen

  • Total Posts : 217
  • Scores: 0
  • Reward points : 0
  • Joined: 1/18/2007
  • Status: offline
ASP.net and Active Directory Monday, December 10, 2007 3:24 AM (permalink)
0
I having difficulty trying to find an example where I can connect to AD and list an OU. 
 
I was able to to do it in ASP and VB, but was having some other issues (boss wanted in ASP.NET).
 
I have found examples on how to do authentication, but that won't work. 
 
Anybody have any examples for doing this?
 
#1
    ginolard

    • Total Posts : 1347
    • Scores: 23
    • Reward points : 0
    • Joined: 8/11/2005
    • Status: offline
    RE: ASP.net and Active Directory Thursday, December 13, 2007 3:21 AM (permalink)
    0
    I was going to post something similar.  I have some ASP.NET code to create an AD group.  If I access the website running this code from my machine I get the following error :-

    Exception Details: System.Runtime.InteropServices.COMException: An operations error occurred.

    It seems that this is an authentication issue but I don't know how to solve it.  I want MY credentials to be used by the ASP.NET code creating the group but all I can find are examples of how to implement Forms authentication which I don't really want to do as only 2 or 3 people are going to use this website.
    <message edited by ginolard on Thursday, December 13, 2007 3:22 AM>
    Author of ManagePC - http://managepc.net

     
    #2

      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 1 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2012 ASPPlayground.NET Forum Version 3.9