I am doing a project where I have to generate some logs[which are text files]. I am generating the logs by a thread [thread is essential] to application data folder. But vista does not giving me access and throwing an exception “access denied”. I am very much confused. Any suggestion will be very helpful. Thanks.
Share
Run your application as administrator, or give full control of the folder to the
Usersgroup (which is unsafe).You can also force UAC elevation in your application.