Page 1 of 1

DotConnect Mobile Connection Issues

Posted: Mon 21 Jan 2019 18:56
by cbcsql
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()

Re: DotConnect Mobile Connection Issues

Posted: Tue 22 Jan 2019 16:11
by cbcsql
Just to clarify. Does anyone know if encrypt and trustedcertficate are supposed to be supported in the mobile version of DotConnect? Documentation does not state otherwise. The reason I am looking at this product is I have a requirement to connect a Windows CE application to SQL Azure which require encryption.

Thanks in advance.

Re: DotConnect Mobile Connection Issues

Posted: Thu 24 Jan 2019 14:36
by Pinturiccio
dotConnect Universal Mobile supports Windows CE 6.5.x and lower, and it does not support Windows CE 7.0.

Re: DotConnect Mobile Connection Issues

Posted: Thu 24 Jan 2019 18:22
by cbcsql
I tested on a Motorola MC9090 which is Windows CE 5.0.
I am seeing same behavior with exception: "Unknown connection option in connection string: encrypt."
This is indicating that the encrypt and TrustServerCertificate are not supported in the mobile version of your product.
Could you please verify?

Thanks,

Re: DotConnect Mobile Connection Issues

Posted: Mon 04 Feb 2019 13:11
by Pinturiccio
Sorry for the late response. We have answered you via e-mail.