“Invalid object name” after restoring SQL Server 2008 database
问题 I'm switching my web host and backed up my database. Due to some restriction with my new host I could not restore the .bak file and had to send to them so they would restore it. Once they had restored it, I ran my application I get this System.Data.SqlClient.SqlException: Invalid object name "<table name>" whenever I try to query a table from the application. However, I have no problems logging in through management studio with same user name and password and querying the tables. I'm running