Error connecting client to MiddleTier

For users or potential users.
Post Reply
SGagne
Posts: 2
Joined: Tue Jan 30, 2018 8:25 pm

Error connecting client to MiddleTier

Post by SGagne » Thu Jul 19, 2018 7:00 am

Hi,

We are currently investigating the use of OpenDental for our 5 practices in Quebec. I setup the MiddleTier on our server and get the following error when connecting the client through the MiddleTier after the interface is fully loaded. I can't continue any further and have to quit. I have no problems connecting the client directly to the DB server otherwise.
We are using the Canadian DB with French Canada Locale. I am using the latest trial version at this point.

Any idea how to get past this?

Thanks,

Sebastien

Unhandled exception: There was an error generating the XML document.
System.InvalidOperationException
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at OpenDentBusiness.DataTransferObject.Serialize() in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Remoting\DataTransferObject.cs:line 31
at OpenDentBusiness.RemotingClient.SendAndReceive(DataTransferObject dto) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Remoting\RemotingClient.cs:line 235
at OpenDentBusiness.RemotingClient.ProcessGetObject[T](DtoGetObject dto) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Remoting\RemotingClient.cs:line 189
at OpenDentBusiness.Meth.GetObject[T](MethodBase methodBase, Object[] parameters) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Remoting\Meth.cs:line 241
at OpenDentBusiness.AlertItems.RefreshForClinicAndTypes(Int64 clinicNum, List`1 listAlertTypes) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Data Interface\AlertItems.cs:line 44
at OpenDental.FormOpenDental.CheckAlerts() in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDental\Main Modules\FormOpenDental.cs:line 5199
at OpenDental.FormOpenDental.FormOpenDental_Load(Object sender, EventArgs e) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDental\Main Modules\FormOpenDental.cs:line 3034
at System.Windows.Forms.Form.OnLoad(EventArgs e)
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 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)
-------------------------------------------
Inner exception: There was an error generating the XML document.
System.InvalidOperationException
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at OpenDentBusiness.DtoObject.WriteXml(XmlWriter writer) in C:\Development\OPEN DENTAL SUBVERSION\opendental17.4\OpenDentBusiness\Remoting\DtoObject.cs:line 81
at System.Xml.Serialization.XmlSerializationWriter.WriteSerializable(IXmlSerializable serializable, String name, String ns, Boolean isNullable, Boolean wrapped)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterDtoGetObject.Write4_DtoGetObject(String n, String ns, DtoGetObject o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterDtoGetObject.Write5_DtoGetObject(Object o)
-------------------------------------------
Inner exception: Instance validation error: '18' is not a valid value for OpenDentBusiness.AlertType.
System.InvalidOperationException
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterList1.Write1_AlertType(AlertType v)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterList1.Write2_ArrayOfAlertType(Object o)

User avatar
cmcgehee
Posts: 711
Joined: Tue Aug 25, 2015 5:06 pm
Location: Salem, Oregon

Re: Error connecting client to MiddleTier

Post by cmcgehee » Thu Jul 19, 2018 8:04 am

This is a bug that we fixed in 17.4.86. Right now our trial version is 17.4.83 so the bug is going to be present in it. I'll see if we can release an updated trial version.
Chris McGehee
Open Dental Software
http://www.opendental.com

User avatar
cmcgehee
Posts: 711
Joined: Tue Aug 25, 2015 5:06 pm
Location: Salem, Oregon

Re: Error connecting client to MiddleTier

Post by cmcgehee » Thu Jul 19, 2018 1:47 pm

We released a new trial version that contains the bug fix. You can re-download the trial version and set middle tier up again.
http://www.opendental.com/trial.html
Chris McGehee
Open Dental Software
http://www.opendental.com

Post Reply