Try using double quotes around the object name "TableName". If the table exists, and you have permissions to it, it's probably a mixed case table name.

Ken