In our attempts to resolve the issue with writing to a sessions log, we have tried various approaches from the forum:
1 Running the process under a different account.
processInfo.StartInfo.Domain = "DOMAIN"
processInfo.StartInfo.UserName = "username"
processInfo.StartInfo.Password = securePwd
2. Running the executable under a different account:
session.ExecutableProcessUserName = "DOMAIN\username2"
session.ExecutableProcessPassword = securePwd2
And combinations of the two with not success. We are using impersonate in our web.config because it is required.
Any suggestions or insights you can provide, would greatly appreciated.