<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Thanks.<br>
    <br>
    That problem is fixed now.<br>
    <br>
    Regards,<br>
    <br>
    Vincent<br>
    <br>
    Le 13/05/11 20:48, Rafael Teixeira a écrit :
    <blockquote
      cite="mid:BANLkTikkVugbYXS7rUAFufGapMZ5A85Y8g@mail.gmail.com"
      type="cite">Seems like you are using the
      Microsoft.Web.Infrastructure.dll from Microsoft, you must use the
      version from Mono, and mostly everything should work.
      <div><br>
      </div>
      <div><br clear="all">
        Rafael "Monoman" Teixeira<br>
        ---------------------------------------<br>
        "The most exciting phrase to hear in science, the one that
        heralds new discoveries, is not 'Eureka!' (I found it!) but
        'That's funny ...'"<br>
        Isaac Asimov<br>
        US science fiction novelist &amp; scholar (1920 - 1992)<br>
        <br>
        <br>
        <div class="gmail_quote">On Fri, May 13, 2011 at 10:13 AM,
          Vincent DARON <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:vdaron@ask.be">vdaron@ask.be</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            Hi all,<br>
            <br>
            We are trying to run an MVC 3 application under mono, The
            web<br>
            application compile fine under Monodevelop 2.6 beta2 and
            mono 2.10.2.<br>
            <br>
            But, we keep having the folowing error while trying to run
            the the app :<br>
            <br>
            Server Error in '/' Application<br>
            No access to the given key<br>
            <br>
            Description: HTTP 500. Error processing request.<br>
            <br>
            Stack Trace:<br>
            System.Security.SecurityException: No access to the given
            key<br>
            at Microsoft.Win32.KeyHandler..ctor
            (Microsoft.Win32.RegistryKey rkey,<br>
            System.String basedir, Boolean is_volatile) [0x00057] in<br>
/usr/src/packages/BUILD/mono-2.10.2/mcs/class/corlib/Microsoft.Win32/UnixRegistryApi.cs:138<br>
            <br>
            at Microsoft.Win32.KeyHandler..ctor
            (Microsoft.Win32.RegistryKey rkey,<br>
            System.String basedir) [0x00000] in &lt;filename
            unknown&gt;:0<br>
            at Microsoft.Win32.KeyHandler.Lookup
            (Microsoft.Win32.RegistryKey rkey,<br>
            Boolean createNonExisting) [0x000d0] in<br>
/usr/src/packages/BUILD/mono-2.10.2/mcs/class/corlib/Microsoft.Win32/UnixRegistryApi.cs:411<br>
            <br>
            at Microsoft.Win32.UnixRegistryApi.OpenSubKey<br>
            (Microsoft.Win32.RegistryKey rkey, System.String keyname,
            Boolean<br>
            writable) [0x00000] in<br>
/usr/src/packages/BUILD/mono-2.10.2/mcs/class/corlib/Microsoft.Win32/UnixRegistryApi.cs:842<br>
            <br>
            at Microsoft.Win32.RegistryKey.OpenSubKey (System.String
            name, Boolean<br>
            writable) [0x0001e] in<br>
/usr/src/packages/BUILD/mono-2.10.2/mcs/class/corlib/Microsoft.Win32/RegistryKey.cs:278<br>
            <br>
            at Microsoft.Win32.RegistryKey.OpenSubKey (System.String
            name) [0x00000]<br>
            in<br>
/usr/src/packages/BUILD/mono-2.10.2/mcs/class/corlib/Microsoft.Win32/RegistryKey.cs:262<br>
            <br>
            at (wrapper remoting-invoke-with-check)<br>
            Microsoft.Win32.RegistryKey:OpenSubKey (string)<br>
            at
            Microsoft.Web.Infrastructure.RegistryKeyWrapper.OpenSubKey<br>
            (System.String name) [0x00000] in &lt;filename unknown&gt;:0<br>
            at
            Microsoft.Web.Infrastructure.KillBitHelper.GetKillBittedVersions
            ()<br>
            [0x00000] in &lt;filename unknown&gt;:0<br>
            at
            Microsoft.Web.Infrastructure.KillBitHelper.IsThisAssemblyKillBitted<br>
            () [0x00000] in &lt;filename unknown&gt;:0<br>
            at
            Microsoft.Web.Infrastructure.KillBitHelper.ThrowIfKillBitIsSet
            ()<br>
            [0x00000] in &lt;filename unknown&gt;:0<br>
            at<br>
Microsoft.Web.Infrastructure.ModuleInitializer+CriticalInitializer.CheckKillBit<br>
            () [0x00000] in &lt;filename unknown&gt;:0<br>
            at<br>
Microsoft.Web.Infrastructure.ModuleInitializer+CriticalInitializer.Initialize<br>
            () [0x00000] in &lt;filename unknown&gt;:0<br>
            at Microsoft.Web.Infrastructure.ModuleInitializer.Initialize
            ()<br>
            [0x00000] in &lt;filename unknown&gt;:0<br>
            at &lt;Module&gt;..cctor () [0x00000] in &lt;filename
            unknown&gt;:0<br>
            <br>
            Any help welcome !<br>
            <br>
            Best Regards,<br>
            <font color="#888888"><br>
              --<br>
              Vincent DARON<br>
              ASK<br>
              _______________________________________________<br>
              Mono-devel-list mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br>
              <a moz-do-not-send="true"
                href="http://lists.ximian.com/mailman/listinfo/mono-devel-list"
                target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
            </font></blockquote>
        </div>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Mono-devel-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ximian.com/mailman/listinfo/mono-devel-list">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>