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
Loading

VulpesRank #55 · 29.2K reputationPosted Jan 27, 2012, 4:12 AM EST
Sam HobbsRank #107 · 20.5K reputationPosted Jan 27, 2012, 11:23 AM EST
You should also ensure that there is a valid reason for requiring administrator privileges. Security personnel would advise us to not use or require use of a privilege that is not needed. Don't automatically give or use a privilege just to get something to work.
RaysefoRank #4,173 · 360 reputationPosted Jan 29, 2012, 11:15 PM EST