Forum Discussion
Reading Sql Server tables and getting Invalid Object Name errors
roboskoog Is this SQL database different than others? Version, edition, etc?
Do you get the same error if write a query to select the information from the tables?
I believe it is the same version of Sql Server. I just tried to write a query and that seemed to work, but if I select a view in the database, I get the same error.
- Anonymous10 years agoNot applicable
roboskoog I've never seen the error, but a quick search brought up a similiar looking error written about by Adam Saxton here
The other thing I would check is that you have the same permissions on this database that you have on the other.
- roboskoog10 years agoFrequent Visitor
I checked at the one I am having issues with is a SQL Server 2003 DB. The one I can read is 2008, following your post from Adam, it looks like that's the underlying issue. I have the same permissions, so it must be due to the version of the DB. I'll have to write the SQL and use that rather than link to the tables.
Thanks for the info. it was helpful in debugging..