Hi All,
      I am developing a windows application which uses Ms Access Database. The code is working smoothly in Visual Studio. But, when I create a setup for that project and install it on any machine. I am not able to write data in that datbase. I think its because of limited access permissions. But then I tried to apply access permissions through code. It runs good again on Visual Studio but after installation it shows error." Attempted to perform an unauthorized operation"

Can any one tell me how to solve this.

Thanks In Advance
Victoryy

Recommended Answers

All 2 Replies

Try running your program with administrative access.

Thanks james6754. It worked!!! In the properties-->Compatibilit-->Click the Run as a administrator check box.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.