Reputation: 2887
I want to run application under ws2008 in the context of different user. I use System.Diagnostic.Process with user, password and domain. When I use this method and user belongs only to iis_iusrs group I get "The directory is invalid" message.
When I run runas command from cmd auth as a user I can run application.
Is there other way to run application in context of other user ?
Upvotes: 0
Views: 80
Reputation: 3250
I think this is because iis_iusrs does not have any access rights to a directory you are starting your app from.
Upvotes: 1