我刚刚使用主存储库通过Git安装了mono 3.2.3。我正在使用nginx 1.4和fastcgi-server4。现在我使用.NET4.5的MVC4应用程序无效。它给了我一个400:
System.ArgumentException
Destination array was not long enough. Check destIndex and length, and the array's lower bounds
Description: HTTP 400.Error processing request.
Details: Non-web exception. Exception origin (name of application or object): mscorlib.
Exception stack trace:
at (wrapper xdomain-invoke) Mono.WebServer.FastCgi.Responder:SendOutput (byte[],int)
at (wrapper remoting-invoke-with-check) Mono.WebServer.FastCgi.Responder:SendOutput (byte[],int)
at Mono.WebServer.FastCgi.WorkerRequest.SendResponseFromMemory (System.Byte[] data, Int32 length) [0x00000] in <filename unknown>:0
at System.Web.HttpRuntime.FinishWithException (System.Web.HttpWorkerRequest wr, System.Web.HttpException e) [0x00000] in <filename unknown>:0
at System.Web.HttpRuntime.Process (System.Web.HttpWorkerRequest req) [0x00000] in <filename unknown>:0
at System.Web.HttpRuntime.RealProcessRequest (System.Object o) [0x00000] in <filename unknown>:0
at System.Web.HttpRuntime.ProcessRequest (System.Web.HttpWorkerRequest wr) [0x00000] in <filename unknown>:0
at Mono.WebServer.MonoWorkerRequest.ProcessRequest () [0x00000] in <filename unknown>:0
其中许多:
Mono: AOT failed to load AOT module /usr/lib/mono/gac/System.Transactions/4.0.0.0__b77a5c561934e089/System.Transactions.dll.so:
/usr/lib/mono/gac/System.Transactions/4.0.0.0__b77a5c561934e089/System.Transactions.dll.so: cannot open shared object file: No such file or directory
Mono: AOT failed to load AOT module /usr/lib/mono/gac/System.Messaging/4.0.0.0__b03f5f7f11d50a3a/System.Messaging.dll.so:
/usr/lib/mono/gac/System.Messaging/4.0.0.0__b03f5f7f11d50a3a/System.Messaging.dll.so: cannot open shared object file: No such file or directory`
我真的很感激任何帮助解决这个问题并让单声道MVC 4.5运行。
溴
欧麦尔