title: LocalDB works fine in Visual Studio IIS, fails when deployed to full IIS
body: <p>I have a code first localdb database in my MVC 4 project and if I run the application in Visual Studio 2012 it connects fine and everything works. When I publish to my full IIS and access the site the database cannot connect and I get :</p>
  
  <blockquote>
    <p>"the specified localdb instance does not exist"</p>
  </blockquote>
  
  <p>I've had other problems, it seems localdb is a nightmare to deploy! I followed all the advice here also: <a href="http://blogs.msdn.com/b/sqlexpress/archive/2011/12/09/using-localdb-with-full-iis-part-1-user-profile.aspx" rel="nofollow">http://blogs.msdn.com/b/sqlexpress/archive/2011/12/09/using-localdb-with-full-iis-part-1-user-profile.aspx</a></p>
  
  <p>I'm still having no luck, why does it work perfectly in VS IIS Express and not 'real' IIS?</p>
  
  <p>Thanks</p>