New Post: RunningTask Parameters/Arguments
Sorry for the earlier confusion. I was usingTaskService task = new TaskService(MachineName,null,null,null,false) instead ofTaskService task = new TaskService(MachineName,null,null,null,true) Now...
View ArticleNew Post: RunningTask Parameters/Arguments
You will only get that error with the "false" last parameter to TaskService if you are adding more than one Action to the TaskDefinition. Make sure there is only one and the parameters to TaskService...
View ArticleNew Post: RunningTask Parameters/Arguments
I am using V2 to call V1 tasks on another machine so I think it's forcing me to use the force 1.0 compatibility as the last parameter.It seems like the only way to do it is to re-register the task...do...
View ArticleNew Post: RunningTask Parameters/Arguments
You are correct on both accounts. To call the Run method on a V1 task, you need to force a V1 connection. You always have to call RegisterTaskDefinition after any changes to a task.
View ArticleNew Post: TaskEditDialog taking too much time,
var taskEditDialog = new TaskEditDialog(taskService, taskDefinition, true, false)I am making an object of TaskEditDialog. But it is taking too much time to do this. What is problem.
View ArticleNew Post: Com Handler Action not working in Win7x64
I recently figured this one out and have posted the update in the Downloads area.
View ArticleNew Post: ComHandlerAction Example
This is now working and is available under the Downloads area.
View ArticleNew Post: TaskEditDialog taking too much time,
See Comments in this post: http://taskscheduler.codeplex.com/workitem/9855. I believe this may resolve your problem.
View ArticleNew Post: TaskEditDialog taking too much time,
I am using v2 dlls of TaskSceduler. My application is on v4 and on Any CPU. I changed Any CPU to x86. But it didnt worked. Where are v4 dlls for TaskScheduler?
View ArticleNew Post: TaskEditDialog taking too much time,
ok, i tried again, shifted all my projects to x86 instead of only main project. Now it is working. But now problem is that I cannot shift my application to x86. Is there any way around for ANY CPU?,
View ArticleNew Post: TaskEditDialog taking too much time,
There is only one version of the two assemblies (DLLs) and to use both your project must support at least .NET 3.5 and must compile with the x86 setting in order to avoid the performance problem. You...
View ArticleNew Post: Scheduler dialog will not close after selecting the "Run with...
We are seeing one isolated case where the scheduler dialog will not close after selecting the "Run with highest privileges" option followed by clicking on the OK button. Our assigned tester was able to...
View ArticleNew Post: Scheduler dialog will not close after selecting the "Run with...
Will you please specify which controls/dialogs are being called, any initial settings for the TaskDefinition and the exact steps to replicate the problem?
View ArticleNew Post: Scheduler dialog will not close after selecting the "Run with...
Hi David,This issue seems to be isolated, and appears to occur only in an older version of our software (with an "older" version of the task scheduler source code). It doesn't occur in newer versions...
View ArticleNew Post: RunningTask Parameters/Arguments
How to add multiple argumentsif i addtd.Actions.Add(new ExecAction("myprogram.exe", "$(Arg0,Arg1,Arg2)"));i am getting errorcan any one explain about how to pass arguments to myprogram.exe using task...
View ArticleNew Post: Task schedular OXFF Error
I wrote the following codeTaskService taskService =newTaskService(); TaskDefinitiontaskDefinition = taskService.NewTask();taskDefinition.Actions.Add(newExecAction("program.exe",null,null));...
View ArticleNew Post: RunningTask Parameters/Arguments
Try to use the following code and then use separate string items in the Run command.td.Actions.Add(new ExecAction("myprogram.exe", "$(Arg0),$(Arg1),$(Arg2)")); task.Run("A", "B", "C");
View ArticleNew Post: Task schedular OXFF Error
The TimeTrigger you specified will only run the task one time. To get it to run at that time on a schedule, you will need to use one of the other schedule based triggers (daily, weekly or monthly).As...
View ArticleNew Post: RunningTask Parameters/Arguments
Thanks for reply.sorry i am not using task.Run() method to pass multiple arguments we need to pass arguments by providing spaces . newExecAction("program.exe", id+ " "+ startDate + " "+ endDate + " "+...
View ArticleNew Post: Task schedular OXFF Error
Task schedular reporting an error 0xff .i need to get operation completed sucessfully.But i am getting 0xff .how can i solve this problem.can i able to get the registered task Action and Time at which...
View Article