What permissions are needed for windows service to do C# impersonation when started under a user account?
Date: Tue, 21 Dec 2004 17:06:38 -0800
What permissions are needed for windows service to do C# impersonation when
started under a user account?
I have a windows service that impersonates another account fine when it runs
under system account but fails to impersonate when run under a user account.
What permissions must the windows service user account have inorder to do
impersonation?
the error i get is: System.ComponentModel.Win32Exception: Access is denied
at myService.Service1.impersonatetest(String domain, String login, String
password, String path)
at myService.Service1.OnStart(String[] args)
Relevant Pages
- Re: Unable to start application to connect to Access database
... Make sure this user account has read/write permissions to the MDB file. ... Here's more info on impersonation: ... (microsoft.public.dotnet.framework.aspnet) - What permissions are needed for windows service to do C# impersonation when started under a user acc
... What permissions are needed for windows service to do C# impersonation when ... I have a windows service that impersonates another account fine when it runs ... under system account but fails to impersonate when run under a user account. ... What permissions must the windows service user account have inorder to do ... (microsoft.public.win2000.networking) - What permissions are needed for windows service to do C# impersonation when started under a user acc
... What permissions are needed for windows service to do C# impersonation when ... I have a windows service that impersonates another account fine when it runs ... under system account but fails to impersonate when run under a user account. ... What permissions must the windows service user account have inorder to do ... (microsoft.public.win2000.general) - Re: problems reading network file from ASP .NET
... I am using impersonation, and exactly that seems to be the problem. ... I went through and granted the approprite permissions to both the ... Either give the account such network permissions (likely with ... > For testing purposes you can have it run under your personal user account. ... (microsoft.public.dotnet.framework.aspnet) - Re: Windows Service Error
... Most likley the windows service does not have write permissions on that ... I suggest you have it run under a user account that does have the necessary ... > I have a windows service to do a "task" on my local box from ... (microsoft.public.dotnet.framework.aspnet) |
|