Re: Impersonation error "A required privillege is not held by the client"
From: Allen (agj@bigfoot.com)
Date: 12/31/02
- Next message: Waleed Ezz: ".Net and CAPICOM"
- Previous message: Hethu Nanayakara: "Re: Impersonation error "A required privillege is not held by the client""
- In reply to: Hethu Nanayakara: "Re: Impersonation error "A required privillege is not held by the client""
- Next in thread: Hethu Nanayakara: "ASP.NET impersonation KB article"
- Reply: Hethu Nanayakara: "ASP.NET impersonation KB article"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Allen" <agj@bigfoot.com> Date: Tue, 31 Dec 2002 10:07:58 -0000
On XP or 2000
Run - Control Panel, Administrative Tools, Local Security Policy
Choose - Local Policies, User Rights Assignment from the tree
"Act as part of OS" should be the second entry on the right hand pane
Regards
Allen
"Hethu Nanayakara" <hethu@lanka.com> wrote in message news:#GhhzrJsCHA.2596@TK2MSFTNGP12...
Thanks for the response.
How / Where do I set the "Act as part of the operating system" privilege?
Is it set on Web.Config ?
Thanks in advance
Hethu
"Allen" <agj@bigfoot.com> wrote in message news:u0yraVHsCHA.2628@TK2MSFTNGP09...
Hethu,
Try granting the user under which the process is running the "Act as part of the operating system" privilege.
Regards
Allen
"Hethu Nanayakara" <hethu@lanka.com> wrote in message news:eI73f##rCHA.1080@TK2MSFTNGP10...
I want to access a UNC shared folder from a WebService.
To do this, I impersonate the Asp.NET process in Web.config as below:
<identity impersonate="true" userName="domain\username" password="password" />
The user has Admin rights on the local machine.
However, this generates the following 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."
Can anyone tell me what I am doing wrong here?
Thanks
Hethu
- Next message: Waleed Ezz: ".Net and CAPICOM"
- Previous message: Hethu Nanayakara: "Re: Impersonation error "A required privillege is not held by the client""
- In reply to: Hethu Nanayakara: "Re: Impersonation error "A required privillege is not held by the client""
- Next in thread: Hethu Nanayakara: "ASP.NET impersonation KB article"
- Reply: Hethu Nanayakara: "ASP.NET impersonation KB article"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|