{"action":"created","issue":{"url":"https://api.github.com/repos/dahall/TaskScheduler/issues/322","repository_url":"https://api.github.com/repos/dahall/TaskScheduler","labels_url":"https://api.github.com/repos/dahall/TaskScheduler/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/dahall/TaskScheduler/issues/322/comments","events_url":"https://api.github.com/repos/dahall/TaskScheduler/issues/322/events","html_url":"https://github.com/dahall/TaskScheduler/issues/322","id":314357453,"number":322,"title":"Problem between Version 1 and Version 2","user":{"login":"dahall","id":14349943,"avatar_url":"https://avatars0.githubusercontent.com/u/14349943?v=4","gravatar_id":"","url":"https://api.github.com/users/dahall","html_url":"https://github.com/dahall","followers_url":"https://api.github.com/users/dahall/followers","following_url":"https://api.github.com/users/dahall/following{/other_user}","gists_url":"https://api.github.com/users/dahall/gists{/gist_id}","starred_url":"https://api.github.com/users/dahall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dahall/subscriptions","organizations_url":"https://api.github.com/users/dahall/orgs","repos_url":"https://api.github.com/users/dahall/repos","events_url":"https://api.github.com/users/dahall/events{/privacy}","received_events_url":"https://api.github.com/users/dahall/received_events","type":"User","site_admin":false},"labels":[{"id":901867625,"url":"https://api.github.com/repos/dahall/TaskScheduler/labels/codeplex-disc","name":"codeplex-disc","color":"e5e5e5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-14T20:00:36Z","updated_at":"2018-04-14T20:00:39Z","closed_at":null,"author_association":"OWNER","body":"\r\n\r\nI use version 1 setting for a XP machine and i cannot set Daily Trigger, neither Weekly trigger. But everything work fine on my Win7 machine. I have invalid range value exception on my XP machine. Any idea?\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nI have this error on:\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\ntd.Triggers.Add(trigger);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nThe trigger contain :\r\n\r\n\r\n\r\n{Trigger Type: RunDaily;\\n> Start: 2011-04-15 01:01:00; End: 2011-04-26 00:00:00;\\n> DurMin: 0; DurItv: 1;\\n>}\r\n\r\n\r\n\r\nType version1... when version2 all work fine.\r\n\r\n\r\n\r\nThe Trigger is made with this code:\r\n\r\n\r\n\r\n            Trigger trigger = new DailyTrigger()\r\n             {\r\n                Enabled = true,\r\n                StartBoundary = executionTime,\r\n                DaysInterval = (short)scheduleDaily.IntervalDays,\r\n                EndBoundary = endingTime\r\n             };\r\n    \r\n    \r\n    \r\n    -Edit : \r\n    I have referenced the code of your library and the problem occur in SetV1TriggerData&gt;():\r\n    You can see a screenshot : http://clip2net.com/clip/m12122/1302878625-clip-47kb.png\r\n    Complete error message:\r\n    System.ArgumentException occurred&nbsp; Message=Value does not fall within the expected range.&nbsp; Source=Microsoft.Win32.TaskScheduler&nbsp; StackTrace:&nbsp; &nbsp; &nbsp; &nbsp;at Microsoft.Win32.TaskScheduler.V1Interop.ITaskTrigger.SetTrigger(TaskTrigger&amp; Trigger)&nbsp; &nbsp; &nbsp; &nbsp;at Microsoft.Win32.TaskScheduler.Trigger.SetV1TriggerData() in C:\\dev\\20-LabPlusV3\\Trunk\\Tools\\TaskScheduler\\TaskService\\Trigger.cs:line 606&nbsp; InnerException:&nbsp;\r\n    \r\n    Stack:\r\n\r\n\r\n\r\n\r\n\r\n\r\n    &nbsp; &nbsp;at Microsoft.Win32.TaskScheduler.V1Interop.ITaskTrigger.SetTrigger(TaskTrigger&amp; Trigger)&nbsp; &nbsp;at Microsoft.Win32.TaskScheduler.Trigger.SetV1TriggerData() in C:\\dev\\20-LabPlusV3\\Trunk\\Tools\\TaskScheduler\\TaskService\\Trigger.cs:line 606\r\n\r\n\n\rOriginally posted: 2011-04-15T07:21:20"},"comment":{"url":"https://api.github.com/repos/dahall/TaskScheduler/issues/comments/381356388","html_url":"https://github.com/dahall/TaskScheduler/issues/322#issuecomment-381356388","issue_url":"https://api.github.com/repos/dahall/TaskScheduler/issues/322","id":381356388,"user":{"login":"dahall","id":14349943,"avatar_url":"https://avatars0.githubusercontent.com/u/14349943?v=4","gravatar_id":"","url":"https://api.github.com/users/dahall","html_url":"https://github.com/dahall","followers_url":"https://api.github.com/users/dahall/followers","following_url":"https://api.github.com/users/dahall/following{/other_user}","gists_url":"https://api.github.com/users/dahall/gists{/gist_id}","starred_url":"https://api.github.com/users/dahall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dahall/subscriptions","organizations_url":"https://api.github.com/users/dahall/orgs","repos_url":"https://api.github.com/users/dahall/repos","events_url":"https://api.github.com/users/dahall/events{/privacy}","received_events_url":"https://api.github.com/users/dahall/received_events","type":"User","site_admin":false},"created_at":"2018-04-14T20:00:39Z","updated_at":"2018-04-14T20:00:39Z","author_association":"OWNER","body":"\r\n\r\nSure here is the structure :\r\n\r\n\r\n\r\nPart1:\r\n\r\n\r\n\r\n﻿﻿http://clip2net.com/clip/m12122/1302889422-clip-30kb.png\r\n\r\n\r\n\r\nPart2:\r\n\r\n\r\n\r\nhttp://clip2net.com/clip/m12122/1302889452-clip-29kb.png\r\n\r\n\r\n\r\nPart3:\r\n\r\n\r\n\r\nhttp://clip2net.com/clip/m12122/1302889612-clip-12kb.png\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nI want to add that UniqueTrigger work :P bot not the daily and weekly. Monthly seems to work too. Confusing :S\r\n\r\n\n\rOriginally posted: 2011-04-15T11:44:45"}}
{"actor":{"display_login":"dahall"}}