In VS2005, I am using a DLL which accesses a SQL Server. The DLL returns a SQLException
Invalid object name ‘tableXYZ’
but tableXYZ is a table in the database.
Should it be looking for dbo.tableXYZ instead? Is this a permissions issue with the login being used?
This could be an issue with the owner of the tableand permissions.
for example the table owner may be
dboso the full table name will bedbo.TableXYZThe user you connect as, could be for exampleSQLUsermay not have access to thedboschema. So can only access tables such asSQLuser.TableXYZI’d check the permissions that you use to connect to the database.