Page 1 of 1
iOS error SQLite
Posted: Thu 25 Sep 2014 15:58
by isysoftware
Hi All,
version 5.5.11
I have deployed my app on my iPhone.
I have this error accessing SQLite DB:
" Myconnection.SpecificOptions.Strings: "Direct" is not a valid option name for SQLite UniProvider".
Any suggestions?
Thanks, Flavio
Re: iOS error SQLite
Posted: Fri 26 Sep 2014 08:23
by AlexP
Hello,
The Direct mode is supported for Windows platforms only.
Re: iOS error SQLite
Posted: Sat 27 Sep 2014 20:41
by wjjw73
Hello!
I had the same problem. This property was working in the previous version of UniDAC.
To fix it I removed the definition in the source code of the data module.
I hope this will help you,
greetings,
Werner
Re: iOS error SQLite
Posted: Sun 28 Sep 2014 16:19
by wjjw73
@AlexP: It would we good if this property would be also available for non Windows environment - because in by project I created a desktop version and a mobile version but use the same data module. Now I have to set it "manually" in the code depending on the environment. So perhaps it would be good to just ignore the property outside Windows world (like it was before).
Best regards,
Werner
Re: iOS error SQLite
Posted: Mon 29 Sep 2014 10:58
by AlexP
Hello,
The previous behavior was incorrect, since users set the property and thought they were working in the Direct mode, but in fact the library was used. Therefore we have added validation of all the properties to inform users about incorrect options or their values