Quantcast
Channel: Task Scheduler Managed Wrapper
Viewing all articles
Browse latest Browse all 2206

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

$
0
0
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
Comments: ** Comment from web user: dahall **

The exception was thrown when this wrapper calls into the COM Task Scheduler property to get the XML.


Viewing all articles
Browse latest Browse all 2206

Latest Images

Trending Articles



Latest Images

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