SQL Server Connection over WAN Link

I am planning
to setup a BlackBerry server and connect to a remote SQL Server over a
WAN link with 150+ms ping time.  Is there a known tolerance for
SQL server connection latency?  For example, I have been told by
RIM that ping time for Exchange should be around 35ms so if it is
higher, a BES should be placed next to the Exchange server.  Any reply would be greatly appreciated.

There is no problem with slow connection :-)
You might get lots of waits in the SQL side (most likly there will be lots of
ASYNC_NETWORK_IO) which you can monitor using sys.dm_os_waiting_tasks and sys.dm_exec_requests. But if there is no disconnections then most small application will work OK
[Personal Site] [Blog] [Facebook]

Similar Messages

  • Issue while accessing a SQL Server table over OTG

    Hi,
    I have been learning oracle for about 1.5 years and am just starting to learn some OTG pieces. I am wondering about an issue. The issue is:
    "We need help with an issue we are having while accessing a SQL Server table over OTG. We are getting the following error message in Oracle :
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Oracle][ODBC SQL Server Driver]Unicode conversion failed {HY000}
    The column it is failing on is "-----------" in the view --------------- in the SQL Server database pointed to by the Oracle DB Link ------------------- thats created in the Oracle instances ---- and -----.
    This was working before, but is now failing, we suspect its due to new multi-byte data being added to the base table in the above column."
    I took out the details and added ---- instead. I am wondering your guys thoughts on fixing this issue and helping me learn along the way. Thanks

    Hi Mike,
    Thanks for the response, here are the details:
    1. What is the character set of the Oracle RDBMS being used. What is returned by -
    select * from nls_database_parameters;
    NLS_CHARACTERSET
    AL32UTF8
    NLS_NCHAR_CHARACTERSET
    UTF8
    We get SQL_Latin1_General_CP1_C1_AS and 1252 as Collation Property and Code Page
    The datatype of the column in question in SQL Server is nvarchar(100).
    When I do a describe on the SQL Server view ( desc CK_DATA_FOR_OPL@------- ), I get the error below;
    ERROR: object CK_DATA_FOR_OPL does not exist
    Select * from CK_DATA_FOR_OPL@------ where rownum =1 does get me a row.
    create table tmp_tab as
    Select * from CK_DATA_FOR_OPL@----- where rownum =1;
    desc tmp_tab shows the datatype of the said column in the table created in Oracle as NVARCHAR2(150).
    Not sure why a column defined with size 100 in SQL Server should come across as 150 when seen over OTG. We see something similar in DB2 tables we access over OTG as well.
    Edited by: 993950 on Mar 15, 2013 8:49 AM

  • How do SQL server 2000 and Oracle linked?

    Hi,
    How do SQL server 2000 and Oracle linked?
    Thanks in Advance
    Baloch.

    use the like to setup ODBC and datasource
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    and then create link server in sql server after you test conenction with oracle

  • Convert SQL Server ROW_NUMBER() OVER(PARTITION BY() Query to Access

    Hi,
    I am having trouble with converting this SQL Server query to Access. If anyone can give me help I would appreciate it.
    SELECT B.AMOUNT_REQUESTED, B.INIT_OFF, B.MBR_NBM, B.STATUS, B.APPLICATION_NBR
    FROM
    SELECT AMOUNT_REQUESTED, INIT_OFF, MBR_NBM, STATUS, APPLICATION_NBR, ROW_NUMBER() OVER(PARTITION BY MBR_NBM ORDER BY MBR_NBM) RN
    FROM LOAN_DATA
    WHERE APPLICATION_DATE BETWEEN '20150420' AND '20150425'
    ) B
    WHERE RN = 1
    ORDER BY B.MBR_NBM

    While there is no equivalent to ROW_NUMBER(), it appears that you are just wanting the first row of each group, and that CAN be accomplished in Access, but I do wonder why you would WANT to do that in Access if your data is stored in SQL Server.  As
    Tom indicated a Pass Through query object is likely your best bet -- or a View in SQL Server, then create a Linked Table object that points to it.
    To get the first of each group ... which is essentially a TOP n, where n = 1 ... so .. the first thing you will want to indentify is a second field to use as a Key in order to define the "first" row you want in the group.  In your SQL
    statement, you are ordering my mbr_nbm, so the secondary sort is unknown -- likely predicable, but unknown with out knowledge of the schema ... so, I will provide samples by using APPLICATION_DATE as the sort key.
    This one is the "first" of a series with the assumption that the one you want is the one with the "biggest"/"most recent" APPLICATION_DATE. 
    SELECT vLoanData.AMOUNT_REQUESTED, vLoanData.INIT_OFF, vLoanData.MBR_NBM, vLoanData.STATUS, vLoanData.APPLICATION_NBR
    FROM LOAN_DATA As vLoanData
    INNER JOIN
    (SELECT MBR_NBM, Max(APPLICATION_DATE) As LastAppDate
    FROM LOAN_DATA As vLast
    GROUP BY MBR_NBM) As vLastApp ON vLoanData.MBR_NBM = vLastApp.MBR_NBM And vLoadData.APPLICATION_DATE = vLastApp.LastAppDate
    Or ... the following is a TOP n query where n = 1.
    SELECT vLoanData.AMOUNT_REQUESTED, vLoanData.INIT_OFF, vLoanData.MBR_NBM, vLoanData.STATUS, vLoanData.APPLICATION_NBR
    FROM LOAN_DATA As vLoanData
    WHERE (vLoanData.MBR_NBM & '|' & vLoanData.APPLICATION_DATE)
    IN (SELECT TOP 1 (vCorrelated.MBR_NBM & '|' & vCorrelated.APPLICATION_DATE) As Key
    FROM LOAN_DATA As vCorrelated
    WHERE vCorrelated.MBR_NBM = vLoanData.MBR_NBM
    ORDER BY vCorrelated.MBR_NBM, vCorrelated.APPLICATION_DATE DESC)
    This second example is not going to win you any points with respect to speed, but is truly a closer model to the TOP N type thing you are doing in SQL Server.
    Hope that helps!
    Brent Spaulding | Access MVP

  • Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection

    "[DBNETLIB] Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection"
    After patches applied on patch Tuesday the database reports the above error. 
    All accounts are domain accounts and SQLServer uses Windows auth.
    DCDIAG show no errors
    All servers and DC have been restarted,
    Message in db log confirms the connection is being denied due to trust.
    Event log shows same rejection
    Protocols enabled: named pipes, tcpip, memory
    TESTS:
    PortQry: "
    TCP port 1433 (ms-sql-s service): LISTENING"
    Connect with domain admin accounts works from multiple clients systems to DB.
    Cannot connect with newly created domain admin account
    Can connect if new admin account connect to server in terminal server session and uses UDL wizard or any other tool including isql.
    New standard user also fails to connect.
    NOTES:
    I removed the SSL patch and the IE security update to see if that was an issue.
    ¯\_(ツ)_/¯

    Has someone left the company or has an account of some nature been dropped/replaced?
    Please click "Mark As Answer" if my post helped. Tony C.
    Hi Tony,
    Srry but No.  We just installed the monthly updates.
    I went back and found I had missed removing a patch.  I missed the rollup for Windows Server 2003:
    Event Type: Information
    Event Source: NtServicePack
    Event Category: None
    Event ID: 4382
    Date:  3/12/2015
    Time:  12:26:04 PM
    User:  NETTEST\admin
    Computer: DATA1
    Description:
    Windows Server 2003 KB954920 was removed from your computer, and the previous Windows Server 2003 configuration was restored.
    After I removed that is still didn't work but after about five minutes it started working.
    I guess I ned to report that to MS after I research what might be changed to make the patch work.
    Every time I get stuck and ask for help it seems to be just before I stumble on the solution.
    Thanks for replying.
    Well - maybe this will help someone else.
    Thanks again for replying Tony
    ¯\_(ツ)_/¯

  • Why is my application name not showing up in the SQL Server connection properties?

    If I understand correctly I should be able to have the application name from application.cfc show up in my SQL Server connection string (i.e. in the program_name column of sp_who2) if I go in to the DSN advanced settings and check "Application Name" under Client Settings.
    However having done that I still don't see anything in the program name columns of the sp_who2 result set. Any ideas?
    Thanks!

    I drew my shape, then went to the GRADIENT panel and clicked in the default gradient box to apply the default white to black gradient.  Normally you can click on either color to change it using the ways I described in my original post but those are not available to me.  The only way I could add a color was to drag it from the SWATCHES panel into the gradient colors slider.
    This means that I cannot make changes to colors directly in the gradient panel like before.  I have to make changes to the individual colors but clicking on the color in the gradient slider then going to the COLOR panel and adjusting the color there. Or by dragging in a whole new color from the COLOR or SWATCHES panels.  This is really killing my work flow.

  • SQL server connection error in sharepoint

     
    We are getting below error with inetgrated security and custom DB sql server connection in sharepoint 2013.
    This connectionstring works in dev with SQL username and password but in QA we are changing it to integrated authority.
    <add name="OurConnectionString" connectionString="Data Source=OurDB;Initial Catalog=Catalogname;Integrated Security=SSPI" providerName="System.Data.SqlClient"> (This does not work in QA)
    <add name="OurConnectionString" connectionString="Data Source=OurDB;Initial Catalog=Catalogname;User ID=user1;Password=ourpwd" providerName="System.Data.SqlClient" /> (This works in dev)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)     at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader
    dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet
    bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)     at System.Data.SqlClient.S...
    c62c629c-6890-d0e5-d8a0-91d367f84202
    12/20/2013 10:29:31.55* w3wp.exe (0x2434)                      
    0x1EC0
    Unknown                      
    00000
    Unexpected ...qlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)    
    at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
        at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)  
      at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnecti...
    c62c629c-6890-d0e5-d8a0-91d367f84202
    12/20/2013 10:29:31.55* w3wp.exe (0x2434)                      
    0x1EC0
    Unknown                      
    00000 Unexpected
    ...onString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions)     at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions
    options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)     at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool
    pool, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)     at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnectionOptions userOptions)     at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbCon...
    c62c629c-6890-d0e5-d8a0-91d367f84202
    12/20/2013 10:29:31.55* w3wp.exe (0x2434)                      
    0x1EC0
    Unknown                      
    00000 Unexpected
    ...nectionOptions userOptions)     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.DbConnectionClosed.TryOpenConnection(DbConnection
    outerConnection, DbConnectionFactory connectionFacto...
    c62c629c-6890-d0e5-d8a0-91d367f84202
    12/20/2013 10:29:31.55* w3wp.exe (0x2434)                      
    0x1EC0
    Unknown                      
    00000 Unexpected
    ...ry, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)     at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)     at System.Data.SqlClient.SqlConnection.Open()     at DBManager.ConnectionOpen()
    c62c629c-6890-d0e5-d8a0-91d367f84202
    12/20/2013 10:29:31.74 w3wp.exe (0x2434)                      
    0x1EC0
    SharePoint Foundation         Claims Authentication        
    aebgg High   
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Hi,
    According to your post, an error occurred when you connect SQL Server in SharePoint.
    We can do as follows:
    1. Try to replace Integrated Security=SSPI with Integrated Security=True
    2. Check whether there is <identity impersonate="true" /> under <system.web> tag in web.config.
    Here are two articles for you to take a look at:
    http://blogs.windwardreports.com/tomasr/2010/09/login-failed-nt-authorityanonymous-logon-integrated-securitysspi-vs-integrated-securitytrue.html
    http://www.layer2solutions.com/en/community/FAQs/BDLC/Pages/How-SharePoint-BDLC-used-with-integrated-security-trusted-connection.aspx 
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Can't create an MBO object using an SQL Server connection profile

    Hi all,
    I'm trying to create an MBO from an table using an SQL Server connection profile. The connection is fine but when i grag a table into Mobile Application Diagram in order to create an MBO i got the following exeption:
    I´ve already configured the necessary jar (sqljdbc4.jar) in the following directories:
    C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib
    C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sqlserver_2.1.0.201109131337
    but i always get the same error.
    Any help, suggest would be apreciated
    thx,
    Nuno

    Hi Nuno,
    I just wanted you to verify the path where you have pasted JAR file. As you mentioned
    Path 1:
    C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib
    but as per doc it should be under:
    C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib\3rdparty
    Path 2:
    C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sqlserver_2.1.0.201109131337
    but as per doc it should be under:
    C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sqlserver_2.1.0.201109131337\lib
    Rgrds,
    JK

  • Unix: SQL Server Connection with ODBC (CRsqls24.so)

    Hi,
    I almost find no information how to set up a SQL Server connection using ODBC on a unix platform.
    This is what I get when I try to refresh my crystal report on my BO Server (4.1):
    "The viewer could not process an event. Error in file XXX.rpt:
    Error loading database information"
    .) is the port number really separated from the server by comma? (http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp10_data_acs_en.pdf)
    .) where is the right place to speficy the SQL Server isntance name (SQLInstanceA in this case)? I didn't find any information about that?
    [MYDB]
    Driver=/opt/BOBJ/xir4/sap_bobj/enterprise_xi40/aix_rs6000/odbc/lib/CRsqls24.so
    (for 64bit: Driver=/opt/BOBJ/xir4/sap_bobj/enterprise_xi40/aix_rs6000_64/odbc/lib/CRsqls24.so)
    Description=MYDB
    HostName=100.10.10.10,1433\SQLInstanceA
    Database=MYDB
    QuotedId=Yes
    AnsiNPW=No
    LogonID=ABC
    Password=abc123
    Thanks!

    First off, let me say that in the past (pre v9) when I've tried to use Windows logins with datasources, it never worked.  But that doesn't mean that they finally got it working, just that I stopped trying.
    What I was referring to in my post is that once you have CF installed, you need to go to the Windows Services screen, open each of the CF processes, click on the LOGIN tab, and change it from the default services login to be whatever WIndows login you have setup in Active Directory.  Then restart CF so that it's process is now running under that login with its credentials.  Then go to SQL Admin and setup that same login and give it access to the database you want to access.  Then go to CF Datasource menu and setup the datasource as you did previously.  If CF's support of Windows authentication for datasources does in fact now work, you should be in business.
    If it doesn't work, then you'll need to do as I said earlier, and setup SQL logins for the CF servers to use, and then in the CF Datasource setup screens you would specify that login info in the same way that you would have given it the "sa" login info.
    -reed

  • MDM-EP SQL/Server Connection Properties

    I created a system in Enterprise Portal(EP) which I want to have connection properties to my local MDM Server which is my SQ/Server on my laptop.
    Using the Connection Test, EP cannot connect. I've tried 'local', the SQL Server name (in my case USTEM05NB028939) and even the IP address of my machine... no can do! I do have an alias set up... I suspect that the Connection Properties for a local MDM server are illusive... does anyone have the protocol for a local SQL/Server connection?

    Hi Tom
    solution is as below
    1) Please ensure EP is updated with latest Business Package of MDM 5.5 SP03.   Download the below Business Packages from www.SWDC.SAP.COM/Server using Service Market Place ID.
                       a. com.sap.mdm.tech.mdm4j.sda
                       b. com.sap.mdm.tech.connector.sda
                       c. BPMDMTECH.sca
                       d.BPMDMAPPL.sca
    2) Ensure your "hosts" file (C:\winnt\system32\drivers\etc\hosts) on your laptop (MDM Server) has the IP address and hostname of the EP Server similarly update the same on EP server with MDM IP address and server details.
                   ( Ex USTEM05NB028939   192.168.12.20) etc in the hosts file
    3) Ensure all Java related patches of MDM are applied on EP which will enable WAS to identify the MDM IViews.
    4)  Go to MDM Console and check the Repository details of the repository that needs to integrate with EP.  Identify the Repository Port that is running the Repository.  Here usually if we have more than one repository in the MDM server we give repository ports like 1234,1235 etc but its imp to leave 5 ports for every repository example if the first repository is using 1234 as repository port then better  user 1240 for the next repository.
    5) Ensure you have accessed MDM Server Repository thru the Admin account of MDM Server from EP.
    6) Also change the Windows Authentication mode of SQL Server to Administrator Mode for SA in SQL Server.
    7) Also kindly mention the 'MDM 5.5 Host Server' as 'USTEM05NB028939' (If USTEM05NB028939 your MDM Server name) rather than Local on your EP.
    Regards
    Veera

  • FXO traffic is going over Wan link after enabling QoS

    Hi,
    We have CCM 5.0,2811 voice gateway,1 4FXO and 1 g.shdsl card on it. 4 Telco lines are on 4FXO card.CCM is at the other side of g.shdsl line.Topology like that,
    2811 ---------------- CCM
    4fxo g.shdsl
    When a call receives from FXO port, system is working normally without QoS. When we enable QoS traffic,traffic is going over wan link then return again.Because of that,delays and timeouts occuring.Router's config is at the attachment. Please Help!
    Thank you

    Check your H323 gateway config in CCM to be sure the Media Termination Point Required box is unchecked. Using MTP forces the call to terminate on the closest MTP resource which is likely at your CCM site.
    Please rate helpful posts.
    Dave

  • 30EA2 - Feedback on Microsoft SQL Server connectivity

    I think Oracle SQL Developer is great! But I also think it could be better.
    I believe Microsoft SQL Server connectivity in SQL Developer could/should be stronger/simpler if, for no other reason, than the simpler it is the more likely there will be converts.
    In Help -> Check for Updates ... I'd propose an Update Centre something like External DB connectivity or Third Party DB connectivity. In other words, make it obvious.
    Failing that, or perhaps in addition, instead of calling it JTDS JDBC Driver 11.1.1.58.17 why not Microsoft SQL Server connectivity, with JTDS ... in the description?
    And then, this is the big one, make installing the JTDS JDBC driver update actually enable connectivity to MS SQL Server.
    Initially trying to connect to a MS SQL DB, having installed no updates, I get the error:
    An error was encountered performing the requested operation:
    Driver class not found.
    Verify the Driver location
    Vendor code 0
    SQL Developer "knows" I'm trying to connect to a MS SQL DB, so why not a slightly more helpful error?
    After installing the JTDS JDBC Driver I do get a slightly more helpful error (in that it contains key words I can Google):
    An error was encountered performing the requested operation:
    I/O Error:  SSO Failed:  Native SSPI library not loaded.  Check the java.library.path system property.
    Vendor Code 0
    Connectivity only begins to work after I do this/these additional step/s:
    Copy the file 'jtds-1.2.2-dist\x86\SSO\ntlmauth.dll' from the unzipped JTDS --> <SQL Developer Home>\jdk\jre\bin. Then restart SQL Developer.
    With thanks to:
    http://www.dbforums.com/microsoft-sql-server/1612362-java-sql-sqlexception-i-o-error-sso-failed-native-sspi-library-not-loaded.html#post6368137
    Then, and only then, it works just fine.
    With thanks for Oracle SQL Developer,
    Garth
    Windows XP SP3
    Oracle SQL Developer 3.0.02.83

    Well to be honest there is no good reason to use access to connect to PeopleSoft But we see the same problem in a totally unrelated program called RFGEN or even Crystal Reports through odbc. The Problem is I did not want to field all the questions about RFGEN.(what it is, how it works, must be something wrong with it etc...) I would have thought that someone has connected and used Access. RFGEN is a third scanning System that works with our existing system on SQL Server and we want to keep it and use it with the PeopleSoft.

  • SQL Server Connection Issue

    I've tried going through the steps to resolve the issue, but I am still coming up blank. The part that I am not understanding is the, "A non-recoverable error occurred during a database lookup." part.
    Is this a security problem? I can establish an ODBC connection to the server as well as connect and query through visual studio, however when trying to run it through one of our custom programs, it throws this error message. 
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    TCP Provider, error: 0 - A non-recoverable error occurred during a database lookup.)

    There are many reasons of SQL server connectivity issue. Refer checklist to find out the real cause of connectivity issue.
    1. Check SQL services are running
    2. Check SQL Browser service is running
    3. Check remote connections are enabled
    4. Network connectivity between database & application servers by TRACERT command
    5. Check TCP/IP protocol enabled at SQL server
    6. Check talent connectivity – telnet <IP address> <port no on SQL server running>
    7. Check UDP port 1434 is open or not on SQL Server
    8. Check firewall is running or not Check
    9. If firewall running, SQL Server & UDP port must be added in exception in firewall
    10. Run SQL Discovery report on machine SQL server installed, to check you are using correct instance name to connect( default \named) -http://mssqlfun.com/2013/02/26/sql-server-discovery-report/
    http://mssqlfun.com/2012/09/28/check-list-for-sql-server-connectivity-issue/
    Regards,
    Rohit Garg
    (My Blog)
    This posting is provided with no warranties and confers no rights.
    Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread.

  • SQL Server Connection errors

    I am receiving the following error when attempting to open a SQL Server connection in a C# console application:  "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was
    not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) SQL Error"
    1) my coworker built the project on his machine (same code) and the project works - no errors
    2) I used the identical connectionstring (same code for that matter) in a server app vs. console app - no errors
    3) I built the connection using project properties/settings (Properties.Settings.Default) - test the connection on the Connection Properties window - "Test connection succeeded."  Use the connection in my project to open a connection -
    receive error.
    4) ping to server - no errors
    5) I used PL/SQL developer to connect to server using same connection information - no errors
    6)  I installed Visual Studio 2013, built the project - receive error
    I am stuck at this point.  Can anyone help?
    Thank-you,
    Barbara Velasco

    Hi Barbara,
    Firstly, please make sure that the SQL Server Services are running. Other reasons could be incorrect connection string, firewall block the connection and so on. Please refer to the following article to troubleshoot this issue:
    http://stopdebugging.wordpress.com/2013/12/16/error-unable-to-connect-to-the-database-a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server/
    In addition, here are some good articles regarding troubleshoot SQL Server connectivity:
    SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified:
    http://blogs.msdn.com/b/sql_protocols/archive/2007/05/13/sql-network-interfaces-error-26-error-locating-server-instance-specified.aspx
    http://www.aspsnippets.com/Articles/Exception---error-26---Error-Locating-Server-Instance-Specified.aspx
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

  • SQL Server Connection Domain Name

    I need to make SQL Server Connection. I could make the connection easily in the default instance but not other instances.
    If I try,
    ServerName.DomainName.Com , it works! like it works with ServerName
    If I try,
    Servername\InstanceName.DomainName.Com it does not :(  but it works with Servername\InstanceName
    What am I missing ?

    What about the below?
    Servername.DomainName.Com\InstanceName

Maybe you are looking for