I wouldn't suggest you to grant a user with such a privilege (infact, even the admins don't have this privilege). You need to configure your service to run in the context of the "Local System" account. Is your web service hosted in IIS?
-Srihari On Thu, 11 Apr 2002, Srinivasa Sivakumar wrote: > thanks for the mail Srihari. How do I assign the "Act as part of the > operating system" privileage to the Windows 2000 user account? > ----- Original Message ----- > From: "Srihari Angaluri" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, April 11, 2002 2:51 PM > Subject: Re: [DOTNET] Impersonation error > > > I don't know much about how webservices are configured, but in general, > whatever service is trying to impersonate a user, it needs to run with > the local system account. It is called the TCB_NAME privilege, which is > "Act as part of the operating system". Only services running with this > privilege are able to successfully impersonate users. > > -Srihari > > On Thu, 11 Apr 2002, Srinivasa Sivakumar wrote: > > > Hi Guys, > > > > I'm trying to impersonate the ASP.NET pagers with the <identity> tag. In > > both machine.config and web.config I'm getting the same error. > > > > "Could not create Windows user tocken from the credentials specified in > the > > config file. Error from the operating system 'A required privilege is not > > held by the client.'" > > > > I've given access to the folders for the the impersonating user. Still I > get > > this error. Any idea? > > > > Thanks, > > Srinivasa Sivakumar > > > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > > subscribe to other DevelopMentor lists at http://discuss.develop.com. > > > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.