I had the same issue you described but I was able to fix this by doing the following:
Download and install the 64bit version of SQL Express 2008 R2 SP2.
Enable TCP/IP in the Network Configuration in SQL Server Configuration Manager (you may also need to add port 1433 to "IPAll" in the IP addresses tab while you're in TCP/IP protocol settings).