Hi dear,
I installed the service on this tutorial: https://github.com/ServiceStackApps/mono-server-config
but it did not work,please help me understand what the problem is, thanks.
On xsp everything works fine: xsp link
nginx link(not work)
Mono version:
OS version:
Error:
Application Exception
System.NullReferenceException
Object reference not set to an instance of an object
Description: HTTP 500.Error processing request.
Details: Non-web exception. Exception origin (name of application or object): System.Web.
Exception stack trace:
at System.Web.Util.UrlUtils.Canonic (System.String path) <0x40a622a0 + 0x0003c> in <filename unknown>:0
at System.Web.HttpRequest.get_FilePath () <0x40a61840 + 0x00053> in <filename unknown>:0
at System.Web.HttpRequest.get_BaseVirtualDir () <0x40a61640 + 0x00027> in <filename unknown>:0
at System.Web.HttpRequest.MapPath (System.String virtualPath) <0x40a615d0 + 0x00027> in <filename unknown>:0
at System.Web.Hosting.HostingEnvironment.MapPath (System.String virtualPath) <0x40a26850 + 0x00073> in <filename unknown>:0
at System.Web.Hosting.DefaultVirtualPathProvider.DirectoryExists (System.String virtualDir) <0x40a267b0 + 0x00043> in <filename unknown>:0
at System.Web.Configuration.WebConfigurationManager.FindWebConfig (System.String path, System.Boolean& inAnotherApp) <0x409b0000 + 0x00092> in <filename unknown>:0
at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration (System.String path, System.String site, System.String locationSubPath, System.String server, System.String userName, System.String password, Boolean fweb) <0x4099fa70 + 0x000b7> in <filename unknown>:0
at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName, System.String path, System.Web.HttpContext context) <0x4099f440 + 0x000af> in <filename unknown>:0
at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName, System.String path) <0x409afd40 + 0x00027> in <filename unknown>:0
at System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection (System.String sectionName) <0x409ad8d0 + 0x000bb> in <filename unknown>:0
at System.Web.Compilation.AppCodeCompiler.Compile () <0x40a6fb40 + 0x0009f> in <filename unknown>:0
at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext context) <0x40a5fb20 + 0x001e7> in <filename unknown>:0