I pride myself on being able to Google just about anything but...
I have fought, tried, searched and fought some more on this one.
I am using VMware, and am able to debug from Visual Studio to the VMware virtual machine...
Right up until the application being debugged tries to write to the registry. Then it fails due to lack of security permissions.
It writes to the Host PC registry just fine. This is only happening when remote debugging to the VMware guest.
I just can't seem to find how/where I grant permission for remote debugging to write to the registry.
Firewalls on both host PC and VM guest are OFF.
I can use RegEdit on the host PC to do Remote Registry access (so I know Remote Registry Services are enabled) though only HKEY_LOCAL_MACHINE and HKEY_USERS is visible and I'd like HKEY_CURRENT_USER. But for now I can test in H_L_M if I can make it work
Can anyone help me out?
Error is "SecurityException was unhandled"
Request for the permission of type 'System.Security.Permissions.RegistryPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.