title: Mono 3.0, Ubuntu 12.10, Nginx and ServiceStack
body: <p>According to the ServiceStack website, it should be easy to get ServiceStack up and running on Linux with Mono. I have installed nginx, mono 3.0 and fastcgi on the system (Ubuntu 12.10). I have used <a href="http://www.mono-project.com/FastCGI_Nginx">this</a> tutorial to get Nginx and fastcgi running. In MonoDevelop I have right clicked on the project, then Tools -> Deploy to web. This generates the files I want to deploy. Then I have copied the dlls to /var/www/project_folder on Ubuntu. Next I started Nginx and fastcgi. My web.config file looks like this:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
     &lt;system.web&gt;
        &lt;customErrors mode="Off"/&gt;
        &lt;httpHandlers&gt;
           &lt;add path="*" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*" /&gt;
        &lt;/httpHandlers&gt;
        &lt;compilation&gt;
           &lt;assemblies&gt;
              &lt;add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /&gt;
           &lt;/assemblies&gt;
        &lt;/compilation&gt;
     &lt;/system.web&gt;
     &lt;!-- Required for IIS 7.0 (and above?) --&gt;
     &lt;system.webServer&gt;
        &lt;validation validateIntegratedModeConfiguration="false" /&gt;
           &lt;handlers&gt;
              &lt;add path="*" name="ServiceStack.Factory" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*" preCondition="integratedMode" resourceType="Unspecified" allowPathInfo="true" /&gt;
           &lt;/handlers&gt;
      &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>I have not added XSP to the server. 
  When I go to the webpage on the server (remote address) I get an error telling me that it can't find ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory. The web.config file is located in the same folder as the dll containing this ServiceStackHttpHandlerFactory.</p>
  
  <p>Any ideas what's causing this?</p>