______Error using RegisterTaskDefinition on Window10 Proffessional______
When calling "RegisterTaskDefinition", the error I am getting is:
the task xml contains a value which is incorrectly formatted or out of range
Exception from HResult:0x80041318
Any help is appreciated.
Comments: ** Comment from web user: dahall **
When calling "RegisterTaskDefinition", the error I am getting is:
the task xml contains a value which is incorrectly formatted or out of range
Exception from HResult:0x80041318
Any help is appreciated.
Comments: ** Comment from web user: dahall **
Without information regarding the settings, triggers, and actions you have added to the TaskDefinition, I am unable to troubleshoot your issue. Please also ensure that the account running your code has sufficient permissions to create a task. I will also need to know the OS on which you're running the code and how you are instantiating the TaskService instance.