SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Msg 7314, Level 16, State 1, Line 1 The OLE DB provider "SQLNCLI" for linked server "CHIMSSQLDEV"...


Msg 7314, Level 16, State 1, Line 1 The OLE DB provider "SQLNCLI" for linked server "CHIMSSQLDEV" does not contain the table ""ArrowProdDB"."dbo"."sysfiles""....

Author
Message
DBA_NEW
DBA_NEW
Grasshopper
Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)

Group: General Forum Members
Points: 14 Visits: 256
The OLE DB provider "SQLNCLI10" for linked server "A" does not contain the table "DatabaseA""."dbo"."TableA"".
The table either does not exist or the current user does not have permissions on that table.

E.G.

Connecting from server A to Server B using a linked server

Example

From Server B

select *
from [A].[DatabaseA].dbo.TableA

error message:

The OLE DB provider "SQLNCLI10" for linked server "ServerA" does not contain the table ""DatabaseA"."dbo"." TableA "".
The table either does not exist or the current user does not have permissions on that table.


Check the login context for linked server on server B

Server Objects
Linked Servers
[ServerB]

Right click
Properties
Security
REMOTE LOGIN username..----------------------------------------------------------*


Then go to Server A

Go

Security
Logins
Username from --------------------------------------------------------------------------* above

Make sure this Username has access to Database being queried above. (DatabaseA)

Give DBO access or atleast DATAREADER..
DBA_NEW
DBA_NEW
Grasshopper
Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)Grasshopper (14 reputation)

Group: General Forum Members
Points: 14 Visits: 256
The OLE DB provider "SQLNCLI10" for linked server "A" does not contain the table "DatabaseA""."dbo"."TableA"".
The table either does not exist or the current user does not have permissions on that table.

E.G.

Connecting from server B to ServBr A using a linked server

Example

From Server B

select *
from [A].[DatabaseA].dbo.TableA

error message:

The OLE DB provider "SQLNCLI10" for linked server "ServerA" does not contain the table ""DatabaseA"."dbo"." TableA "".
The table either does not exist or the current user does not have permissions on that table.


Check the login context for linked server on server B

Server Objects
Linked Servers
[ServerB]

Right click
Properties
Security
REMOTE LOGIN username..----------------------------------------------------------*


Then go to Server A

Go

Security
Logins
Username from --------------------------------------------------------------------------* above

Make sure this Username has access to Database being queried above. (DatabaseA)

Give DBO access or atleast DATAREADER..
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search