Link to home
Start Free TrialLog in
Avatar of Thomasian
ThomasianFlag for Philippines

asked on

Database and common setting files location

I have a .NET application that uses SQL Server Express. The application automatically creates a database file on first run (after installation) and creates a full backup every day. The application also creates/loads setting/data files which applies for all users.

Note that the application must not need administrative privileges to work.

I have googled a little and found a few folders (Win7), but I'm not sure which one to use
"C:\Program Files\Common Files"
"C:\ProgramData"
"C:\Users\All Users"

What is the difference between the 3 and when should I use them? The folder (or its equivalent in .NET code) used must be available regardless of the OS (WinXP and above).

TIA
ASKER CERTIFIED SOLUTION
Avatar of pivar
pivar
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Thomasian

ASKER

Thanks