This project has moved. For the latest updates, please go here.

Unable to connect to server

Feb 11, 2012 at 4:37 PM

when I use

using (TaskService ts = new TaskService()) {}

if works perfectly locally. Now I would like to move to a server, so I start using:

using (TaskService ts = new TaskService("192.168.1.3","testuser",null,"PaSSword", false)) {} or

using (TaskService ts = new TaskService("192.168.1.3","testuser",null,"PaSSword", true)) {} or

using (TaskService ts = new TaskService("192.168.1.3","testuser","192.168.1.3","PaSSword", false)) {}

But now I never get a connection. When I do on the other hand:

schtasks /query /S 192.168.1.3 /U testuser /P PaSSword

I have no problem. Does anybody have a clue what I'm doing wrong?

Feb 14, 2012 at 3:26 PM

I figured it out, thanks.

Coordinator
Feb 15, 2012 at 3:59 PM

What was your solution?

Feb 23, 2012 at 1:10 AM

I use Windows 7 connecting to Windows 2008R2.

First UAC must be disabled on Windows 2008R2 otherwise access denied keeps apearing.

When I started using the hostname (computername) instead of the IPaddress, all worked.