This repository has been archived by the owner on May 1, 2024. It is now read-only.
UWP Access to SQLite Database on a Network Drive #14732
Unanswered
KevinConManApp
asked this question in
Q&A
Replies: 1 comment 1 reply
-
maybe related, maybe not - I can run the DEBUG variant of our UWP app when connected to the company VPN, but the same app in release mode does not work (note that other UWP apps also cannot connect to the internet - the microsoft store app is a good example of that). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi There,
I have developed a Xamarin Forms App that accesses a SQLite Database via sqlite-net-pcl. For the Android and iOS apps, I copy a centralised database file to the local device and sync it back to the central one as required.
However, for the UWP app I am connecting directly to the centralised one. It sits in Azure File Storage that is mapped as a network drive - W: on the Win10 Device that the UWP app runs on.
While this connects fine when running the app in VS2019, when I deploy a package to another win10 device, I continually get a connection error that appears to be related to access permissions.
I have followed advice regarding 'rescap: broadFileSystemAccesss' and can see the database as a Windows.Storage file but suspect it may relate to being denied System.IO access. But do not understand why I can connect in Debug mode, which also works when I debug to a remote Win10 device.
Any ideas would be most welcome.
Regards,
Kevin.
Beta Was this translation helpful? Give feedback.
All reactions