Does not start the service on Nginx and HyperFastCGI

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

The most possible reason that application directory in /etc/hyperfastcgi points to location different where web application is located. Can you share your /etc/hyperfastcgi config and /etc/nginx/sites-enabled/hello-app.conf files?

Can you show also the output of command ls -al /var/www/hello-app?
Did you also make restart of hyperfastcgi by command /etc/init.d/hyperfastcgi restart after placing your web application to the application directory?

Thanks a lot Sergey, I have already start the service,
I deleted all the files and folders nginx and hyperfastcgi, and install service in this script:

cd ~
curl -sL https://github.com/ServiceStackApps/mono-server-config/raw/master/install.sh --output install.sh
source install.sh

Sorry for my poor English :blush:

I see services are available now on your nginx link. So after reinstalling all works for you, correct?

Yes, reinstallation solved the problem