System.Security.SecurityException
Hi,
I have a windows form app which works OK on XP but when I try to run it on WIN 7 I got this error below. How can I fix this?
1.0.0.0
4f228bf4
KERNELBASE.dll
6.1.7601.17651
4e2111c0
e0434352
0000d36f
601c
01ccdceaee2d9a3a
C:Downloads\scvhost\scvhost.exe
C:\Windows\system32\KERNELBASE.dll
2de260ca-48de-11e1-8823-005056c00008
Application: scvhost.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.Security.SecurityException Stack: at System.ThrowHelper.ThrowSecurityException(System.ExceptionResource) at Microsoft.Win32.RegistryKey.OpenSubKey(System.String, Boolean) at Form1..ctor() at Program.Main()
2734275560
5
CLR20r3
Not available
0
scvhost.exe
1.0.0.0
4f210d67
mscorlib
2.0.0.0
4e154c6c
e5
10
System.Security.Security