Pit76
asked on
where should I save my database when I deploy my project
Hi,
I have a C# project which has an Access db. Now for testing I have stored it in my C:\temp folder.
But what is the best place to place the db when I deploy my project? My Documents folder? Or Program Files folder?
Thx!
I have a C# project which has an Access db. Now for testing I have stored it in my C:\temp folder.
But what is the best place to place the db when I deploy my project? My Documents folder? Or Program Files folder?
Thx!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thx, great and clear explaination!
I can understand and agree with these recommendations.
Grt!
I can understand and agree with these recommendations.
Grt!
You may want to take a look at %ProgramData% too.
All users on that machine can access this folder.
%AppData% tends to be user specific.
DJ
All users on that machine can access this folder.
%AppData% tends to be user specific.
DJ
http://www.java2s.com/Tutorial/CSharp/0280__Development/Enumerateallspecialfoldersanddisplaythem.htm
otherwise i guess you could put it in program files... this all depends on security.. if you have active directory users may not be able to save to the c: