|
I've deployed an asp.net site with devforce 3.5.2.3 express. In my development workstation, all is working well, when I deploy the site in the hosting machine this exception bangs:
[SecurityException: Request for the permission of type 'System.Security.Permissions.RegistryPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.] System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0 System.Security.CodeAccessPermission.Demand() +59 Microsoft.Win32.RegistryKey.CheckSubKeyReadPermission(String subkeyName) +90 Microsoft.Win32.RegistryKey.CheckOpenSubKeyPermission(String subkeyName, Boolean subKeyWritable) +25 Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +69 IdeaBlade.Util.AuthHelper.GetRegKey(Boolean pWritable) +29 IdeaBlade.Util.AuthHelper.InitializeFromRegistry() +12 IdeaBlade.Util.AuthHelper.get_Instance() +131 IdeaBlade.Util.IdeaBladeConfig.LoadLicenseInfo(Assembly pAssembly) +36 IdeaBlade.Util.IdeaBladeConfig.Initialize() +212 IdeaBlade.Util.IdeaBladeConfig.get_Instance() +48 IdeaBlade.Persistence.DataSourceResolver.GetProbedResolver() +19 IdeaBlade.Persistence.DataSourceResolver..ctor(String pDataSourceExtensionName) +63 IdeaBlade.Persistence.PersistenceManager..ctor(Boolean pShouldConnect, String pDataSourceExtension, PersistenceServiceOption pPersistenceServiceOption) +201
It seems that devForce try to get the licence key or something else in the registry and causes the error. I have absolutely no control over the hosting machine. Thank you for your help.
|