Hello,<br>We have some trouble to run an Asp.Net MVC3 under mono 3.0.2 (profile .NET 4.0)  The webapp runs fine under mono 2.10.9.<br><br>In details, we are using  lighttpd 1.4.28 (ssl) webserver. the fastcgi configuration file is the following:<span style="font-style:italic"><br>
<br>fastcgi.server = (</span><br style="font-style:italic"><span style="font-style:italic">    "" => ((</span><br style="font-style:italic"><span style="font-style:italic">        "socket" => "/tmp/fastcgi-mono-server",</span><br style="font-style:italic">
<span style="font-style:italic">                "bin-path" => "/opt/mono/bin/fastcgi-mono-server4",</span><br style="font-style:italic"><span style="font-style:italic">                "bin-environment" => (</span><br style="font-style:italic">
<span style="font-style:italic">                        "PATH" => "/bin:/usr/bin:/opt/mono/bin",</span><br style="font-style:italic"><span style="font-style:italic">                        "LD_LIBRARY_PATH" => "/opt/mono/lib:",</span><br style="font-style:italic">
<span style="font-style:italic">                        "MONO_SHARED_DIR" => "/tmp/",</span><br style="font-style:italic"><span style="font-style:italic">                        "MONO_FCGI_LOGLEVELS" => "Standard",</span><br style="font-style:italic">
<span style="font-style:italic">                        "MONO_FCGI_LOGFILE" => "/tmp/fastcgi.log",</span><br style="font-style:italic"><span style="font-style:italic">                        "MONO_FCGI_ROOT" => "/var/www/html/ourwebapp",</span><br style="font-style:italic">
<span style="font-style:italic">                        "MONO_FCGI_APPLICATIONS" => "/:."</span><br style="font-style:italic"><span style="font-style:italic">                ),</span><br style="font-style:italic">
<span style="font-style:italic">                "max-procs" => 1,</span><br style="font-style:italic"><span style="font-style:italic">        "check-local" => "disable"</span><br style="font-style:italic">
<span style="font-style:italic">    ))</span><br style="font-style:italic"><span style="font-style:italic">)</span><br><br>On the server we installed side-by-side either mono Mono 2.10.9 and  Mono 3.0.2> while executing the web application using lighttp with mono 2.10.9 no big issues are found,  when we use mono 3.0.2  and  the latest XSP (2.10.2) we obtain an empty responses on the client side and the following error on the server log<br>
<br><br>[2012-12-12 10:06:46Z] Notice  Beginning to receive records on connection.<br>[2012-12-12
 10:06:47Z] Error   ERROR PROCESSING REQUEST: 
System.TypeInitializationException: An exception was thrown by the type 
initializer for Mono.WebServer.FastCgi.WorkerRequest<br><br>Server stack trace: <br> 
 at Mono.WebServer.FastCgi.ApplicationHost.ProcessRequest 
(Mono.WebServer.FastCgi.Responder responder) [0x00000] in <filename 
unknown>:0 <br>  at (wrapper remoting-invoke-with-check) 
Mono.WebServer.FastCgi.ApplicationHost:ProcessRequest 
(Mono.WebServer.FastCgi.Responder)<br>  at (wrapper xdomain-dispatch) Mono.WebServer.FastCgi.ApplicationHost:ProcessRequest (object,byte[]&,byte[]&)<br><br>Exception rethrown at [0]: <br> ---> System.InvalidCastException: Cannot cast from source type to destination type.<br>
  at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000] in <filename unknown>:0 <br>  at Mono.WebServer.FastCgi.WorkerRequest..cctor () [0x00000] in <filename unknown>:0 <br>  --- End of inner exception stack trace ---<br>
  at (wrapper xdomain-invoke) Mono.WebServer.FastCgi.ApplicationHost:ProcessRequest (Mono.WebServer.FastCgi.Responder)<br> 
 at (wrapper remoting-invoke-with-check) 
Mono.WebServer.FastCgi.ApplicationHost:ProcessRequest 
(Mono.WebServer.FastCgi.Responder)<br>  at Mono.WebServer.FastCgi.Responder.Process () [0x00000] in <filename unknown>:0 <br>[2012-12-12 10:06:47Z] Notice  Finished receiving records on connection. <br><br><br>Are we missing something?<br>
<br>Thanks for any hint,<br>best regards,<br>Matteo<br><br>