NetworkService does not work across domains

by Dominic Zukiewicz 23. October 2007 08:25
The Windows Service I built needed to access a web service on another domain (and in production on another server over the internet). The admin made the service run as NetworkService to reduce the security permissions.

I received an error stating:

"System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it"

The error, in my case, was not to do with a firewall, or a connection problem with regards to TCP/IP, its purely that the NetworkService account cannot  a)  accessanother domain, and b) access an internet resource.

Tags:

Misc

Powered by BlogEngine.NET 1.5.0.7
Theme by Interakting

Interakting

A full service digital agency offering online strategy, design and usability, systems integration and online marketing services that deliver real business benefits and ensure your online objectives are met.

Calendar

<<  February 2012  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

View posts in large calendar