Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


mwilson
2016-04-01T15:48:02Z
Happy Friday o/

I'm running a local-machine evaluation of VisualCron (bloody impressed so far.) When I try to 'connect' in the Import tasks from the task scheduler window (everything is running on the local machine and I have local admin access) I get a simple dialog with the message "Error when connecting: (1,1148):WnfStateChangeTrigger:"

I left all the parameters the same when hitting 'connect' so it's:

Host name: "localhost"
User name, password, domain all blank.

When I hit okay to clear it I get about 20 lines of "'Repetition' is not supported for trigger type: Daily" warnings.

The bottom has a stack dump, pasted below (along with the last 3 other warnings)

Task: Office ClickToRun Service Monitor, 'Repetition' is not supported for Trigger type: Daily
Task: .NET Framework NGEN v4.0.30319 64 Critical, Trigger type not supported (ignoring): Idle
Task: .NET Framework NGEN v4.0.30319 Critical, Trigger type not supported (ignoring): Idle
Unhandled error: System.Runtime.InteropServices.COMException (0x80041316): (1,1148):WnfStateChangeTrigger:
at Microsoft.Win32.TaskScheduler.V2Interop.ITaskDefinition.set_XmlText(String value)
at Microsoft.Win32.TaskScheduler.Task.GetV2Definition(TaskService svc, IRegisteredTask iTask, Boolean throwError)
at Microsoft.Win32.TaskScheduler.Task.get_Definition()
at VisualCronAPI.ScheduledTasksAPI.Import(String strHostName, Server s, String strUsername, String strPassword, String strDomain) in C:\sourcefiles\code\VisualCronAPI\APIPublic\Classes\ScheduledTasks\apiScheduledTasks.vb:line 36

Any ideas? I'm sure it's user error of some kind. I'm just having trouble navigating around the docs. and a search for that error message didn't return anything.

Thanks o/
Sponsor
Forum information
bbusse
2016-04-01T19:37:43Z
I can confirm this as well. You're doing nothing wrong. I tried with the VisualCron service set to default (Local System) as well as actually entering the account/password and running the Service as a user (admin privelages) instead. Makes no difference, I receive the same error running Windows 10 Professional, fully patched. VisualCron version 8.0.4

I also tried entering localhost or the actual computer name and entering a username/password. No matter what, it's the same error.

The laptop i tried with Windows 10 Professional (32-Bit) is just in a workgroup. UAC is turned off entirely using the EnableLUA registry entry set to 0.

I'd consider this a bug report. Henrik?

Brian
Support
2016-04-01T21:11:53Z
Thanks for the report. We have now fixed this issue in this build:

http://www.visualcron.co....aspx?g=posts&t=6564 
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
mwilson
2016-04-01T21:43:14Z
Originally Posted by: Support 

Thanks for the report. We have now fixed this issue in this build:

http://www.visualcron.co....aspx?g=posts&t=6564 




Awesome! Confirmed it works like a charm.

Thanks very much.
LiamD1
2017-10-24T19:07:44Z
The same problem is happening on Win16.

Unhandled error: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.Win32.TaskScheduler.V2Interop.TaskSchedulerClass.Connect(Object serverName, Object user, Object domain, Object password)
at Microsoft.Win32.TaskScheduler.TaskService.Connect()
at Microsoft.Win32.TaskScheduler.TaskService..ctor(String targetServer, String userName, String accountDomain, String password, Boolean forceV1)
at VisualCronAPI.ScheduledTasksAPI.Import(String strHostName, Server s, String strUsername, String strPassword, String strDomain) in C:\sourcefiles\code\VisualCronAPI\APIPublic\Classes\ScheduledTasks\apiScheduledTasks.vb:line 19


I can import ok from another computer???

Support
2017-10-24T20:44:12Z
Originally Posted by: LiamD1 

The same problem is happening on Win16.

Unhandled error: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.Win32.TaskScheduler.V2Interop.TaskSchedulerClass.Connect(Object serverName, Object user, Object domain, Object password)
at Microsoft.Win32.TaskScheduler.TaskService.Connect()
at Microsoft.Win32.TaskScheduler.TaskService..ctor(String targetServer, String userName, String accountDomain, String password, Boolean forceV1)
at VisualCronAPI.ScheduledTasksAPI.Import(String strHostName, Server s, String strUsername, String strPassword, String strDomain) in C:\sourcefiles\code\VisualCronAPI\APIPublic\Classes\ScheduledTasks\apiScheduledTasks.vb:line 19


I can import ok from another computer???



I would try connecting with another username/password.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
LiamD1
2017-10-25T12:51:03Z
No success with another username/password.
Support
2017-10-25T13:59:05Z
Originally Posted by: LiamD1 

No success with another username/password.



Unfortunately, permission problems are out of our control. We just return the errors from Windows.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top