DotConnect Mobile Connection Issues
Posted: Mon 21 Jan 2019 18:56
I downloaded the trial mobile version of DotConnect, added the appropriate references and was able to get licensing working. My application runs in Windows CE 7.0 using compact framework 2.0 . When I attempt to open a connection using uniconnection a uniexception is thrown regarding the connection string. It appears not to support encrypt nor trusted certificate.
{"Unknown connection option in connection string: encrypt."}
ErrorCode: &H80000000
InnerException: {"Unknown connection option in connection string: encrypt."}
Message: "Unknown connection option in connection string: encrypt."
StackTrace: "at Devart.Data.Universal.UniConnection.Open() at DecorFusionInventory.frmSettings.cmdTest_Click() at System.Windows.Forms.Control.OnClick() at System.Windows.Forms.Button.OnClick() at System.Windows.Forms.ButtonBase.WnProc() at System.Windows.Forms.Control._InternalWnProc() at Microsoft.AGL.Forms.EVL.EnterModalDialog() at System.Windows.Forms.Form.ShowDialog() at DecorFusionInventory.frmMainMenu.LaunchSettings() at System.Reflection.RuntimeMethodInfo.InternalInvoke() at System.Reflection.RuntimeMethodInfo.InternalInvoke() at System.Reflection.RuntimeMethodInfo.Invoke() at System.Reflection.MethodBase.Invoke() at TASK.Invoke() at System.Windows.Forms.Control._InvokeAll() at System.Windows.Forms.Control.WnProc() at System.Windows.Forms.ContainerControl.WnProc() at System.Windows.Forms.Form.WnProc() at System.Windows.Forms.Control._InternalWnProc() at Microsoft.AGL.Forms.EVL.EnterMainLoop() at System.Windows.Forms.Application.Run() at DecorFusionInventory.AppStart.SubMain() at DecorFusionInventor
y.AppStart.Main()
{"Unknown connection option in connection string: encrypt."}
ErrorCode: &H80000000
InnerException: {"Unknown connection option in connection string: encrypt."}
Message: "Unknown connection option in connection string: encrypt."
StackTrace: "at Devart.Data.Universal.UniConnection.Open() at DecorFusionInventory.frmSettings.cmdTest_Click() at System.Windows.Forms.Control.OnClick() at System.Windows.Forms.Button.OnClick() at System.Windows.Forms.ButtonBase.WnProc() at System.Windows.Forms.Control._InternalWnProc() at Microsoft.AGL.Forms.EVL.EnterModalDialog() at System.Windows.Forms.Form.ShowDialog() at DecorFusionInventory.frmMainMenu.LaunchSettings() at System.Reflection.RuntimeMethodInfo.InternalInvoke() at System.Reflection.RuntimeMethodInfo.InternalInvoke() at System.Reflection.RuntimeMethodInfo.Invoke() at System.Reflection.MethodBase.Invoke() at TASK.Invoke() at System.Windows.Forms.Control._InvokeAll() at System.Windows.Forms.Control.WnProc() at System.Windows.Forms.ContainerControl.WnProc() at System.Windows.Forms.Form.WnProc() at System.Windows.Forms.Control._InternalWnProc() at Microsoft.AGL.Forms.EVL.EnterMainLoop() at System.Windows.Forms.Application.Run() at DecorFusionInventory.AppStart.SubMain() at DecorFusionInventor
y.AppStart.Main()