Re: Mono + nginx (OpenBSD 5.3)

OK, by removing all copies of \bin\System.Web.* from my app’s
path, I
whittled the exception down to this:

Handling exception type TypeInitializationException
Message is An exception was thrown by the type initializer for
System.Web.Configuration.WebConfigurationManager
IsTerminating is set to True
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Web.Configuration.WebConfigurationManager

Server stack trace:
at System.Web.Hosting.ApplicationHost.SetHostingEnvironment ()
[0x00000]
in :0
at System.AppDomain.DoCallBack (System.CrossAppDomainDelegate
callBackDelegate) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack
(System.CrossAppDomainDelegate)
at (wrapper xdomain-dispatch) System.AppDomain:DoCallBack
(object,byte[]&,byte[]&)

Exception rethrown at [0]:
—> System.MissingMethodException: Method not found:
‘System.Configuration.ConfigurationManager.get_ConfigurationFactory’.
— End of inner exception stack trace —
at (wrapper xdomain-invoke) System.AppDomain:DoCallBack
(System.CrossAppDomainDelegate)
at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack
(System.CrossAppDomainDelegate)
at System.Web.Hosting.ApplicationHost.CreateApplicationHost
(System.Type
hostType, System.String virtualDir, System.String physicalDir) [0x00000]
in
:0
at Mono.WebServer.VPathToHost.CreateHost
(Mono.WebServer.ApplicationServer server, Mono.WebServer.WebSource
webSource) [0x00000] in :0
at Mono.WebServer.XSP.Server.RealMain (System.String[] args, Boolean
root, IApplicationHost ext_apphost, Boolean quiet) [0x00000] in
:0
at Mono.WebServer.XSP.Server.Main (System.String[] args) [0x00000] in
:0

Thoughts (as I am pretty much out!)?

Thanks!
G