Click here to Skip to main content
15,880,972 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
creating Subkeys and assigning values to the subkeys works in Local.
But same code, dont work in server. Throws Access to Registry key is denied exception.Though I imported System.Security.Permission too and Used Assert methods. Please help me, what else needs to be done to create subkeys in server.
Posted
Updated 28-May-15 23:19pm
v2

1 solution

To access protected system resources like registry keys, the running process (EXE of your application) should have access permissions (windows user level permissions) this has nothing to do with System.Security.Permission.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900