How to connect remote servers tasks scheduler

Jul 16, 2012 at 12:48 PM
Edited Jul 17, 2012 at 7:20 AM

Hi

I am using Windows Server 2003 from where I want to connect Window Server 2008 task scheduler in my web application. I tried to do following but wont work. It work for locally (2003) but wont for remote server (2008)

e.g.

TaskService m_TaskService = new TaskService(@"\\testServer2008", "testUser", "testDomain", "testPassword", true);

Logon failure: unknown user name or bad password

We tried different combination, but it wont work for remote server. Does I missing something? Please provide guide lines to me.

Regards

Ajay

 
Coordinator
Jul 16, 2012 at 4:44 PM

Windows Server 2003 only has the 1.0 library locally. It will only connect to other Windows 2000 and 2003 servers. Windows Server 2003 R2 and later have the 2.0 libraries and can connect to either 1.0 or 2.0 capable servers.

Jul 17, 2012 at 7:24 AM

Hi dahall

I have following 2003 server

Windows Server 2003, Standard Edition
Build 3790 (Service Pack 2)

Ajay

 

 

Coordinator
Jul 17, 2012 at 9:41 PM

2008 can see tasks on other 2008 and 2003 servers. 2003 can only see other 2003.