Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 server not not recognised in queries

Author  Topic 

mk_garg20
Constraint Violating Yak Guru

343 Posts

Posted - 2006-02-15 : 19:05:30
Hi All,

I have a server called abc.
when i run Select top 10 * from jobcontrol..jobs
I am getting data.

But when i run
select top 10 * from abc.jobcontrol..jobs

I am getting error:
Server: Msg 7411, Level 16, State 1, Line 1
Server 'abc' is not configured for DATA ACCESS.

How to fix it?

Thanks

mk_garg

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-02-15 : 19:06:37
Do you have a linked server named abc setup?

Tara Kizer
aka tduggan
Go to Top of Page

mk_garg20
Constraint Violating Yak Guru

343 Posts

Posted - 2006-02-15 : 19:09:56
I am on local server.

mk_garg
Go to Top of Page

mk_garg20
Constraint Violating Yak Guru

343 Posts

Posted - 2006-02-15 : 19:13:02
got it.
exec sp_serveroption 'abc', 'data access', 'true'

Thanks

mk_garg
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-02-15 : 19:17:14
Why would you want to use the 4 part naming convention to access an object locally?

Tara Kizer
aka tduggan
Go to Top of Page

mk_garg20
Constraint Violating Yak Guru

343 Posts

Posted - 2006-02-15 : 19:52:36
I needed to stored setting in table for my application.

Thanks

mk_garg
Go to Top of Page
   

- Advertisement -