"Chris, Master of All Things Insignificant"
<chris@No_Spam_Please.com> wrote:
The program is not trusted enough to do what it wants to do. Either it's
trying to access the web, or a file on a shared drive or something like
that.
Actually the error message is more specific than that, i.e.:
Requested registry access is not allowed"
First find out whether the program/assembly is granted
"Registry Permission" in the "Microsoft .NET Framework
Configuration" tool.
If it can access the registry in general, get RegMon and
find out which registry entries the program is trying to
access and/or modify.
RegMon
http://www.sysinternals.com/ntw2k/source/regmon.shtml
Then update the ACLs of the affected registry entries
accordingly (i.e. add rights to read/write the entries for
the necesssary user or group).
In regedit.exe simply right-click the registry key in the
LEFT pane - the context menu has a "Permissions..." item.
'Any fool can write code that a computer can understand.
Good programmers write code that humans can understand.'
Martin Fowler,
'Refactoring: improving the design of existing code', p.15