title: MVC System.Web.HttpCompileException on Html.RenderPartial
body: <p>I'm getting an <code>System.Web.HttpCompileException</code> when the my view calls <code>Html.RederPartial</code>. The exception message is:</p>
  
  <blockquote>
    <p>Additional information: External component has thrown an exception.</p>
  </blockquote>
  
  <p>I've checked that the:</p>
  
  <ul>
  <li>Controller doesn't throw an exception</li>
  <li>Partial view does exist</li>
  <li>The <code>Model</code> passed by controller and received by the view is the same.</li>
  <li>The <code>InnerException</code> is null</li>
  </ul>
  
  <p>The exception sounds like it should be that the html or razor is malformed or incorrect, but the solution builds fine. It was also working not too long ago, so I'm guessing, I'm missing something silly...</p>
  
  <p><strong>My question:</strong></p>
  
  <p>Does anyone know how to know what causes this exception? Or is there a way to get more information on the exception?</p>
  
  <p><strong>Edit:</strong> Here's the StackTrace</p>
  
  <blockquote>
    <p>at System.Web.Compilation.AssemblyBuilder.Compile()
       at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
       at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
       at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean ...</p>
  </blockquote>