Today, a colleague installed the system after the client program, to send an error, as follows:
This is in the software login, there is a save the system user name settings to save to the registration table, has been using no problem, today is an error. Only to know that he used the Win7 system, it appears that Win7 to the registry changes have made certain restrictions.
The test can be resolved by modifying the program's compatibility and setting permissions. Because this program is a ClickOnce program, so to find this program is not easy, use the Windows Search function bar, the program will be installed in XXX such a directory, find the main program to start, right click "Properties", click "Compatibility" tab, tick " Run this program as an administrator. " OK solution
C # Registry Access Program Win7 system error "Do not allow requested registry access"