http://bugzilla.novell.com/show_bug.cgi?id=567333
http://bugzilla.novell.com/show_bug.cgi?id=567333#c0 Summary: Crash on default ASP.NET MVC 2 Logon Page Classification: Mono Product: Mono: Runtime Version: 2.6.x Platform: x86-64 OS/Version: Windows Server 2008 R2 Status: NEW Severity: Major Priority: P5 - None Component: generics AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.6 (KHTML, like Gecko) Chrome/4.0.266.0 Safari/532.6 Created default asp.net mvc application. Compiled for mono in MonoDevelop. Run it OK, then in browser I go to http://127.0.0.1:8080/Account/LogOn and Get Crash Reproducible: Always Steps to Reproduce: 1.Created default asp.net mvc application. 2.Compiled for mono in MonoDevelop. 3.Run it OK, then in browser I go to http://127.0.0.1:8080/Account/LogOn Actual Results: Error 500 The property Vdv.Models.LogOnModel.UserName could not be found. Description: HTTP 500. Error processing request. Stack Trace: System.ArgumentException: The property Vdv.Models.LogOnModel.UserName could not be found. at System.Web.Mvc.AssociatedMetadataProvider.GetMetadataForProperty (System.Func`1 modelAccessor, System.Type containerType, System.String propertyName) [0x00000] in <filename unknown>:0 at System.Web.Mvc.ModelMetadata.GetMetadataFromProvider (System.Func`1 modelAccessor, System.Type modelType, System.String propertyName, System.Type containerType) [0x00000] in <filename unknown>:0 at System.Web.Mvc.ModelMetadata.FromLambdaExpression[LogOnModel,String] (System.Linq.Expressions.Expression`1 expression, System.Web.Mvc.ViewDataDictionary`1 viewData) [0x00000] in <filename unknown>:0 at System.Web.Mvc.Html.LabelExtensions.LabelFor[LogOnModel,String] (System.Web.Mvc.HtmlHelper`1 html, System.Linq.Expressions.Expression`1 expression) [0x00000] in <filename unknown>:0 at ASP.views_account_logon_aspx.__Render_loginContent (System.Web.UI.HtmlTextWriter __output, System.Web.UI.Control parameterContainer) [0x00117] in C:\Users\Administrator\Documents\Visual Studio 2008\Projects\vdv\Vdv\Views\Account\LogOn.aspx:21 at System.Web.UI.Control.RenderChildren (System.Web.UI.HtmlTextWriter writer) [0x0000b] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.1\mcs\class\System.Web\System.Web.UI\Control.cs:1129 at System.Web.UI.Control.Render (System.Web.UI.HtmlTextWriter writer) [0x00000] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.1\mcs\class\System.Web\System.Web.UI\Control.cs:1118 at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter writer) [0x0005f] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.1\mcs\class\System.Web\System.Web.UI\Control.cs:1310 at ASP.views_shared_site_master.__RenderTree (System.Web.UI.HtmlTextWriter __output, System.Web.UI.Control parameterContainer) [0x00099] in C:\Users\ADMINI~1\AppData\Local\Temp\Administrator-temp-aspnet-0\fa13851c\App_Web_Site.Master.f59b7a01.1ea2347_0.cs:162 at System.Web.UI.Control.RenderChildren (System.Web.UI.HtmlTextWriter writer) [0x0000b] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.1\mcs\class\System.Web\System.Web.UI\Control.cs:1129 at System.Web.UI.Control.Render (System.Web.UI.HtmlTextWriter writer) [0x00000] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.1\mcs\class\System.Web\System.Web.UI\Control.cs:1118 at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter writer) [0x0005f] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.1\mcs\class\System.Web\System.Web.UI\Control.cs:1310 at System.Web.UI.Control.RenderChildren (System.Web.UI.HtmlTextWriter writer) [0x0006d] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.1\mcs\class\System.Web\System.Web.UI\Control.cs:1143 at System.Web.UI.Control.Render (System.Web.UI.HtmlTextWriter writer) [0x00000] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.1\mcs\class\System.Web\System.Web.UI\Control.cs:1118 at System.Web.UI.Page.Render (System.Web.UI.HtmlTextWriter writer) [0x00172] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.1\mcs\class\System.Web\System.Web.UI\Page.cs:1136 at System.Web.Mvc.ViewPage.Render (System.Web.UI.HtmlTextWriter writer) [0x00000] in <filename unknown>:0 at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter writer) [0x0005f] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.1\mcs\class\System.Web\System.Web.UI\Control.cs:1310 at System.Web.UI.Page.RenderPage () [0x00032] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.1\mcs\class\System.Web\System.Web.UI\Page.cs:1679 at System.Web.UI.Page.InternalProcessRequest () [0x001d7] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.1\mcs\class\System.Web\System.Web.UI\Page.cs:1544 at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x0005b] in C:\cygwin\tmp\monobuild\build\BUILD\mono-2.6.1\mcs\class\System.Web\System.Web.UI\Page.cs:1353 Expected Results: Nornal Log On screen -- Configure bugmail: http://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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
