Hi Amira,
what is the Invalid Object: a table or a column, or something else?
If you are targeting a local database, verify databases are the same on both machines. Look for the invalid object.
Also check if odbc sources on the 2 machines are the same: make sure the default database is set correctly.
Can you execute concerned statement/query in Sql Server Management Studio?
Carlo