|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Friday, May 17, 2013 7:49 AM
Points: 1,281,
Visits: 1,564
|
|
Hello everyone,
Hope all is well.
I have recently setup a linked server from sql server 2005 to mas90 providex database and it works fine. I am able to fetch records from the providex database by issuing a select statement from the server where I have the mas90 and sql server existing. But I am getting an error when I connect to that SQL server remotely from my laptop and issue the same select statement. I have pasted the error below:
OLE DB provider "MSDASQL" for linked server "link" returned message "[ProvideX][ODBC Driver][FILEIO]Table is not accessible"
I need your inputs if anyone has come accross with such a scenario. I am using the same windows authentication to connect to the DB Server from SSMS from my laptop instead of doing a RDP. It works from RDP but not from my laptop.
Thank you.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Friday, May 17, 2013 7:49 AM
Points: 1,281,
Visits: 1,564
|
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 8:11 AM
Points: 2,613,
Visits: 3,128
|
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Friday, May 17, 2013 7:49 AM
Points: 1,281,
Visits: 1,564
|
|
I have Data Access set to True Use Remote Collation set to True and all the others set to False with a blank in the collation name and 0's for Connection timeout and query timeout
I am having the default settings I believe.
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 8:11 AM
Points: 2,613,
Visits: 3,128
|
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Friday, May 17, 2013 7:49 AM
Points: 1,281,
Visits: 1,564
|
|
Thanks for you inputs Jared.
I have just enabled the RPC out and executed my query and I end up getting the below error:
OLE DB provider "MSDASQL" for linked server "MAS90_LINK" returned message "[ProvideX][ODBC Driver][FILEIO]Table is not accessible". Msg 7306, Level 16, State 2, Line 1 Cannot open the table "AR_Customer" from OLE DB provider "MSDASQL" for linked server "MAS90_LINK".
Yes I am the SYSADMIN and I am using the same windows authentication to connect to the SQLServer with linked server from my laptop through SSMS(from where I am getting the error) and if I do an RDP to the remote Server and connect then I am able to fetch the records. Although I am not able to view the tables from my laptop as well as actual server under the catalogs of the linked server(MAS90_Link).
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 8:11 AM
Points: 2,613,
Visits: 3,128
|
|
Sapen (11/30/2011) Thanks for you inputs Jared.
I have just enabled the RPC out and executed my query and I end up getting the below error:
OLE DB provider "MSDASQL" for linked server "MAS90_LINK" returned message "[ProvideX][ODBC Driver][FILEIO]Table is not accessible". Msg 7306, Level 16, State 2, Line 1 Cannot open the table "AR_Customer" from OLE DB provider "MSDASQL" for linked server "MAS90_LINK".
Yes I am the SYSADMIN and I am using the same windows authentication to connect to the SQLServer with linked server from my laptop through SSMS(from where I am getting the error) and if I do an RDP to the remote Server and connect then I am able to fetch the records. Although I am not able to view the tables from my laptop as well as actual server under the catalogs of the linked server(MAS90_Link).
Try also enabling RPC and make sure the distributed transaction option is TRUE as well. I can't find to much info on these, but I believe that RPC may have something to do with remotely logging into the instance and then accessing a linked server.
Jared
Thanks,
Jared SQL Know-It-All
How to post data/code on a forum to get the best help - Jeff Moden
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Friday, May 17, 2013 7:49 AM
Points: 1,281,
Visits: 1,564
|
|
Forgot the Mention that I am using SQL Server 2005 Standard Edition. I have enabled the RPC but still ended up getting the same error. I dont see the distributed transaction at the server options but I do see it at the sqlserver properties unchecked "Requires distributed transaction for server-to-server communication".
I just enabled it and ran my queries and ended up with same error again.
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 8:11 AM
Points: 2,613,
Visits: 3,128
|
|
Sapen (11/30/2011) Forgot the Mention that I am using SQL Server 2005 Standard Edition. I have enabled the RPC but still ended up getting the same error. I dont see the distributed transaction at the server options but I do see it at the sqlserver properties unchecked "Requires distributed transaction for server-to-server communication".
I just enabled it and ran my queries and ended up with same error again.
Hmm... What credentials are you passing to the linked server? Are you impersonating? Sending explicit creds?
Jared
Thanks,
Jared SQL Know-It-All
How to post data/code on a forum to get the best help - Jeff Moden
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Friday, May 17, 2013 7:49 AM
Points: 1,281,
Visits: 1,564
|
|
| I havent setup anything in the security part of the linked server properties. But in the provider string, I am using the username and password to connect to the mas90 providex database.
|
|
|
|