Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executing a file on another server
Message
De
15/03/2012 21:53:41
 
 
À
14/03/2012 16:20:56
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01538362
Message ID:
01538509
Vues:
43
I finally got it working.

From a server, under IIS, I can enable/disable a task from the Windows Scheduler as well as starting/stopping the execution of that task on a remote server. This requires the application pool identity to be changed to the same account as the one in the Windows Scheduler for the RunAs field. So, we just have to synchronize those related tasks to use the same username and password for the RunAs as the one defined in the application pool identity on the IIS server triggering the hit.

Now, what is confusing is that the enable and disable option requires /ru and /rp for the username and password. However, to end and run the task, you need to use the /u and /p options.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform