|
-
Feb 7th, 2009, 11:07 PM
#1
Thread Starter
Junior Member
Help with Vista and permission and VB.Net app
Hi,
Here is the situation. I've written a VB.Net app that has three components; an EXE and DLL and a Outlook Plug-in. The EXE and the Outlook Plug-in both call the DLL to check if a local SQL Server CE Database exists in the CommonAppData folder.
Under WinXP there isn't a problem and everything works great but under Visa the EXE works fine but the Outlook Plug-in returns an Access Denied to the ProgramData\...\.sdf file.
Under Vista, if I enable the directory in question to have write permission to all users everything is ok.
As a solution I would like to have the MSI file that I create with a Setup project change the permission on the folder to have read/write permission but I'd like to understand why this is happening. Also I'm not quite sure how to have the MSI change the folder permissions
Any ideas on either?
Thanks,
Kevin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|