Non Interactive Mode Error

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Post Reply
baxter961
Newbie
Newbie
Posts: 1
Joined: Mon Mar 23, 2020 9:48 am

Non Interactive Mode Error

Post by baxter961 » Mon Mar 23, 2020 11:39 am

Due to these spicy times we're living I've been having to work from home like many others. A billing database software I need can only run on windows so I tried using wine for it. Seemed to install fine but when I got to open it I get an error message saying "Error Logging Into Database In NonInteractive Mode" and that's it. Trying to run it in terminal gives me this:

Unhandled Exception:
System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
at System.Windows.Forms.Control.MarshaledInvoke (System.Windows.Forms.Control caller, System.Delegate method, System.Object[] args, System.Boolean synchronous) [0x00011] in <afc71676634a41889c6929c14e8a57bd>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control,System.Delegate,object[],bool)
at System.Windows.Forms.Control.BeginInvoke (System.Delegate method, System.Object[] args) [0x0000f] in <afc71676634a41889c6929c14e8a57bd>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.BeginInvoke(System.Delegate,object[])
at System.Windows.Forms.WindowsFormsSynchronizationContext.Post (System.Threading.SendOrPostCallback d, System.Object state) [0x0000f] in <afc71676634a41889c6929c14e8a57bd>:0
at System.__ComObject.Finalize () [0x0001a] in <a1336bab325642fd867e87ca7626bada>:0

Has anyone else had this problem with any software? I'm beyond an amateur so I have no idea what I would need to do to fix it or if it's even possible

jkfloris
Level 7
Level 7
Posts: 994
Joined: Thu Aug 14, 2014 10:10 am

Re: Non Interactive Mode Error

Post by jkfloris » Mon Mar 23, 2020 12:44 pm

Find out which version of .Net this application needs and use winetricks to install the .Net framework in your Wineprefix.

Post Reply