TOPIC: Scheduled reports not working since switch 2 64bit

Scheduled reports not working since switch 2 64bit 26 Feb 2021 15:28 #11249

  • StrataCraig
  • StrataCraig's Avatar
  • Offline
Recently installed Logicity on a 64bit Windows 10 20H2 VM. Scheduled reports no longer work. Runs fine on the old 32bit Windows 10 VM.

Any ideas?

Getting the following error:
Unhandled Exception: System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at Logicity_Desktop.Main.Main()
The administrator has disabled public write access.

Scheduled reports not working since switch 2 64bit 01 Mar 2021 15:07 #11269

  • KCrane
  • KCrane's Avatar
  • Offline
Are you able to run the reports via Logicity Desktop logged in with the same Windows account used to run the scheduled reports?

This would help validate permissions and if the ODBC connection is setup properly.
Last Edit: 01 Mar 2021 15:09 by KCrane.
The administrator has disabled public write access.

Scheduled reports not working since switch 2 64bit 01 Mar 2021 19:44 #11270

  • StrataCraig
  • StrataCraig's Avatar
  • Offline
Yes, if I run it from the desktop it works fine.
The administrator has disabled public write access.

Scheduled reports not working since switch 2 64bit 16 Mar 2021 16:43 #11417

  • StrataCraig
  • StrataCraig's Avatar
  • Offline
The odd thing is I had to rebuild the VM that we are running Logicity on. I rebuilt it on a 32 bit machine and I get the same errors when trying to schedule run that same RRD file.
The administrator has disabled public write access.

Scheduled reports not working since switch 2 64bit 17 Mar 2021 13:53 #11422

  • StrataCraig
  • StrataCraig's Avatar
  • Offline
I think I have it narrowed down to if the "job" has any sort of variables in it, then it fails.
Using this in the subj= %{FormatDateTime(DateAdd("d", Now(), -1))}%
and attachmentfilename= %{FormatDateTime(DateAdd("d", Now(), -1))}%

Tested the same RRD without the variables and it runs scheduled fine.
The administrator has disabled public write access.

Scheduled reports not working since switch 2 64bit 22 Mar 2021 21:08 #11466

  • StrataCraig
  • StrataCraig's Avatar
  • Offline
Figured it out. It appears the registration is per user. Found the key in the registry (HKCU) and duplicated it under the .DEFAULT key. Now things are working fine.
The administrator has disabled public write access.