title: How do I determine which assembly is missing in Mono 2.10.2?
body: <p>I have a web server with MONO 2.10.2 (fast-cgi) on a CentOS 6 box.  Running a plain-vanilla MVC 3 site works great.  However, when I add MySql.Data, it gives me a not-so-helpful error:</p>
  
  <pre><code>System.IO.FileLoadException: The assembly name is invalid.
  </code></pre>
  
  <p>My DLLs are in the right place.  They're referenced properly.  Everything has been done correctly, but Mono still complains that it can't find an assembly without telling me which one.  The problem occurs after simply adding a reference to MySql.Data and without changing any code.  I've looked through the MySql.Data source solution and the references that it needs seem to exist on the web server.  </p>
  
  <p>I understand other people have <a href="https://stackoverflow.com/questions/7516459/how-to-make-mysql-work-with-mono">the same problem</a>.  I am happy to debug it myself, but I'm new to Mono and I can't figure out how to get a more-detailed error messages.  I've checked <a href="http://www.mono-project.com/Logging_Runtime_Events" rel="nofollow noreferrer">Mono's site</a> for instructions to enable more detailed logging, but their docs assume a certain base knowledge about Mono that I do not have.</p>
  
  <p>Is there a way to get more detailed information when Mono fails to load an assembly?</p>
  
  <p><sub>I'm not sure if these details matter, but just in case...<br>
  -  Mono:  2.10.2 (served via fastcgi-mono-server4)<br>
  -  MySql: Connector.Net 6.4.4.0 (from the v4 set in the .Net &amp; Mono download)<br>
  -  Webserver:  NGINX 1.0.11<br>
  -  OS:  CentOS 6</sub></p>