0
Answer

Webclient() ingnoring set credentials

Photo of Vaibhav Jain

Vaibhav Jain

8y
726
1
I have a webclient exe which is invoked by Sql Agent.
SQL Agent uses service account to so when webclient exe is invoked it runs under that service account permission. I want my webclient to use different credential for my web call so I am setting webclient.credential with different user name & password but some how webclient does not change the permission from SQL agent service account to set credential.