I have an application that should run on a shared folder in a network(domain).
when each user tries to run that,they see the error message indicating they have not the permission to access the sql server(don't have SqlClientPermission).
I don't want to instruct every user to manually run the caspol.exe to add a group with fulltrust permission under LocalIntranet CodeGroup.
how can I place that in my code?
Caspol
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Lalit MRank #1,186 · 1.5K reputationPosted Jan 29, 2010, 11:43 PM EST
OR
Give Read/Write permission,follow this steps
Right my computer->manage->Local User and Groups->Groups->Double click administrator->Click Add->enter computer name->give read/write permission.
For information visit this link
anooshiravan keshavarzi25 reputationPosted Jan 30, 2010, 12:10 AM EST
how should I do that?