[Mono-dev] ASP.NET MVC 3 "No access to the given key"
Vincent DARON
vdaron at ask.be
Fri May 13 09:13:25 EDT 2011
Hi all,
We are trying to run an MVC 3 application under mono, The web
application compile fine under Monodevelop 2.6 beta2 and mono 2.10.2.
But, we keep having the folowing error while trying to run the the app :
Server Error in '/' Application
No access to the given key
Description: HTTP 500. Error processing request.
Stack Trace:
System.Security.SecurityException: No access to the given key
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey,
System.String basedir, Boolean is_volatile) [0x00057] in
/usr/src/packages/BUILD/mono-2.10.2/mcs/class/corlib/Microsoft.Win32/UnixRegistryApi.cs:138
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey,
System.String basedir) [0x00000] in <filename unknown>:0
at Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey rkey,
Boolean createNonExisting) [0x000d0] in
/usr/src/packages/BUILD/mono-2.10.2/mcs/class/corlib/Microsoft.Win32/UnixRegistryApi.cs:411
at Microsoft.Win32.UnixRegistryApi.OpenSubKey
(Microsoft.Win32.RegistryKey rkey, System.String keyname, Boolean
writable) [0x00000] in
/usr/src/packages/BUILD/mono-2.10.2/mcs/class/corlib/Microsoft.Win32/UnixRegistryApi.cs:842
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name, Boolean
writable) [0x0001e] in
/usr/src/packages/BUILD/mono-2.10.2/mcs/class/corlib/Microsoft.Win32/RegistryKey.cs:278
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name) [0x00000]
in
/usr/src/packages/BUILD/mono-2.10.2/mcs/class/corlib/Microsoft.Win32/RegistryKey.cs:262
at (wrapper remoting-invoke-with-check)
Microsoft.Win32.RegistryKey:OpenSubKey (string)
at Microsoft.Web.Infrastructure.RegistryKeyWrapper.OpenSubKey
(System.String name) [0x00000] in <filename unknown>:0
at Microsoft.Web.Infrastructure.KillBitHelper.GetKillBittedVersions ()
[0x00000] in <filename unknown>:0
at Microsoft.Web.Infrastructure.KillBitHelper.IsThisAssemblyKillBitted
() [0x00000] in <filename unknown>:0
at Microsoft.Web.Infrastructure.KillBitHelper.ThrowIfKillBitIsSet ()
[0x00000] in <filename unknown>:0
at
Microsoft.Web.Infrastructure.ModuleInitializer+CriticalInitializer.CheckKillBit
() [0x00000] in <filename unknown>:0
at
Microsoft.Web.Infrastructure.ModuleInitializer+CriticalInitializer.Initialize
() [0x00000] in <filename unknown>:0
at Microsoft.Web.Infrastructure.ModuleInitializer.Initialize ()
[0x00000] in <filename unknown>:0
at <Module>..cctor () [0x00000] in <filename unknown>:0
Any help welcome !
Best Regards,
--
Vincent DARON
ASK
More information about the Mono-devel-list
mailing list