Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invalid Object Name - OLEDB Connection - SQL Server 7.0

Status
Not open for further replies.

pwrpuf2000

Programmer
Joined
Dec 19, 2001
Messages
1
Location
US
I created a website using Visual Interdev accessing a SQL Server 2000 database. Works fine.

The site is being moved to a different host with SQL Server 7.0.

My access to the SQL Server 7.0 is through Terminal Services. I must connect using SQL Authentication.

I imported the tables into the 7.0 server from an Access Database and changed the permissions for the internet account. The owner of the tables are now my new user account and not 'dbo'

I receive the following error when trying to connect via my web application.

'Invalid object name'
Do I need to change owners? Are there OLEDB or ODBC connection bugs in 7.0 that I should be aware of?

Any help would be appreciated.

Thanks.
 

I recommend changing the owner to dbo. However, you can reference objects with the owner name.

Select * from owner.tablename

OR add the database name.

Select * From dbname.owner.tablename Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top