1

Closed

TaskEditDialog constructor crash in Windows 10 Enterprise version 1703

description

The TaskEditDialog constructor generates an exception in a Windows 10 Enterprise version 1703.
I haven't reproduce the issue in a Windows 10 Pro.

Exception:
Index was outside the bounds of the array.
IndexOutOfRangeException.

I'm working with the version 2.5.27 of Task Scheduler Managed Wrapper

file attachments

Closed Jul 20 at 3:29 PM by dahall

comments

dahall wrote Jun 27 at 2:47 PM

I know what happened to cause this. While I'm working on correcting the code, you can work around this by adding a manifest to your application and including the following:
  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
    <application>
      <!-- Windows 10 -->
      <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
    </application>
  </compatibility>

dahall wrote Jun 27 at 4:52 PM

My last comment, after further testing, is incorrect. Microsoft, in those new versions of Windows, has upgraded the library to version 1.6, causing the problem. I'm correcting it now.

dahall wrote Jun 27 at 5:22 PM

Fixed in 2.5.28 released today

wrote Jun 27 at 5:23 PM

wrote Jun 29 at 9:45 AM

Colecas wrote Jun 29 at 9:45 AM

With version 2.5.28 of the wrapper, I don't get the exception as before, but now I get the access denied.
I create the task with an account who belongs to the Administrator group of the machine.

dahall wrote Jun 29 at 9:46 AM

** Closed by dahall 6/27/2017 10:23 AM

wrote Jun 29 at 9:46 AM

Colecas wrote Jul 12 at 3:08 PM

Ok, you can close this issue.

wrote Jul 20 at 3:29 PM