[Mono-bugs] [Bug 658040] New: asp.net page crashes after upgrading to 2.8.x

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 7 13:19:53 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=658040

https://bugzilla.novell.com/show_bug.cgi?id=658040#c0


           Summary: asp.net page crashes after upgrading to 2.8.x
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.8.x
          Platform: 64bit
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: novell at vanhoecke.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12

When I upgrade from 2.6.7_3 to 2.8.1_3 or 2.8.1_5 one of my asp.net apps
refuses to start with following error:

System.Security.SecurityException: No access to the given key
  at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey,
System.String basedir, Boolean is_volatile) [0x00000] in <filename unknown>:0 
  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) [0x00000] in <filename unknown>:0 
  at Microsoft.Win32.UnixRegistryApi.OpenSubKey (Microsoft.Win32.RegistryKey
rkey, System.String keyname, Boolean writable) [0x00000] in <filename
unknown>:0 
  at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name, Boolean
writable) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check)
Microsoft.Win32.RegistryKey:OpenSubKey (string,bool)
  at System.Web.Configuration.MachineKeyRegistryStorage.OpenRegistryKey
(System.String path, Boolean write) [0x00000] in <filename unknown>:0 
  at System.Web.Configuration.MachineKeyRegistryStorage.Store (System.Byte[]
buf, KeyType kt) [0x00000] in <filename unknown>:0 

This occurs with 2.8.1_3 as well as with the latest 2.8.2_5

I have to remove Mono manually and restore 2.6.7_3 to get my app working again.

This seems to be a known problem, I found a thread about it at
http://lists.ximian.com/pipermail/mono-list/2010-November/046151.html

I am not in the habit of getting a framework like mono straight from git and
building it myself.

Is there no way I can get hold of an installer where this error is fixed?

Reproducible: Always

Steps to Reproduce:
1. install MonoFramework-2.8.1_x
2. start app, get Error 500, as described above
3.
Actual Results:  
Server Error in '/gata' 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) [0x00000] in <filename unknown>:0 
  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) [0x00000] in <filename unknown>:0 
  at Microsoft.Win32.UnixRegistryApi.OpenSubKey (Microsoft.Win32.RegistryKey
rkey, System.String keyname, Boolean writable) [0x00000] in <filename
unknown>:0 
  at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name, Boolean
writable) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check)
Microsoft.Win32.RegistryKey:OpenSubKey (string,bool)
  at System.Web.Configuration.MachineKeyRegistryStorage.OpenRegistryKey
(System.String path, Boolean write) [0x00000] in <filename unknown>:0 
  at System.Web.Configuration.MachineKeyRegistryStorage.Store (System.Byte[]
buf, KeyType kt) [0x00000] in <filename unknown>:0 

Expected Results:  
just my web page running as it does with version 2.6.7

I am running this app on my iMac, in a local account on my local apache server;

I am not sure what component I should select for this bug report.

It is a known problem, that has been fixed in the repo. I'd sure would like to
get the fix without having to build the framework from source.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list