Search code examples
mysqldeploymentframeworksappharbornancy

AppHarbor: NancyFx app got Internal Server Error


I've recently deployed to http://domainshop.apphb.com/ a simple ASP.NET application using the following NuGet packages:

Nancy.Hosting.Aspnet
Dapper
MySql.Data

The application uses MySQL. I've activated the addon and labeled the instance using the same name written in my Web.config. (I'v also deplyoed my db to that instance).

NancyFx is configured in system.webServer/handler and not in system.web/httpHandlers.

I've also set system.web/customErrors to Off.

What am I missing for get 500 - Internal Server Error?

The interesting thing is that static files are served correctly (http://domainshop.apphb.com/assets/style.css).

Regards, Giacomo


Solution

  • Are your views set with a build action of Content?
    I have had this before where my view files are set to None and so are not deployed by AppHarbor.