title: Error manually registering DevExpress controls in an ASP.NET MVC project
body: <p>A few months ago, I'd downloaded v12.2 of DevExpress controls for a free trial. I got to <a href="https://stackoverflow.com/questions/16906196/error-creating-a-devexpress-controls-for-asp-net-mvc-empty-project-manually">just set up a project briefly</a> but never really got to use them then.</p>
  
  <p>I am using them now after an extension of the trial period.</p>
  
  <p>Since I am using Visual Web Developer 2010 Express, I do not see the DevExpress control templates and so I am using the instructions given here to manually register DevExpress with my ASP.NET MVC project:</p>
  
  <p><a href="http://documentation.devexpress.com/#AspNet/CustomDocument8163" rel="nofollow noreferrer">http://documentation.devexpress.com/#AspNet/CustomDocument8163</a></p>
  
  <p>I followed all the instructions to the letter. I even changed all version references from v13.1 to v12.2 and from 13.1.6.0 to 12.2.10.0.</p>
  
  <p>But when I ran the project for the first time, I got the yellow screen of death with a run-time exception as depicted in the following picture.</p>
  
  <p><img src="https://i.stack.imgur.com/Fdq48.png" alt="enter image description here"></p>
  
  <p>Then I remembered that the DevExpress namespaces to be added to the <code>system.web -&gt; pages -&gt; namespaces</code> element must be done in the <code>Views/web.config</code> and not in the root web.config. This is not mentioned in their documentation but I remembered it from my trial and error attempts from the last time I'd used their controls.</p>
  
  <p>Then, the first exception went away and now I get this exception.</p>
  
  <p><img src="https://i.stack.imgur.com/PV2e0.png" alt="enter image description here"></p>
  
  <p>I even ran the project through the converter tool in the Tools folder of the installation but have had no luck. I get the same runtime exception. I even wrote to their support but they seem not to respond at all.</p>