Pregunta

I need to sync a sql server database with data hosted on another web server. I wrote a C# console Application to call a web service to give me the data hosted on the other web server. I set up a job to run every 10 minutes in task scheduler in "Server Manager" for Windows Server 2008 R2 Enterprise Edition.

If I run the console application myself then everything works as it should. If I run it in the Task Scheduler using my username it also runs as it should. However if I run it using the NETWORK SERVICE user, which is what I need to do, then the app stops running once I try to contact the web service.

Where do I give NETWORK SERVICE the permissions to call a web service?

¿Fue útil?

Solución

It turns out that the their is the local services on my company servers are not allowed to call web services. I need to make a new internal account. Thanks Rene for your help.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top