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


thomas_ccd
2015-12-08T23:18:27Z
Hello --

We have VisualCron running on a number of servers. Various scripts are executed on a regular basis, using credentials.

On our Windows Server 2003 servers with VisualCron 6.X we have no issues.

However we have upgraded a number of servers to Windows Server 2012R2 with VisualCron 8 and are running into serious issues (We are rebuilding all the jobs/tasks from scratch, so it's not an import error.)

Credentials are mostly broken, we had to disable UAC and apply some other workarounds on this forum to get any task that uses credentials to not return an error with an exit code of -1073741502.

Some scripts work now, but many return an exit code of 77777. However looking at the logs and standard output of all these scripts, they all say they ran successfully and exited with code 0. So the scripts are running properly, but the error code is messing up control flows and timeouts.

I have been pulling my hair out about this and trying every possible combination of options (load profile, log in to desktop, UAC on/off, etc. etc.) and we cannot get these scripts to not return either a -1073741502 or 77777. They are all very basic python scripts, too. If we cannot find a solution that doesn't rely on weird workarounds (disabling UAC is already pushing our luck) we will have to find alternative software.

Thanks for the help -
Thomas




Sponsor
Forum information
Support
2015-12-09T10:23:40Z
We are investigating this. Currently we have only found the broad permission change by turning off UAC. We would like to find the exact permission needed.

What happens if you reboot the server - same problem?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
thomas_ccd
2015-12-09T16:55:59Z
Henrik --

Yes, the problem persists after a reboot.
Support
2015-12-09T19:50:34Z
Thanks, we are investigating this. We were able to temporary reproduce this in Windows 2012R2. But then, days later it started working again. So, it is not clear what is causing it and what made it work. Maybe an update?

Have you performed all updates on the server?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
thomas_ccd
2015-12-09T20:48:08Z
Interesting... Yes, all updates are installed.

I'm adding and testing more scripts on a regular basis, so in some time I will be able to tell you which scripts are failing and which ones aren't (there are a few that do not get the 77777 exit code) and if there is possibly a pattern there. But basically these scripts are 100% unchanged from the VisualCron 6/Windows Server 2003 versions which exit with code 0.

Thanks
thomas_ccd
2015-12-14T16:12:03Z
Hello --

I think I tracked down the problem, the scripts that usually caused this error had some interesting methods of exiting the program. Apparently some functionality has changed in VC versions or Windows versions where these exits now trip a 77777 error (as said above, these scripts have never had issues until being moved to the new servers). I rewrote the problematic scripts to always exit cleanly and this problem has gone away. Weird stuff, but a more benign problem than believed.

Thank you for the support!
Support
2015-12-15T06:53:47Z
Glad it was resolved but we have not changed the Execute Task in a long while. Perhaps you can send sample code which reproduces the error and which not to support@visualcron.com?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2016-06-10T12:34:37Z
We have modified this Task for 8.1.2. So if you encounter this again please test this beta or official when released: http://www.visualcron.co....aspx?g=posts&t=6721 
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
sal26
2016-12-21T00:34:09Z
Hi
i am just calling a simple sql proc , which waits for a couple of seconds ; i do send the param as an int;
when i run the proc in sql, all is fine
but when i run it from vc, i get an error 77777
any help?
vrsn 8.1.2


thomas
2016-12-21T08:54:01Z
Can you post the proc code?
sal26
2016-12-21T17:14:52Z
ALTER PROCEDURE p_testwait


(@sec int)
AS

WAITFOR DELAY @sec
sal26
2016-12-21T17:27:04Z
Don't mind, i realized what was the problem; Thanks
Scroll to Top