Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Directoryentry.bind

    Hi

    I have a webapp that does queries against active
    directory. The app works fine when run from the local
    machine, but doesn't when run from remote machines. It
    gives [COMException (0x80072020) operations error], and
    points to Directoryentry.bind().

    Impersonation and intergrated security are enabled.

    Please assist.

    Solly Guest

  2. Similar Questions and Discussions

    1. DirectoryEntry.Invoke access is denied
      Yes, that code snippet works great if you are running on 2K3 server and have 2K3 native AD. It would not work if there is no Kerberos in the...
    2. path for DirectoryEntry
      Hi All I have a directory server hosting multiple OUs, and I found that all the users I created under each OU will not appear under "Users"...
    3. Binding DirectoryEntry to AD object via GUID
      I notice in the help files a reference that implies that you can create a DirectoryEntry object that binds directly to an active directory object...
    4. DirectoryEntry - enum users/groups...
      Hi, Joe, Thank You for pointing me in the right direction. My apps now captures the user's password with a text box and retrieves the user's...
    5. DirectoryEntry and CopyTo function
      Hi I am struggling to make a Web site/Web Directory copy work. I am using the System.DirectoryServices to connect to my localhost machine. ...
  3. #2

    Default Re: Directoryentry.bind

    What does your code look like? Often times, these kinds of errors happen
    because delegation does not work.

    If using Basic authentication or binding with specific credentials in your
    DirectoryEntry constructor fixes this, then it is likely a delegation issue.

    [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;329986[/url]

    Joe K.

    "Solly" <tjabadsm@telkom.co.za> wrote in message
    news:11b601c38c0a$ef83f4f0$a401280a@phx.gbl...
    > Hi
    >
    > I have a webapp that does queries against active
    > directory. The app works fine when run from the local
    > machine, but doesn't when run from remote machines. It
    > gives [COMException (0x80072020) operations error], and
    > points to Directoryentry.bind().
    >
    > Impersonation and intergrated security are enabled.
    >
    > Please assist.
    >
    Joe Kaplan \(MVP - ADSI\) Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139