ms-access


Access (.MDB) deployment issue - Windows 7 - Installation with admin user?


I use microsoft access (.mdb) database for my business software. Recently I have noticed a lot of feedback from users saying that they are unable to open the software after installation.
Basically, I store database in user\appdata\local\myfolder path. Considering the scenario of these users on a windows 7 machine if user tries to install the software (without admin rights) then he has to enter user and password of admin which makes the Inno setup install the database in admin user's local folder instead of logged in user's local data folder.
So after installation, my software cannot locate the database as it is stored in admin user's local data and not the local data folder of logged in user. I use Environment.SpecialFolder.LocalApplicationData to find localappdata folder for current user in c#.
I don't think there is any other folder where I can store database with read/write permission. Program files folder would not be suitable.
What could be the best solution for this?
Thank you in advance.
I distribute Access databases in a similar way, the best place for it is:
C:\User\Username
User's should have write properties on their own folder's, if for any reason they do not then the permissions settings should be revised.
So rather than having one copy on the C: drive, there is a copy saved for each individual user. Even better if user's have a personal shared space which can be accessed from any machine they log on to mapped as a network drive.

Related Links

MS Access 2003 - Opening a report without it printing
Create a field name from a recordset
How run an Access 2007 module in VB6?
MS Access 2003 - Auto assigning an Identification Number
Ms access: Autocomplete field with values from another table
MS-Access: hotkey to display a message box
.mdb - Access - database appending # on image file
MS-Access 2007 - 255 character limit for exports and field concatenation
Avoiding MaxLocksPerFile via odbc connection to MS Access
Access MDB: do access MDB files have an upper size limit?
Problem evaluating NULL in an IIF statement (Access)
WM_SETFOCUS Event not fired Microsoft Access 2000
Access VBA sub with form as parameter doesn't alter the form
Where can I find MSAccess Control in Database
MS Access 2003 - Really simple query
Query to add missing rows using values from prior period

Categories

HOME
magnific-popup
angular-material
appx
grep
octobercms
xmpp
filtering
leon
ezpublish
wamp
indesign
azure-storage-tables
autotools
medical
kibana-4
qt-creator
google-cloud-ml
spring-tool-suite
moonmail
task
messages
django-simple-history
windows-7-x64
reactive-cocoa
lucene.net
visjs
opencover
css-animations
extjs5
android-widget
buildbot
intel-pin
atlassian-crucible
objectanimator
iframe-resizer
grails-3.1
wallpaper
mpmediaquery
event-driven
unoconv
fakeiteasy
reactive-cocoa-5
btrace
apple-news
long-polling
flickr-api
sybase-asa
r-forge
epson
azure-sdk
mathematica-frontend
bstr
connect-by
markojs
react-native-listview
prettytensor
essence
oauth2client
browser-link
ios8-today-widget
map-projections
deis
splash
ami
directoryservices
system.reflection
nstableviewcell
googlemock
flask-cors
google-reader
mesa
ceil
poller
concurrent-collections
dir
android-screen-support
http-unit
wsdl-2.0
jquery-knob
path-separator
newtonscript
qtkit
mercurial-server
tomcat-valve
locationlistener
yetanotherforum
lpeg
w3wp.exe
coda-slider
avatar
sector
port-number
post-build
ugc
wsdl.exe
caching-application-block

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App