G
Guest
Getting real tired of this...
After several attempts on this forum, and implementing proposed solutions,
to write to the registry...Still a month down the line, having migrated from
WebApp (IIS security settings and associated ...)
to Windows App... to escape the IIS security settings etc.
I still have no resolution.
Every Key and subkey in my registry in my read/write path has every known
permission and advanced setting set to FullControl , nothing denied.
You name it, its there .....!!
Gave up on Web App approach.. VB.Net WebApplication...no joy, now the same
scenario with Windows Application
Frustrated (....very !! )
Reading a value ..NO PROBLEM
Writing a Value....NO WAY !!!!!! ''Error: cannot write to the
registry key"
Is there anybody who can actually provide me with a working solution...??
Beneath the code I use.
TIA
'checks to see read functionality
key = Registry.CurrentUser.OpenSubKey("SOFTWARE\SPLUS\pwd")
key.GetValue("pwd")
Dim f As New
RegistryPermission(RegistryPermissionAccess.AllAccess, _
"HKEY_CURRENT_USER\SOFTWARE")
f.AddPathList(RegistryPermissionAccess.Write,
"HKEY_CURRENT_USER\SOFTWARE")
f.AddPathList(RegistryPermissionAccess.Write,
"HKEY_CURRENT_USER\SOFTWARE\SPLUS")
f.AddPathList(RegistryPermissionAccess.Write,
"HKEY_CURRENT_USER\SOFTWARE\SPLUS\pwd")
f.Assert()
key.SetValue("pwd", sValIn) 'cannot write to the registry key
After several attempts on this forum, and implementing proposed solutions,
to write to the registry...Still a month down the line, having migrated from
WebApp (IIS security settings and associated ...)
to Windows App... to escape the IIS security settings etc.
I still have no resolution.
Every Key and subkey in my registry in my read/write path has every known
permission and advanced setting set to FullControl , nothing denied.
You name it, its there .....!!
Gave up on Web App approach.. VB.Net WebApplication...no joy, now the same
scenario with Windows Application
Frustrated (....very !! )
Reading a value ..NO PROBLEM
Writing a Value....NO WAY !!!!!! ''Error: cannot write to the
registry key"
Is there anybody who can actually provide me with a working solution...??
Beneath the code I use.
TIA
'checks to see read functionality
key = Registry.CurrentUser.OpenSubKey("SOFTWARE\SPLUS\pwd")
key.GetValue("pwd")
Dim f As New
RegistryPermission(RegistryPermissionAccess.AllAccess, _
"HKEY_CURRENT_USER\SOFTWARE")
f.AddPathList(RegistryPermissionAccess.Write,
"HKEY_CURRENT_USER\SOFTWARE")
f.AddPathList(RegistryPermissionAccess.Write,
"HKEY_CURRENT_USER\SOFTWARE\SPLUS")
f.AddPathList(RegistryPermissionAccess.Write,
"HKEY_CURRENT_USER\SOFTWARE\SPLUS\pwd")
f.Assert()
key.SetValue("pwd", sValIn) 'cannot write to the registry key