Information about linked server details including remote login in use

After joining a new organization, one day an application support came to ask brief information about all the SQL Server linked servers and few more important configuration details.
They were looking to upgrade their application and database. In order to know all possible sources of their data feed, the guy needed this information.
Most of the information could have been taken by running
sp_linkedservers but because login information was also required I preferred to run following query to collect the required data.
SELECT
srv.name as LinkedServerName
,srv.product
,srv.provider
,srv.data_source
,srv.catalog
,sp.name
,lgn.uses_self_credential
,lgn.remote_name remote_login_in_use
FROM
sys.servers
AS srv JOIN
sys.linked_logins
AS lgn
ON 
srv.server_id = lgn.server_id
AND srv.is_data_access_enabled
= 1
LEFT
JOIN sys.server_principals
AS sp ON lgn.local_principal_id
= sp.principal_id
WHAT IS actual data source Server Name
Although they got the information, but they could not recognize the actual server names as highlighted in the
srv_data_source column. All they said that, the linked servers were created by DBAs.
I tried to ping these names from my user desktop, but could not Ping request could not find host.
Tried to check the SQL Server Aliases but there were no alias defined for any of the server names.
Finally I looked into the host file and found the entries. The ping from my desktop did not work because the host file entries are local to the database server. Because SQL Server instance is sitting on the same server where the
names are entered into the host file, it was able to resolve the host names. Also Ping from the database server worked. The host file looked like as below (C:\Windows\System32\drivers\etc)
Hope this information helps you!!.
Warm Regards, Ajay

Hi Ajay,
Thanks for sharing your idea.
Maggie Luo
TechNet Community Support

Similar Messages

  • SQL database login for 'SharePoint_Config_2010' on instance 'DB server' failed. Additional error information from SQL Server is included below.

    we formatted Database server and restored all the databases from the backup. but the sharepoint site is giving below error when i access the home page. 
    we have 3 application servers in that two are working fine,  but only one server getting the below error. 
    SQL database login for 'SharePoint_Config_2010' on instance 'db server' failed. Additional error information from SQL Server is included below.
    Login failed for user 'domain\user'.
    could you help what is the issue?

    Hi,
    According to your post, my understanding is that you failed to access sharepoint site with one application server.
    It was due to the MOM/SCOM Agent that has a SharePoint management pack installed, the agents Windows Service runs as ‘Local System’ and thus causes this.
    The workaround is to either kill the SCOM agent service, or set it to run as a dedicated service account.
    In addtion, I recommend to add the logon account of the SharePoint Timer service as a user of the SharePoint_Config database. Give role membership to the account db_owner.
    You also need to add the SharePoint accounts back into sql server.
    There are some similar articles for you to take a look at:
    http://blog.blksthl.com/2012/04/26/login-for-sharepoint_config-login-failed-for-user-domaincomputername-scom-agent/
    http://msdn.microsoft.com/en-us/library/jj551781(v=nav.70).aspx
    http://sharepoint.stackexchange.com/questions/51623/moved-sql-databases-for-sharepoint-2010-and-now-have-a-3351-error
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Unknown SQL Exception 208 occurred. Additional error information from SQL Server is included below.Invalid object name 'Webs'.

    SP 2013 Server + Dec 2013 CU. Upgrading from SharePoint 2010.
    We have a web application that is distributed over 7-8 content databases from SharePoint 2010. All but one database are upgradable. However, one database gives:
    Invalid object name 'Webs'.
    while running Test-SPContentDatabase or Mount-SPContentDatabase.
    EventViewer has the following reporting 5586 event Id:
    Unknown SQL Exception 208 occurred. Additional error information from SQL Server is included below.Invalid object name 'Webs'.
    After searching a bit, these links do not help:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/fd020a41-51e6-4a89-9d16-38bff9201241/invalid-object-name-webs?forum=sharepointadmin
    we are trying PowerShell only.
    http://blog.thefullcircle.com/2013/06/mount-spcontentdatabase-and-test-spcontentdatabase-fail-with-either-invalid-object-name-sites-or-webs/
    In our case, these are content databases. This is validated from Central Admin.
    http://sharepointjotter.blogspot.com/2012/08/sharepoint-2010-exception-invalid.html
    Our's is SharePoint 2013
    http://zimmergren.net/technical/findbestcontentdatabaseforsitecreation-problem-after-upgrading-to-sharepoint-2013-solution
    Does not seem like the same exact problem.
    Any additional input?
    Thanks, Soumya | MCITP, SharePoint 2010

    Hi,
    “All but one database are upgradable. However, one database gives:
    Invalid object name 'Webs'.”
    Did the sentence you mean only one database not upgrade to SharePoint 2013 and given the error?
    One or more of the following might be the cause:
    Insufficient SQL Server database permissions
    SQL Server database is full
    Incorrect MDAC version
    SQL Server database not found
    Incorrect version of SQL Server
    SQL Server collation is not supported
    Database is read-only
    To resolve the issue, you can refer to the following article which contains the causes and resolutions.
    http://technet.microsoft.com/en-us/library/ee513056(v=office.14).aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Unknown SQL Exception 0 occurred. Additional error information from SQL Server is included below.

    Log Name:      Application
    Source:        Microsoft-SharePoint Products-SharePoint Foundation
    Event ID:      5586
    Task Category: Database
    Level:         Error
    Keywords:     
    User:          DOMAIN\SA account
    Unknown SQL Exception 0 occurred. Additional error information from SQL Server is included below.
    The target principal name is incorrect.  Cannot generate SSPI context.
    This is the error, if often find in my WFE's. I googled for the error and granted DB owner roles for the service account as specified in TechNet, but no luck.
     Even same error logs generated on SharePoint logs.
    SqlError: 'The target principal name is incorrect.  Cannot generate SSPI context.'   
    Source: '.Net SqlClient Data Provider' Number: 0 State: 0 Class: 11 Procedure: 'GenClientContext' LineNumber: 0 Server: 'servername\SHAREPOINT,4101'       
    f2cbcc9c-ac65-7084-fcab-4d2943cdfdea
    Unknown SQL Exception 0 occurred. Additional error information from SQL Server is included below. 
    The target principal name is incorrect.  Cannot generate SSPI context.         
    f2cbcc9c-ac65-7084-fcab-4d2943cdfdea
    System.Data.SqlClient.SqlException (0x80131904): The target principal name is incorrect. 
    Cannot generate SSPI context.     at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions
    userOptions, DbConnectionInternal& connection)    
    at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)    
    at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)    
    at System.Data.ProviderBase.DbConnecti...            
    f2cbcc9c-ac65-7084-fcab-4d2943cdfdea
    Thanks.
    Badri

    For SharePoint to recognize the SQL server name we provide its name and instance while installing SharePoint. When we are using SQL alias to connect to SQL, we need to configure the same alias on SharePoint server so that SharePoint recognize alias over
    the network. 
    Having SharePoint connect to a SQL Alias instead of the NetBIOS name is always a good idea. The main benefit is, if you ever have to switch the SQL Server or connect to a SQL Cluster VIP address, you just change the Alias to point to the SQL Cluster name
    on the SharePoint Server and restart the SharePoint Timer Service and you are good to go.
    Please check this blog.
    http://blogs.msdn.com/b/priyo/archive/2013/09/13/sql-alias-for-sharepoint.aspx
    http://technet.microsoft.com/en-us/library/hh292622(v=office.15).aspx
    Thank You, Pallav S. Srivastav ----- If this helped you resolve your issue, please mark it Answered.

  • How to find the Information about DB-Server in OEM?

    Hi all,
    I would like to know, how to find the information about the Server-Machine on that the Database installed (Server ID, Network ID, IP-Address, ...) in Oracle Enterprise Manager.
    Regards
    Leonid Pavlov

    HI Dan,
    I dnt know what is SEM ? I Know that SEM uses BI data. if im wrong pls correct me, and my question is, is there any function modules like SD, MM like wise in R/3 is there any modules same in SEM . If they are where the information is stored that these modules are implemented.. at database level..
    Thanks,
    Mahesh

  • Linked Server Problem while SQL Data Transfer using Non-sys Admin Account

    Hi Team,
    I've an issue while transferring the data from ServerA to ServerB. I've made the ServerB as "Linked Server" to Server A. Pre requisite like:
    1) SQL Account is been created on ServerB.
    2) Timeout settings for remote connections is set to "No Timeout".
    When I execute the below script using Query Window, It executes successfully:
    Insert into ServerB.DBName.dbo.TableName1
    Select * from dbo.TableName1
    But when I execute the same step by creating a SQL Job, it fails with the below error message:
    Message
    Executed as user: DomainName\UserName. Named Pipes Provider: Could not open a connection to SQL Server [1450]. [SQLSTATE 42000] (Error 1450)  OLE DB provider "SQLNCLI" for linked server "ServerB" returned message "Login
    timeout expired". [SQLSTATE 01000] (Error 7412)  OLE DB provider "SQLNCLI" for linked server "ServerB" 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.". [SQLSTATE 01000] (Error 7412).  The step failed.
    Could you please help me in fixing the above error message and I can transfer the SQL Data between 2 Servers.
    Thank You
    Sridhar D Naik

    Sridhar,
    Is this still an issue?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Need information about WebLogic Server API

    Hi All,
    Can anyone please tell me what API does Oracle Weblogic Server call. I want to ask by calling which API I can get information about the state of a weblogic server and which jar contains those APIs.
    Thanks in Advance!!

    Hi Roshni,
    For List of MBean's You can follow the below Oracle link
    http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13951/core/index.html
    can you pls tell me how can I retrieve of a weblogic server through a java code,
    You can follow the below link,it will be helpful
    http://middlewaremagic.com/weblogic/?p=7505
    Regards
    Fabian

  • I want to get information about links

    Hi
    I need full detail and information about my links which is placed in indeisgn .
    Can anyone help me?...

    Hi,
    this is what to can get from a link and its metadata ...

  • Trying to create a linked server to a remote 3rd party server using an AD group

    I am the DBA at our organization so I have full authority to all of our local SQL Server databases but we have data in a remote 3rd party SQL Server database that is only read-only.  The 3rd party has granted the read only privileges to one of our AD
    groups - let's call it mydomain\adgroup1.  I would like to create a linked server from one of our local SQL Servers to the remote database.  I'm not sure how to do this. 
    I have set the AD group up as a login and a user in my local database.  When I try to create the link, I used the mydomain\adgroup1 as the local login and, since the same credentials exist in the remote server, I checked the impersonate box and click
    OK but I get "mydomain\adgroup1 is not a valid login or you do not have permission".  Is it possible to create a linked server using an AD group?  As of now, we only have the AD group permissions in the remote database.  We could probably
    request a single SQL Server account to be created on the remote side and we could create the same on our side, but we are trying to keep things as simple and transparent as possible (and we would really like to move more toward AD security and away
    from individual users in the db).
    Can anyone give me advice on how to get these two SQL Servers linked?

      From your description, you likely want to implement Windows authentication for linked server, which requires to implement Kerberos constrained delegation.
     I would recommend the following link to get started: 
    How to Implement Kerberos Constrained Delegation with SQL Server 2008 (https://msdn.microsoft.com/en-us/library/ee191523%28SQL.100%29.aspx?f=255&MSPPError=-2147217396
      -Raul Garcia
       SQL Server Security
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Script to get all the information about the server

    Hi,
    I am looking for a script which would provide me with all the information regarding the server, which software were installed, service packs, patches, updated etc.
    please let me know if you have any script or PS command to get the information in an excel sheet .
    Reason :- The servers are in the process to be decommissioned, as we are going to build new ones, so we need all the information present on the server before being decommissioned
    Please Advise.
    Satyam....

    Hi Satyam,
    Any update?
    Please refer to the following PowerShell comlet, related article and similar thread. And check if can help
    you.
    Get-Hotfix cmdlet: gets the hotfixes
    that have been applied to the local and remote computers.
    Use
    PowerShell to Find Installed Software
    Listing
    all the patches/updates installed in Windows machine
    However, based on your description, the issue seems to be related to script or PowerShell comlet. I suggest
    that you would post your question in
    PowerShell Forum or
    Official Scripting Guys Forum. I believe we will get a better assistance there.
    Hope this helps.
    Best regards,
    Justin Gu

  • OS X Server Open Directory Remote Login

    In short, I can't bind a remote machine to authenticate users at the remote location. I can get the machine to initially setup using RFC2307 search and mappings. Once I let that, "marinate" for a bit. I can then go in, change the mappings to Open Directory, and all will work. However, that doesn't persist across reboots. The only thing that will persist across reboots is RFC2307 search and mappings. But with only RFC2307, I don't get home directory access. In the above scenario, when I switch it to Open Directory, I can get home directory access. But, again, not feasible if doesn't persist across reboot.
    It works flawlessly in house / local LAN so far. Although this environment is being built from ground up as we speak. So much testing has yet to be done. This is just one big hurdle that came along.
    I sincerely appreciate any one's help or advice that could point me in the right direction to achieve this goal.
    I should note, I have check all DNS records, connectivity, but am willing to try anything again.
    Thanks in advance!!!

    Describe for me your network.  When you say remote location, do you mean two physical locations separated by distance that are connected via a VPN tunnel?  or do you mean that you punched some holes in a firewall to attempt to allow the clients to bind to the server?  I am hoping the first option.
    If you have a VPN tunnel between the two locations and DNS is available on both sides of the fence, you likely don't need to define the mappings.  I tend to leave the option set to "from server" and I've never run into any issues. 
    When you are binding, are you using the simple bind via System Preferences or are you using Directory Utility?  Are you performing authenticated binds or unauthenticated binds?
    If you have two locations, Main office 10.0.0.0/24 and Remote office 10.0.10.0/24.  Make sure that the Remote side is using DNS that resolve to devices in Main.  For example, if the server is at 10.0.0.10 and it is the DNS server, then the clients on the 10.0.10.0/24 network should be hitting 10.0.0.10 for name resolution (unless you have replicated DNS to the 10.0.10.0/24 network.
    Since you are building this from scratch, you might want to consider using two OD servers, Master and Replica, placing a replica in the remote office and then using OD Locales to better direct your clients.
    Reid
    Apple Consultants Network
    Apple Professional Services
    Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

  • I need information about Application Server Features

    I am looking for detailed information regarding what the Application Server offers and what are the possibilities, both Technichal and Business related. I have looked at the oracle web-site. But information seems to be scattered in multiple pdf and other documents. Is there a better source for the information?
    Thanks

    Hi,
    You can have a look at the Oracle Application Server Concepts 10g Release 2 (10.1.2) - it details the Technical & Business possibilities to a reasonable degree :-
    http://download-west.oracle.com/docs/cd/B14099_19/core.1012/b13994/toc.htm
    Regards,
    Sandeep

  • Information about link WebTemplate - iView

    At my current customer a Portal is implemented. Within the Portal Content they linked WebTemplates to iViews. This has not been documented anywhere. I'm now looking for a simple way to get an overview of all the WebTemplates used within the Portal (and preferable within which iView) without having to open all iViews. I was hoping this kind of information was stored somewhere in a table in the SAP backend, but have not succeeded in gathering this information.
    Can anybody help me please?
    Thanks in advance for your replies.

    check this documentation; check directory configuration settings and particularly its various chapters on Directory Server Admin, Dir Entries Admin, Dir Schema Admin, etc.
    Oracle® Internet Directory Administrator's Guide,
    OID

  • Need information about Exchange server 2013 CU5

    Hello,
    Can anyone implemented Exchange Server 2013 CU5. I need feedback about this patch. Basically i will going to deploy this patch after getting best feedback.
    I'm waiting for your feedback.
    Thanks,
    Parvez

    Hello,
    Since the Exchange Server 2013 CU5 just be released, there is no detailed technet article or exchange team blog to verify some issues during installation. But I see a MCC who update a member in a DAG, there is no problem. If there are some issues, you
    can check the setup logs or event logs.
    Based on my known, if your environment meets exchange server 2013 prerequisites, and you follow the exchange server 2013 installation process, there should be problem.
    I recommend you deploy the patch on test environment firstly, and then apply it on production environment.
    Cara Chen
    TechNet Community Support

  • Need Information About Demo SERVER ACCESS

    SAP GURUS
    I am new on this forum and also new in SAP World. I am doing practicing on FICO on demo server ECC 6.0. my current access is about to End. From where I can buy more time for practicing on this DEMO SERVER ECC 6.0.
    Please Advice.
    Thanks
    Syed Asif

    Hi,
    I think better u can get help from some sap people or from your sap friends.The better way is to contact any sap basis or admin people so that your problem will get cleared.

Maybe you are looking for

  • My ipod touch 4g is not showing my songs after it syncs w/itunes

    hi there, i have an ipod touch 4g as a gift recently. i downloaded the newest version of itunes from the internet. i transferred my songs from my computer to itunes music library. when i sync-ed my ipod touch to my itunes library, it doesn't show Any

  • Help with Project Management setup from very basics...

    hi all! i am new to e-business suite and now i have installed vision demo database successfully on a Quad Core with 320 GB hard and 4 GB ram...now i need help to setup Project Management (PM) module for a hypothetical construction company with the re

  • PC to Mac, How would I do this?

    Hello All, I am person who is considering switching from PC to mac, as my current Dell Inspiron 9300 has gotten too heavy to travel with. I am a college student who is unsure of what I would definately need in a mac. I am looking at the MacBook Pro a

  • Ad- Hoc Query reports in PMS

    Hello Gurus, Is it possible to have Ad-hoc Query for PMS?? The client is requesting for Ad-hoc data and wants an ad-hoc Query similar to PA. Regards, Amrita Ranjan

  • My selection tool doesn't select shape directly, only the path of the shape.

    When i'm working in Illustrator and I want to select a shape, it is making me click on the path of the shape instead of just inside of it. The shape does have a filling so that isn't the problem. It seems to have just recently happened as well.  I tr