Quantcast
Viewing all articles
Browse latest Browse all 2206

Closed Unassigned: Error creating TaskDefinition on Window10 Home [12187]

When I try to create the TaskDefinition and see the XMlText of a System Task(SQM data sender)
'tk.Definition.XmlText' threw an exception of type __'System.OutOfMemoryException'__ exception.

exception base: "Insufficient memory to continue the execution of the program"

StackTrace:
at Microsoft.Win32.TaskScheduler.V2Interop.ITaskDefinition.get_XmlText()
at Microsoft.Win32.TaskScheduler.TaskDefinition.get_XmlText()

Code:
// Get the service on the local machine
TaskService ts = new TaskService(targetServer, userName, accountDomain, password);

__Note:__ The wrapper successfully created the Task Definitions of some 70 odd system tasks before failing at this one.
TaskName: SQM data sender

I am using the latest version of the wrapper.

Thanks in advance
Any help will be appreciated

Viewing all articles
Browse latest Browse all 2206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>