[Mono-dev] ASP.NET MVC 3 "No access to the given key"

Vincent DARON vdaron at ask.be
Sun May 15 07:10:20 EDT 2011


Thanks.

That problem is fixed now.

Regards,

Vincent

Le 13/05/11 20:48, Rafael Teixeira a écrit :
> Seems like you are using the Microsoft.Web.Infrastructure.dll from 
> Microsoft, you must use the version from Mono, and mostly everything 
> should work.
>
>
> Rafael "Monoman" Teixeira
> ---------------------------------------
> "The most exciting phrase to hear in science, the one that heralds new 
> discoveries, is not 'Eureka!' (I found it!) but 'That's funny ...'"
> Isaac Asimov
> US science fiction novelist & scholar (1920 - 1992)
>
>
> On Fri, May 13, 2011 at 10:13 AM, Vincent DARON <vdaron at ask.be 
> <mailto:vdaron at ask.be>> wrote:
>
>     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
>     _______________________________________________
>     Mono-devel-list mailing list
>     Mono-devel-list at lists.ximian.com
>     <mailto:Mono-devel-list at lists.ximian.com>
>     http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110515/515acdc8/attachment.html 


More information about the Mono-devel-list mailing list