473,883 Members | 1,724 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Linked Server setup - SQL 2005 RTM

<<cross posted from microsoft.publi c.sqlserver.ser ver>>

Environment: Windows 2003 Standard Edition SP1, SQL 2005 EE RTM (both
servers)
I am getting the following messages when I run this query:
select * from LINKEDSERVER.da tabasename.dbo. tablename
OLE DB provider "SQLNCLI" for linked server "LINKEDSERV ER" returned
message "An error has occurred while establishing a connection to the
server. When connecting to SQL Server 2005, this failure may be caused
by the fact that under the default settings SQL Server does not allow
remote connections.".
Msg 782, Level 16, State 1, Line 0
SQL Network Interfaces: No credentials are available in the security
package
OLE DB provider "SQLNCLI" for linked server "LINKEDSERV ER" returned
message "Client unable to establish connection".
Msg 782, Level 16, State 1, Line 0
SQL Network Interfaces: No credentials are available in the security
package
LINKEDSERVER is set up as a SQL Server linked server., with no login
mapping, and connections will be made using the login's current
security context.
Both servers allow local and remote connections via TCP/IP, and Named
Pipes is disabled on both servers. Both servers are trusted for
delegation, and the service accounts for the MSSQLSERVER service on
both servers are also trusted for delegation.
We are auditing successful and failed logins, and are not seeing any
activity on the linked server.
Any help would be appreciated.
Randy

Jan 20 '06 #1
3 11858
Hi

Have you checked the properties/server options on the linked server to make
sure RPC is enabled?
Also have you looked at the service area configuration tool to see if remote
connections are available on a protocol you are using?

John

"RandyMarti n" <ra**********@d s-iq.com> wrote in message
news:11******** ************@g4 4g2000cwa.googl egroups.com...
<<cross posted from microsoft.publi c.sqlserver.ser ver>>

Environment: Windows 2003 Standard Edition SP1, SQL 2005 EE RTM (both
servers)
I am getting the following messages when I run this query:
select * from LINKEDSERVER.da tabasename.dbo. tablename
OLE DB provider "SQLNCLI" for linked server "LINKEDSERV ER" returned
message "An error has occurred while establishing a connection to the
server. When connecting to SQL Server 2005, this failure may be caused
by the fact that under the default settings SQL Server does not allow
remote connections.".
Msg 782, Level 16, State 1, Line 0
SQL Network Interfaces: No credentials are available in the security
package
OLE DB provider "SQLNCLI" for linked server "LINKEDSERV ER" returned
message "Client unable to establish connection".
Msg 782, Level 16, State 1, Line 0
SQL Network Interfaces: No credentials are available in the security
package
LINKEDSERVER is set up as a SQL Server linked server., with no login
mapping, and connections will be made using the login's current
security context.
Both servers allow local and remote connections via TCP/IP, and Named
Pipes is disabled on both servers. Both servers are trusted for
delegation, and the service accounts for the MSSQLSERVER service on
both servers are also trusted for delegation.
We are auditing successful and failed logins, and are not seeing any
activity on the linked server.
Any help would be appreciated.
Randy

Jan 21 '06 #2
Hi John,

The linked server is set up for RPC=True and RPC Out=True. The Surface
Area Configuration show both Local and Remote Connections allowed over
TCP/IP. Both servers are set to accept only Shared Memory and TCP/IP
traffic, and the clients on both servers have only Shared Memory and
TCP/IP enabled.

One item I am chasing is the SPN. In doing some digging, it seems the
SPN has to be fully qualified out to the port. I need to make sure
that ours are, for both servers. A symptom I am seeing is that a
non-linked server connection shows up as NTLM, not Kerberos as
expected. This link had the details on how to discover that:
http://blogs.msdn.com/sql_protocols/...12/479871.aspx.

I'll keep you posted...

Jan 23 '06 #3
More info, the NTLM auth scheme I was seeing was when I was connecting
via Mgmt Studio on the local server and going for the local instance.
Mgmt Studio chooses Shared Memory, not TCP/IP, as the protocol, and
gets NTLM auth scheme as a result. If I connect to a remote machine
via Mgmt Studio, I get KERBEROS as expected.

I tried doing the connect to the remote server (KERBEROS) and doing a
4-part SELECT on that connection to the linked server. Same (sad)
result...

Jan 23 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4995
by: tim.pascoe | last post by:
I'm currently trying to establish a linked server to an Oracle database. Setup: Connecting to 8x version of Oracle Using 9i client tools (Net Manager) SQL-Server 2000 Windows 2000 I installed the Oracle 9i client tools, and set up a Service for the
4
5248
by: Greg P | last post by:
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at below). Please help me get through this!!! I'm having some serious problems attaching a .mdf file and accessing it. I have a WroxUntied.mdf that I want to attach and then run the website that uses it. This is a .mdf file from wrox books. ...
7
2764
by: Greg P | last post by:
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at below). Please help me get through this!!! I'm having some serious problems attaching a .mdf file and accessing it. I have a WroxUntied.mdf that I want to attach and then run the website that uses it. This is a .mdf file from wrox books. This file...
1
2363
by: johnrou | last post by:
Here's a problem that I can't find anyone else has run into. I'm using Access and SQL Server, but the theory would be the same for any db. I have a large number of tables that contain linked records (intersection tables mostly). In the interest of space, I'll illustrate an example: tblStudents (ID, Name) tblTeachers (ID, Name)
16
2333
by: Jeremy S. | last post by:
I'm about to install VS.NET 2005 and SQL Server 2005 on a new/clean development machine (XP Pro/SP2 etc). Is the order of installation important (i.e., which product should I install first)? Thanks!
6
4751
by: Neil | last post by:
After creating a linked server to a remote server, I needed to log in using sp_addlinkedsrvlogin to get my stored procedure to work. However, I noticed that after stopping SQL Server and the DTC and then restarting both, that my stored procedure worked without having to execute sp_addlinkedsrvlogin. Is the log-in information stored in the machine, such that if SQL Server is stopped or the server is rebooted, on does not have to execute...
3
6451
by: Steve | last post by:
Hi All I downloaded Sql server 2005 express SP2 and attempted to modify the Bootstrapper package files as I did with SP1 When i try to install SQL server as part of my VS 2005 deployment app I get an error at the end of the SQL server install phase 'Invalid endpoint'. (Note SQL server express gets installed OK) If I run SQL server express SP2 setup directly it I don't get the error
0
2473
by: flemmingk | last post by:
Using SQL Server 2005 Express on 23K, I am setting up a linked server using MSDASQL over ODBC (C/ODBC) to another server on out internal network. Linked server is a MBS Navision 3.7, Danish. When running a query like this: SELECT * from OPENQUERY(NAVISION,'SELECT * FROM _someproductstable_ WHERE Number = ''111-A'' ') ..I get a (correct) response time of 4+ seconds, whereas running the same query from msquery returns same resulting...
6
4691
by: barmatt80 | last post by:
Ok, I do not know what I am doing wrong. I have linked servers setup from SQL server 2005 to db2 using odbc dsn. I open sql server management studio and try to call a stored procedure on db2 system. Linked server name: PADEV Database name: PADEV1 Database owner: PADEVM Stored procedure name: PAWHAT I type in for new query: EXEC PADEV.PADEV1.PADEVM.PAWHAT
0
9942
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9792
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10847
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10416
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7971
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7129
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5991
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3233
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.