[Mono-aspnet-list] Apache + Mono + asp.net mvc3 + ldap

Rui Francisco rui.francisco at fccn.pt
Thu Aug 23 11:07:36 UTC 2012


I've been making some tests with mono and asp.net mvc3 and i would like 
to know if there is anybody else with the same experiences. I'm using 
apache 2.2 and mono runtime 2.10.2.

I created in VS2010 an asp.net mvc3 application and used the 
directoryservices dll to authenticate the user with forms authentication.

When i run the website in VS2010, it works perfectly, user authenticates 
and all goes well. When i publish the application and put it on linux, 
the application runs, but when i do the post for the authentication, i 
get strange error, and i can't see where is the error.

System.TypeLoadException: A type load exception has occurred.
at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,System.Web.Mvc.ControllerBase,object[]) <IL 0x00016, 0x000c2>
at System.Web.Mvc.ActionMethodDispatcher.Execute (System.Web.Mvc.ControllerBase,object[]) <IL 0x00008, 0x0002d>
at System.Web.Mvc.ReflectedActionDescriptor.Execute (System.Web.Mvc.ControllerContext,System.Collections.Generic.IDictionary`2<string, object>) <IL 0x00074, 0x0012b>
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod (System.Web.Mvc.ControllerContext,System.Web.Mvc.ActionDescriptor,System.Collections.Generic.IDictionary`2<string, object>) <IL 0x00003, 0x00033>
at System.Web.Mvc.ControllerActionInvoker/<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12 () <IL 0x0002d, 0x00072>
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter (System.Web.Mvc.IActionFilter,System.Web.Mvc.ActionExecutingContext,System.Func`1<System.Web.Mvc.ActionExecutedContext>) <IL 0x00031, 0x000f1>

Is there any other way to get more debug information ? Anybody has the 
same problem?

Thanks in advance

More information about the Mono-aspnet-list mailing list