TOPIC: Errors 0x41301 & x0e0434352 from schedule tasks

Errors 0x41301 & x0e0434352 from schedule tasks 05 Apr 2022 08:28 #15042

  • pnewland
  • pnewland's Avatar
  • Offline
Hi all,
I have many scheduled tasks running many RRD email reports which all work fine.
Today, I had a requirement to make one of the reports auto print at 5pm daily.
So i created the report in the same way as all the working ones, but on the action tab, I selected the action as Print instead of Email.
I saved the report and executed it and it printed perfectly. :)
I then created the schedule from withing Logicity and it created the windows task as usual.

The issue is when i try to run the windows task manually or automated it fails every time and give the error below. :S
Errors 0x41301 & x0e0434352

I have tried to delete the windows task and then open logicity as Administrator and the re-create the schedule, but no luck.

Please does anyone here have any ideas on other things to try ?

Thanks

Phil
Thanks

Phil
The administrator has disabled public write access.

Errors 0x41301 & x0e0434352 from schedule tasks 05 Apr 2022 17:44 #15046

  • KCrane
  • KCrane's Avatar
  • Offline
Could there be another instance of Logicity stuck running and needs to be ended via the Task Manager?

Are you logged in as the same user set to run the scheduled task?
(Is the user set to run the scheduled task the same as the user logged in when the RRD ran successfully)
The administrator has disabled public write access.

Errors 0x41301 & x0e0434352 from schedule tasks 07 Apr 2022 14:04 #15057

  • pnewland
  • pnewland's Avatar
  • Offline
So there are no running or stuck windows tasks
The task is set to run as the same user which i am logged in as as which worked.

I have changed the report to Email instead of Print and the Task works fine without error.

So the error is specific to do with the Print Action.

Any other suggestions ?

Thanks
The administrator has disabled public write access.

Errors 0x41301 & x0e0434352 from schedule tasks 08 Apr 2022 18:18 #15072

  • KCrane
  • KCrane's Avatar
  • Offline
Which version of Logicity?

What if you tried scheduling another printing task - something like a Test Print.bat file with the following:
Start Notepad /p "C:\Test Print.txt"
The administrator has disabled public write access.

Errors 0x41301 & x0e0434352 from schedule tasks 11 Apr 2022 13:15 #15113

  • pnewland
  • pnewland's Avatar
  • Offline
I created a bat file with the below in it.
RUNDLL32 PRINTUI.DLL,PrintUIEntry /n"My Printer" /k
This runs manually and it also runs in a scheduled task and prints a test page on the printer.

I also tried the script you provided and it runs manually and opens C:\Test Print.txt, but this does NOT run on a scheduled task.

I will try create a .bat to run the RRD file.
The administrator has disabled public write access.

Errors 0x41301 & x0e0434352 from schedule tasks 11 Apr 2022 13:27 #15114

  • pnewland
  • pnewland's Avatar
  • Offline
I managed to get a .bat fine to to run the .RRD file and send the email.

As soon as I changed the .RRD to Print Action is failed and Event Name CLR20r3 (see attached)


It seems that the Print Action is whats causing all the issues.

I'm on LSB Version 1.9.4.0

I hope someone can help further.
The administrator has disabled public write access.

Errors 0x41301 & x0e0434352 from schedule tasks 11 Apr 2022 13:40 #15115

  • KCrane
  • KCrane's Avatar
  • Offline
Logicity 1.9.4.0 should have installed SAP Crystal Report Runtime 13.0.24. Check Apps & Features for the installed version of the SAP Crystal Reports runtime engine. If not version 13.0.24, try uninstalling the current version and then reinstall Logicity 1.9.4.0 to have the correct version of the runtime installed.
The administrator has disabled public write access.

Errors 0x41301 & x0e0434352 from schedule tasks 11 Apr 2022 14:24 #15116

  • pnewland
  • pnewland's Avatar
  • Offline
I FIX IT.... B)

The issue was fixed by choosing a different printer.

More precisely, it was the same printer, but using a different port with a default setup.

The printer i was trying to use is setup to print B&W only and for some reason wouldn't print from a bat or schedules task.

Something about the way the properties on the printer are setup made it fail.

Thank for all your help.

Phil
The administrator has disabled public write access.