[Mono-bugs] [Bug 652807] New: [Regression] Asp.Net app run locally throws Type does not match the valueKind error

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 10 18:14:31 EST 2010


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

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


           Summary: [Regression] Asp.Net app run locally throws Type does
                    not match the valueKind error
    Classification: Mono
           Product: Mono Tools for Visual Studio
           Version: 2.0
          Platform: x86
        OS/Version: Windows 7
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Run in Mono
        AssignedTo: jpobst at novell.com
        ReportedBy: mlegendre at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Description of Problem:

Windows 7 Ultimate x86
monotools-2.0.8152
mono-2.8.1-gtksharp-2.12.10-win32-1


While running asp.net apps locally on mono I get the following error and stack
trace. Type does not match the valueKind

System.ArgumentException: Type does not match the valueKind
  at Microsoft.Win32.Win32RegistryApi.SetValue (Microsoft.Win32.RegistryKey
rkey, System.String name, System.Object value, RegistryValueKind valueKind)
[0x00195] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.8.1\mcs\class\corlib\Microsoft.Win32\Win32RegistryApi.cs:267 
  at Microsoft.Win32.RegistryKey.SetValue (System.String name, System.Object
value, RegistryValueKind valueKind) [0x0003a] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.8.1\mcs\class\corlib\Microsoft.Win32\RegistryKey.cs:254 
  at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:SetValue
(string,object,Microsoft.Win32.RegistryValueKind)
  at System.Web.Configuration.MachineKeyRegistryStorage.Store (System.Byte[]
buf, KeyType kt) [0x0005a] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.8.1\mcs\class\System.Web\System.Web.Configuration_2.0\MachineKeyRegistryStorage.cs:139


Steps to reproduce the problem: 

1. Open Visual Studio.
2. Create a new web application project.
   a. File
   b. New Project
   c. Visual C#
   d. Web
   e. ASP.Net Web Application
3. Type "Hello" between the <div> tags of Default.aspx.
4. Mono-> Run Mono
5. Select a local profile.
6. RESULT: On Windows, the browser window should open with Hello on it.


Actual Results:
Type does not match the valueKind error 

Expected Results:
It should display whatever is written in between the div tags

How often does this happen?
every time

Additional Information:

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


More information about the mono-bugs mailing list