Hunter Harwood Posted August 8, 2018 Share Posted August 8, 2018 Trying to run a Scribe Workbench script in an unattended fashion. I can run this script in an interactive session without issue, but I'm guessing that the Run Status window that comes up (even with the /RS switch on the command line) causes the unattended run to fail, as Windows does not like modal windows or forms to appear in a Non-Interactive session. Is there some way to run a script that does not display any modal windows or forms Note that Scribe Console is not an option. Error Message: 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 Scribe.DynamicsCrm5.Adapter.GUI.PleaseWaitDialog.LoadPleaseWaitDialog() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext ContextCallback callback Object state Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext ContextCallback callback Object state Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext ContextCallback callback Object state) at System.Threading.ThreadHelper.ThreadStart() Link to comment Share on other sites More sharing options...
Avinash Kale Posted September 18, 2020 Share Posted September 18, 2020 Did you get any answer for this as I am facing simillar issue during failover cluster and if runs on manually from the active instance is starting working and whenever nodes get changed to another I am getting simillar issue Link to comment Share on other sites More sharing options...
Hunter Harwood Posted September 18, 2020 Author Share Posted September 18, 2020 Afraid not, we ended up passing our scripts to another group that had Scribe Console running so that they could set things up for scheduled unattended processing. Not sure if this has been addressed in any recent version of Insight, as this was back in 2018. Link to comment Share on other sites More sharing options...
Avinash Kale Posted September 21, 2020 Share Posted September 21, 2020 Thank you for your comment HH999962, we are currently at the latest version of Scribe Inside and it seems, with Scribe console it is working fine but we are using enterprise level third party scheduler to execute Scribe DTS packages and it is not working for the same. Thank you for your response. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now