In my MVC app i have the following code:
Private ipConecta As String = My.Computer.Registry.GetValue(
"HKEY_CURRENT_USER\Software\SPR4", "ConnString", Nothing)
But looking in the Process monitor, i see that is pointing to another hive:
How can i make it pointing to read the registry on HKEY_CURRENT_USER\Software\SPR4
Finally, i resolve my issue, pointing to
HKEY_LOCAL_MACHINE
:And giving permissions on that key to the user
IUSR
.