Ask a Question related to ASP.NET Security, Design and Development.
-
Isaias Formacio Serna #1
Problem accessing Windows 2003 DC Registry Keys
Hi, I'm trying to read some Registry Keys I've created with a Web Service,
in my workstation it works fine, but when i move it to a server (a Windows
2003 Domain Controller running Windows Sharepoint Services), I keep having
the same error:
System.Security.SecurityException: Request for the permission of type
System.Security.Permissions.RegistryPermission, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
at System.Security.CodeAccessSecurityEngine.CheckHelp er(PermissionSet
grantedSet, PermissionSet deniedSet, CodeAccessPermission demand,
PermissionToken permToken)
at System.Security.CodeAccessSecurityEngine.Check(Per missionToken
permToken, CodeAccessPermission demand, StackCrawlMark& stackMark, Int32
checkFrames, Int32 unrestrictedOverride)
at System.Security.CodeAccessSecurityEngine.Check(Cod eAccessPermission
cap, StackCrawlMark& stackMark)
at System.Security.CodeAccessPermission.Demand()
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at Bluenode.Gourmet.ConfiguracionServidor..ctor()
at Bluenode.Gourmet.AccesoConfiguracion.get_Servidor( )
at Bluenode.Gourmet.DataBase.AdmBaseDatos..ctor()
at Bluenode.Gourmet.Services.pos.ActualizaTokenPOS(St ring POSLogin,
String POSPassword, String IdInstalacion)
The state of the failed permission was:
<IPermission class="System.Security.Permissions.RegistryPermiss ion,
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089"
version="1"
Read="HKEY_LOCAL_MACHINE\Software\Bluenode\Gourmet
2004\Server\."/>
I've tryed to do this workarounds but they don't seem to work:
[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;315158[/url]
I've even given my keys the Everyone Full Access permission and keeps
happening the same thing, please help!
Isaias Formacio Serna Guest
-
Connection keys & the registry
Platform - Windows XP Professional Software - Contribute version 2.0 I have several users that I need to send connection keys to. BUT when I... -
Registry Keys of Flash Player
:confused; I have the .msi installer of Flash PLayer 8 for distribution across a large enterprise. I don?t want users to upgrade flash player, so i... -
Permissions problem accessing SQL Server from Web Service on Windows 2003
I have a Web Service that accesses a SQL Server database. IIS, SQL Server and the Web Service are all running on the same machine. As I have... -
401 Error on Windows 2003 Server Accessing Web Service
Hi. I have a web service running on 2003 Server. The client app running on the same machine gets a 401 error, but browsing the web service in... -
Error accessing Registry from Windows app
When attempting to access the Registry, I receive errors. I have attempted to add code to assert access to the key, but this does not help. The...



Reply With Quote

