我已经全新安装了带有 mono 和 mod_mono 的 Ubuntu 服务器 11.10,我正在尝试运行一个 asp.net 站点(需要 .net 4.0),但我得到的只是这个非常无用的堆栈跟踪:
Server Error in '/' Application
method arguments are incompatible
Description: HTTP 500. Error processing request.
Stack Trace:
System.ArgumentException: method arguments are incompatible
at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, Boolean throwOnBindFailure, Boolean allowClosed) [0x00000] in <filename unknown>:0
at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method) [0x00000] in <filename unknown>:0
at System.Web.HttpApplicationFactory.AddHandler (System.Reflection.EventInfo evt, System.Object target, System.Web.HttpApplication app, System.Reflection.MethodInfo method) [0x00000] in <filename unknown>:0
at System.Web.HttpApplicationFactory.AttachEvents (System.Web.HttpApplication app) [0x00000] in <filename unknown>:0
at System.Web.HttpApplication.InitOnce (Boolean full_init) [0x00000] in <filename unknown>:0
Version information: Mono Runtime Version: 2.10.5 (Debian 2.10.5-1); ASP.NET Version: 4.0.30319.1
任何人都对如何调试或找出实际原因有任何想法?如果某处有更详细的日志?