Skip to Content

Why is Access Denied on UltraLite 17 Db with UWP

May 12, 2017 at 06:07 PM


avatar image
Former Member

I have a VS 2017 UWP app with UltraLite 17 that is denied access (-82) to an UltraLite 17 database that can be accessed via SQL Central 17 and a 2017 .NET app using UltraLite.Net. The latter two use the same connection parameters as the denied UWP application in connecting to the UltraLite 17 db.

I am running the UWP app in the 2017 debugger in "Local Machine" and "Simulator"

The UWP app accesses another file with no problem. Both methodologies (file access and "dbf=" ) use fully qualified paths so I don't believe it's a file system issue.
Thanks ahead of time.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Chris Keating
May 12, 2017 at 07:22 PM

UWP can only access certain file locations by default. If the database is stored in a location other than those allowed locations, you will encounter this error.


10 |10000 characters needed characters left characters exceeded