stack error

For users or potential users.
Post Reply
glen
Posts: 9
Joined: Sat Aug 16, 2008 11:44 am

stack error

Post by glen » Tue Jul 20, 2021 3:18 pm

I double clicked in a procedure in the chart to edit all and this error came- how do I fix this? What does this error refer to?

Error Encountered - 07/20/2021 3:04:44 PM
Unhandled exception : Unable to cast object of type 'System.String' to type 'OpenDentBusiness.Provider'.
System.InvalidCastException
at OpenDental.UI.ComboBoxOD.SetSelectedKey[T](Int64 key, Func`2 funcSelectKey, Func`2 funcOverrideText) in C:\Development\OPEN DENTAL SUBVERSION\opendental21.1\OpenDental\UI\ComboBoxOD.cs:line 587
at OpenDental.UI.ComboBoxOD.SetSelectedProvNum(Int64 provNum) in C:\Development\OPEN DENTAL SUBVERSION\opendental21.1\OpenDental\UI\ComboBoxOD.cs:line 637
at OpenDental.FormProcEditAll.FillComboProv(Boolean tryMaintainOldSelection) in C:\Development\OPEN DENTAL SUBVERSION\opendental21.1\OpenDental\Forms\FormProcEditAll.cs:line 170
at OpenDental.FormProcEditAll.FormProcEditAll_Load(Object sender, EventArgs e) in C:\Development\OPEN DENTAL SUBVERSION\opendental21.1\OpenDental\Forms\FormProcEditAll.cs:line 83
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at OpenDental.FormODBase.OnLoad(EventArgs e) in C:\Development\OPEN DENTAL SUBVERSION\opendental21.1\OpenDental\UI\BordersDpi\FormODBase.cs:line 339
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at OpenDental.FormODBase.WndProc(Message& m) in C:\Development\OPEN DENTAL SUBVERSION\opendental21.1\OpenDental\UI\BordersDpi\FormODBase.cs:line 1193
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

joes
Posts: 239
Joined: Tue Aug 13, 2019 12:41 pm

Re: stack error

Post by joes » Wed Jul 21, 2021 9:10 am

A bug caused this error when attempting to edit multiple procedures with the same provider. It was fixed on 07/13/2021 with the release of version 21.1.44. Updating should resolve the issue.
Joe Sullivan
Open Dental Software
http://www.opendental.com

Post Reply