【发布时间】:2012-02-01 12:51:26
【问题描述】:
我已经全新安装了带有 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
有人对如何调试此问题或找出实际导致此问题的原因有任何想法吗?如果某处有更详细的日志?
【问题讨论】: