views:

19

answers:

1

Hi there, I have just finished developing a wpf application that uses a sql ce db. I am using installshield2010 express to package up the application. I have created a folder (ProgramData) within installshield and created a directoy for my db e.g. c:\ProgramData\Test\Data\MyDb.sdf however when I run the application I get an error Internal error: Cannot open the shared memory region.

If I run the application as an administrator everything is ok however I want anyone to be able to run the application, without admin rights.

What do I need to do??

+1  A: 

CommonAppDataFolder ( C:\ProgramData on some OS's ) doesn't give all users write permissions by default. You may have to open it up or redesign your application to account for this.

Christopher Painter