Impersonation Configuration Error

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

  1. #1

    Default Impersonation Configuration Error

    I have entered an identity element in my Web.Config file:

    <identity impersonate="true" userName="myDomain\myUserid"
    password="myPassword" />

    When I try to run my application, I get this error:

    "Could not create Windows user token from the credentials specified in
    the config file. Error from the operating system 'A required privilege
    is not held by the client. '"

    I have added my ASPNET account the Super User and Administrator groups
    and restarted IIS, but that didn't help.

    I have also tried updating my Machine.Config file without success.

    <processModel enable="true"
    ... blah blah blah ...
    userName="myDomain\myUserid" password="myPassword"
    comImpersonationLevel="Impersonate"
    ... blah blah blah .../>

    Can someone tell me clearly (using small words and specific steps)
    what I need to do to use the <identity> tag?

    Thanks!
    Mills Perry Guest

  2. Similar Questions and Discussions

    1. Indexing Service (MSIDXS OLEDB Provider) Error - Impersonation Fai
      I'm using the MSIDXS OLEDB provider in my ASP.NET application to search/query the Indexing Service catalogs for information. This works fine on my...
    2. ASP.NET Configuration Error
      I cannot configure web.config file properly on my system. Pls help me getting following error: Server Error in '/' Application....
    3. Configuration error ?
      I have a web APS application that works fine at home, with IIS. In IIS, the application is an application, not a file folder. When I copy the...
    4. Newbie: Access denied error when using impersonation
      I've written a simple web service in which I'm accessing some DLLs. When I run it, I get following error: CS0009: Metadata file...
    5. Configuration Error, out of no where!
      Isn't it always the case that as soon as you post, you solve the problem? Apparently, adding an extra "space" to a blank line in my web.config...
  3. #2

    Default Re: Impersonation Configuration Error

    Assign him following right:

    Act as part of the operating system

    Regards
    Wolfgang Steiner

    "Mills Perry" <MillsPerry@Yahoo.com> wrote in message
    news:c0878ce0.0308131307.5b3d109a@posting.google.c om...
    > I have entered an identity element in my Web.Config file:
    >
    > <identity impersonate="true" userName="myDomain\myUserid"
    > password="myPassword" />
    >
    > When I try to run my application, I get this error:
    >
    > "Could not create Windows user token from the credentials specified in
    > the config file. Error from the operating system 'A required privilege
    > is not held by the client. '"
    >
    > I have added my ASPNET account the Super User and Administrator groups
    > and restarted IIS, but that didn't help.
    >
    > I have also tried updating my Machine.Config file without success.
    >
    > <processModel enable="true"
    > ... blah blah blah ...
    > userName="myDomain\myUserid" password="myPassword"
    > comImpersonationLevel="Impersonate"
    > ... blah blah blah .../>
    >
    > Can someone tell me clearly (using small words and specific steps)
    > what I need to do to use the <identity> tag?
    >
    > Thanks!

    Wolfgang Steiner Guest

  4. #3

    Default Re: Impersonation Configuration Error

    How to do that? Is it possible to assign for a user from different domain? Moreover I am using Windows 7 - 64 bit.

    Quote Originally Posted by Wolfgang Steiner View Post
    Assign him following right:

    Act as part of the operating system

    Regards
    Wolfgang Steiner

    "Mills Perry" <MillsPerry@Yahoo.com> wrote in message
    news:c0878ce0.0308131307.5b3d109a@posting.google.c om...
    Unregistered 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