title: Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0 at server
body: <p>I have one asp.net MVC application with .NET Framework 4.0. Now in local I change my MVC version to 2.0.0.0 to 3.0.0.0 and deploy at server and I found that project not successfully deploy. When I see event logger I found the following error</p>
  
  <blockquote>
    <p>"Exception message: c:\Apps\Test\WebUI\Web.config(105): error CS0234: The type or
    namespace name 'Mvc' does not exist in the namespace 'System.Web' (are
    you missing an assembly reference?)"</p>
  </blockquote>
  
  <p>When I see my <code>web.config</code> file i found</p>
  
  <pre><code>&lt;add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /&gt;
  
  &lt;runtime&gt;
  
      &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /&gt;
          &lt;bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" /&gt;
        &lt;/dependentAssembly&gt;
      &lt;/assemblyBinding&gt;
  
    &lt;/runtime&gt;
  </code></pre>
  
  <p>Search for this error and chage </p>
  
  <pre><code>&lt;bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" /&gt;
  
  to 
  
  &lt;bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" /&gt;
  also try this
  &lt;bindingRedirect oldVersion="1.0.0.0-3.0.0.1" newVersion="3.0.0.1" /&gt;
  </code></pre>
  
  <p>but same error occure.
  Also I see the windows/assembly and here only system.web.mvc 2.0.0.0 is present though MVC 3 is installed.</p>
  
  <p>Please give me proper solution for this.</p>