I had a problem where, working on a new MVC project, as soon as I added Html.Partial(\"Name\") to my _Layout.cshtml page, ASP.NET would throw this
Html.Partial(\"Name\")
_Layout.cshtml
I ran into this when I cleared assemblies due to being in an IIS application where the parent was referencing things I didn't want.
Should have been obvious in hindsight, but the error didn't really seem linked to the cause.