I developed a windows task scheduler to run on machine 1 by taking a remote m/c IP address and port number (say machine 2) where my web site is hosted in IIS, and invokes methods in the service. The hosted service in IIS uses "Integrated Windows Authentication". These 2 machines are Windows Server 2003 in a workgroup environment.

When my task scheduler runs I get an error - "The server has rejected the client credentials."

Please let me know how do I remotely execute a method hosted in IIS, using a scheduler on a remote machine. The scheduler uses WCF NetTcpBinding to invoke the service method.

Thanks in advance,