I need to use data base locally. I have created database in (LocalDB)\\v11.0 Server with Visual Studio 2012. Everything is ok when connecting from e.g. console application.
I think that you need to allow remote connection to your SqlServer.
In the Sql Server configuration manager, under SQL Network Configuration, chose your server and check that TCP/IP is enabled.
In my case, doublic click on TCP/IP, go to the bottom "IPAll" and set dynamic ports empty and TCP Port to 1433.
Let me know if it's enough.