Getting COMExcpetion when attempting to register changes in a Windows 8.1 PC

Topics: Errors
Nov 11, 2013 at 3:22 PM
Edited Nov 11, 2013 at 3:23 PM
I've create a task using this library, that worked.

Now when I use the TaskEdit dialog in the following way:
Using D As New TaskEditDialog()
    Using Tsk As Task = ts.GetTask("\MyTasks\Task1")
        D.Editable = True
        D.RegisterTaskOnAccept = True
    End Using
End Using
I get a COMException with __error code -2147216615 __and a message of (45,8):Period:. I have noticed that if I change the Configure For dropdown to Windows 7, Windows Server 2008 R2 it saves.

What am I doing wrong or does this library not support Windows 8.1 as yet?
Nov 12, 2013 at 5:16 PM
I'm not sure what is causing your error. I would change your code sample to:
Using D as New TaskEditDialog(ts.GetTask("\MyTasks\Task1"), True, True)
End Using
Let me know if that changes anything. I had tested this on 8.1. If you are seeing the error still, please post the result of the D.Task.Xml after calling the constructor (or Initialize) but before calling ShowDialog.
Nov 12, 2013 at 6:52 PM
Hi thanks for the suggestion but unfortunately it didn't work. The output from D.Task.xml is:
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="">
        <Description>Collect Totals</Description>
    <Actions Context="Author">
            <Command>C:\Users\darm\Documents\Visual Studio 2010\Projects\MyApp\Deliverable\Application\Task Runner.exe</Command>
        <Principal id="Author">
Nov 19, 2013 at 9:20 AM
Hi is there any news on this issue?
Jan 5, 2014 at 11:11 AM
I've also encountered this issue! I'm using C# and am getting the exact same exception for TaskEditDialog. When I change the dropdown to Windows 7, Windows Server 2008 R2, task saves fine.
This error appears when using the example code snippet for TaskEditDialog on the website.
I'd be very interested to know of any updates.
Jan 7, 2014 at 4:53 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.