Hi,
I wrote a small program which access a DB. The program (executable file, not through install) and the DB are located on a network drive. It works well for all users except for one user. For this specific user, every time I try to load the program I get the following error: [QUOTE]Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed[/QUOTE]. All users, including the "rogue" one, have a .net 3 framework installed (the program was written in .net 3 environment), so I don't know why this is happening.
As anyone got an idea?
Thanks,
Udi
Error accessing a DB
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Santhosh NRank #4,788 · 325 reputationPosted Dec 13, 2010, 4:26 PM EST
If you're sure it's Full level with your ASP.NET application, it's caused by the host. The host sets the trust level as High or lower in Machine-level and doesn't allow overriding.
Suthish NairRank #92 · 22.8K reputationPosted Dec 13, 2010, 6:38 PM EST
link1
link2