SSAS 2012 (SP2) - Connecting to a Named Instance in a Failover Cluster

I posted this question some months ago and never got a resolution...still having the same problem. (http://social.msdn.microsoft.com/Forums/sqlserver/en-US/4178ba62-87e2-4672-a4ef-acd970ac1011/ssas-2012-sp1-connecting-to-a-named-instance-in-a-failover-cluster?forum=sqlanalysisservices)
I have a 3 node failover cluster installation (active-passive-passive) configured as follows:
Node1: DB Engine 1 (named instance DB01)
Node2: DB Engine 2 (named instance DB02)
Node3: Analysis Services (named instance DBAS)
Obviously, the node indicated is merely the default active node for each service, with each service able to fail from node to node as required.
Strangely, when I attempt to connect to the SSAS node using the cluster netbios "alias" (dunno, what else it would be called, so I apologize if I am mixing terminology or somesuch), I am only able to do so by specifying the the alias _without_ the
required named instance. If I issue a connection request using an external program or even SSMS using Node3\DBAS or Node3.domain\DBAS, it appears that the SQL Server Browser is offering up a bogus TCP port for the named instance (in my case TCP/58554), when
in reality, the SSAS service is running on TCP/2383 (confirmed with netstat) -- which if I understand correctly after much, much reading on the subject is the only port that can be used in a failover cluster. In any case, I'm puzzled beyond words. As I think
through it, I believe I've seen this issue in the past, but never worried about it since it wasn't necessary to specify the named instance when I had SSAS requirements... It's only a showstopper now because I'm finalizing my implementation of SCVMM/SCOM 2012
R2, and for some strange reason the PRO configuration in VMM gets all butthurt if you don't offer up a named instance...
Thank you much for reading. I appreciate any help to get this resolved.
POSSIBLY NOT RELEVANT...?
I've properly configured the SPNs for the SSAS service (MSOLAPSvc.3) and the SQL Browser (MSOLAPDisco.3), with the former mapped to the SSAS service account and the latter to the cluster "alias" (since it runs as "NT AUTHORITY\LOCALSERVICE"
as is customary) and have permitted delegation on the service and machine accounts as required. So, I'm not getting any kerberos issues with the service...any more, that is... ;) I'm not sure that's important, but I wanted to be forthcoming with details to
help solve the issue.

When connecting to SSAS in a cluster, you do not specify an instance name.  In your case, you would use the name of the SSAS IP address to connect.
See:
http://msdn.microsoft.com/en-us/library/dn141153.aspx
For servers deployed in a failover cluster, connect using the network name of the SSAS cluster. This name is specified during SQL Server setup, as
SQL Server Network Name. Note that if you installed SSAS as a named instance onto a Windows Server Failover Cluster (WSFC), you never add the instance name on the connection. This practice is unique to SSAS; in contrast, a named
instance of a clustered relational database engine does include the instance name. For example, if you installed both SSAS and the database engine as named instance (Contoso-Accounting) with a SQL Server Network Name of SQL-CLU, you would connect to SSAS using
"SQL-CLU" and to the database engine as "SQL-CLU\Contoso-Accounting". See
How to Cluster SQL Server Analysis Services for more information and examples.

Similar Messages

  • Cannot connect to a named instance using SSMS from a remote machine

    Hi all,
       SQL Server.....: 2012 EE
       OS...................:  Windows Server 2008 R2
       I have a desktop machine, that i am using to administrer SQL Server (via SSMS) and to develop my SSIS solutions, but i can't connect to a named instance of my SQL Server. When i try to connect using SSMS to my named instance (myhost\DWSERVER)
    i get a huge error message:
    A network-related or instance-specific error occurred while establisinh a connection to SQL Server. The server was not found or was not accessible. Verify that the instance is correct and that SQL Server is configured to allow remote connections.
    (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) (Microsoft SQL Server, Error: 10060)
    Locally, i am able to access that named instance using SSMS, just when i try to access from another machine, the above error pops-up to me.
    I am using the SQL Server Authentication mode to connect to the named instance.
    What am i doing wrong?
    Thanks in advance.
    Fabrício Pedroso Jorge Database Administrator - Belém, Pará, Brazil

    Hi,
       thanks for your attention.
       That's correct, i can connect to my default instance both locally and remotelly. The default instance in on port 1433. I cannot find the port used by the named instance (DWSERVER).
       Actually, i found this on the errorlog from the named instance:
       2015-03-22 10:10:45.80 spid13s     Server is listening on [ 'any' <ipv6> 49411].
       2015-03-22 10:10:45.80 spid20s     Server is listening on [ 'any' <ipv6> 5023].
       2015-03-22 10:10:45.81 spid20s     Server is listening on [ 'any' <ipv4> 5023].
       2015-03-22 10:10:45.81 spid20s     The Database Mirroring endpoint is now listening for connections.
       2015-03-22 10:10:46.12 spid13s     Server is listening on [ 'any' <ipv4> 49411].
       2015-03-22 10:10:46.25 spid13s     Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\DWSERVER ].
       2015-03-22 10:10:46.26 spid13s     Server local connection provider is ready to accept connection on [ \\.\pipe\MSSQL$DWSERVER\sql\query ].
       2015-03-22 10:10:46.26 Server      Server is listening on [ ::1 <ipv6> 49412].
       2015-03-22 10:10:46.26 Server      Server is listening on [ 127.0.0.1 <ipv4> 49412].
       I can ping normally to the remote server.
    Fabrício Pedroso Jorge Database Administrator - Belém, Pará, Brazil

  • Required Ports to connect remote SQL named Instance for SCCM 2012 R2

    Hi,
      I have allowed the TCP 1433,1434,135 and 80 but still unable to connect the remote SQL named instance DB for the SCCM 2012 R2... and getting below error..can you please suggest if any other port required for the same, i have turned off the windows
    firewall and RPC service is running ob Remote SQL and SCCM 2012 R2 server..
    CCMsetuplog
    Shailendra Dev

    During the installation you need more ports. You would also need the (dynamic) RPC ports. See for a complete list (section Site Server --> SQL Server):
    https://technet.microsoft.com/en-us/library/hh427328.aspx
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Cannot Connect to Remote Named Instance of SQL Server

    We have 3x instances of SQL Server 2012 installed on a single remote server - there's the default MSSQLSERVER instance, then \INSTANCE01 and \INSTANCE02. I can remotely connect to the default MSSQLSERVER instance through SSMS, but I cannot connect to
    either of the additional named instances (\INSTANCE01 or \INSTANCE02). 
    For example, if I try to connect to "sql.domain.com", I can successfully access the default instance on the remote server. If I try to connect to "sql.domain.com\INSTANCE01", I get an error stating
    "A network-related or instance-specific error occurred while establishing a connection to SQL Server".
    HOWEVER - if I try to connect to "sql.domain.com\INSTANCE01, 49301" (where 49301 is the TCP Port for the TCP/IP Protocol for this SQL Server instance), I am able to successfully connect.
    This leads me to think that there's a communication issue with the SQL Server Browser service running on the remote SQL Server and my workstation. 
    The following items have been verified:
    SQL Server Browser is running on the remote SQL Server
    Windows Firewall has been disabled on the SQL Server
    TCP Ports 1433, 1434, 1954, and 49301 have been opened up on the remote destination's firewall
    UDP Port 1434 has been opened up on the remote destination's firewall
    Thoughts? Did I miss something?

    Hi brgnewman,
    Use computername\instancename to connect to the database engine. Please try again. I think the configuration is OK.
    Refer to Connecting from Another Computer:
    http://msdn.microsoft.com/en-us/library/ms345343.aspx.
    Thanks.
    Maggie Luo
    TechNet Community Support

  • SQL Server Agent fails to connect to DB after enabling mirror on failover cluster

    Hello:
    We have multiple databases running in a Failover Cluster instance: SQL 2012SP1 on Server 2008 R2 failover cluster (NOT AlwaysOn). We are trying to add a high-performance mirror in a standalone instance for DR. My understanding is that should be a perfectly
    normal, supported configuration.
    The mirroring is working properly; however, the clustered SQL Server agent is unable to run jobs that run in the mirrored databases.
    We get the following in the job log: Unable to connect to SQL Server 'VIRTUALSERVERNAME\INSTANCE'.  The step failed.
    There is a partner message in the agent log: [165] ODBC Error: 0, Connecting to a mirrored SQL Server instance using the MultiSubnetFailover connection option is not supported. [SQLSTATE IMH01]
    The cluster is not a mulitsubnet cluster. All hosts are connected to the same subnets and there is no storage replication. I can not find any place where I can adjust the connect string options for SQL Agent.
    Any guidance or suggestions on how to resolve this would be appreciated.
    ~joe

    SQL Team - MSFT:
    Thank you for taking the time to research and provide a clear answer.
    This seems very much a workaround and very unsatisfactory.
    You are correct, there is an IP dependency with OR condition. Moving to an AND condition is not viable for us. The whole point is to provide network redundancy. With an AND condition, if EITHER network interface fails, the service will go offline or fail
    to come online without manual intervention. This is arguably worse for uptime than having a single interface available.
    We are in process of rewriting all our SQL jobs to start in tempdb before transitioning to the appropriate target database. If this works for all of our jobs, I will mark the above response as answer.
    Again, thank you for the answer.
    Regards,
    Joe M.

  • DPM 2012 R2 CU4 protecting SQL 2014 AlwaysOn AG with Failover Cluster vs. DR location

    Hello!
    We have a problem protecting any Database of SQL 2014 AlwaysOn Availability Group with SQL Failover Cluster Instance when moved to DR location. Everything is protected using DPM 2012 R2 CU4 from Primary location.
    FACTS
    - all servers are Windows Server 2012 R2
    - all servers are Virtual (except Hyper-V hosts obviously:)
    - that means virtualization is based on Windows Server 2012 R2 Hyper-V
    - all clusters (SQL, Exchange,...) are Guest Clusters on Hyper-V
    - SQL 2014
    - DPM 2012 R2 CU4
    - Primary and DR location 
    SETUP
    SQL
    - Primary location: SQL 2014 Guest Cluster with SQL Failover Cluster Instance using Shared VHDX disks
    - DR location: SQL 2014 Standalone using VHDX disks
    - AlwaysOn Availability Group expands between the primary and DR location.
    DPM
    - Primary location: DPM 2012 R2 CU4
    - DPM 2012 R2 CU4 Agents installed on every possible SQL 2014 Server.
    SCENARIO
    - DPM is backing up all the SQL Databases normally as long as they exist on any SQL Cluster Node on Primary location.
    - As soon as any Database is moved to DR location, that Database is not backed up anymore with the following error.
    DPM ERROR
    Starting synchronization on SqlServerName\DatabaseName failed:
    Error 104: An unexpected error occurred while the job was running.
    Error details: The system cannot find the path specified (0x80070003)
    Recommended action: Retry the operation.
    TROUBLESHOOTING
    - Tried to modify SQL Protection Group in DPM Server while Database was active on DR location
    > error enumerating volumes or drives D:\, E:\, F:\ (I don't have exact error atm)
    > this looks like DPM is not aware that DPM is active on DR location to me
    - Checked Technet, blogs and forums; no useful information
    QUESTION
    Is this expected or by-design behavior? Is this a bug? I am aware there were quite some issues backing up AG's from DPM 2012 SP1 ans SQL 2012 on.
    Does anybody have a lab of that kind to try it out?
    Thank you!
    Best Regards,
    Damjan Grimšič
    Lpd

    OK. The issue has been resolved. Issue was related to possible Disks Owners in Failover Cluster Manager Console for SQL Cluster.
    In Primary's site SQL Cluster Failover Manager Console / Storage / Disks.
    SQL Server(s) from Secondary location need(s) to be unchecked as Possible owner(s) in Advanced Policies for all relevant Volumes.
    Lpd

  • Using an instance in a failover cluster as a witness server

    Firstly I absolutely hate the idea of doing this with a passion . . . and then some, in my mind a witness server should have as few if not zero dependencies on any other SQL Server HA technology as possible, it should be a stand alone SQL Server instance.
    However, technically would you be able to use an instance which is already in a failover cluster as a witness for a mirrored pair of databases ?.

    Yes you can use cluster instance as witness.
    https://msdn.microsoft.com/en-IN/library/ms191309.aspx

  • OC4J Instances in Cold Failover Cluster

    I'm running OAS 10.1.2.2.0 on a windows 2003 server under a cold failover clustered environment and was wondering... Is it recommended to have one web application deployed in it's own separate instance? For example, webapp1 deployed to instance1 and webapp2 deployed to instance2? Or would it be better to have multiple web applications deployed to one instance?
    Thanks for any thoughts!

    user7575753 wrote:
    I'm running OAS 10.1.2.2.0 on a windows 2003 server under a cold failover clustered environment and was wondering... Is it recommended to have one web application deployed in it's own separate instance? For example, webapp1 deployed to instance1 and webapp2 deployed to instance2? Or would it be better to have multiple web applications deployed to one instance?
    Thanks for any thoughts!I can say your configuration is ok for single instance failover . Once u like to make cluster and load balance , OAS hs managed and non-managed cluster.
    For Managed Cluster , you must setup either Oracle WebCache or F5 Big/IP . With regard to non-managed cluster, that means nothing required to share .

  • Sql server 2012 express - tcp/ip connection to named instance using dynamic port not working

    I have a named instance on a SQL 2012 Express server that won't connect via TCP/IP when wanting to connect off of the dynamic port.  I can connect via shared memory locally on the server.   I can connect to the namespace when specifying the
    dynamic port listed in the configuration manager.  
    This is the only named instance on the server and it is not the default.
    TCP/IP is enabled
    Allow Remote connections is enabled
    the server browser service is running
    I can connect via the dynamic port number
    I am testing the connection locally on the server, so I don't believe a firewall is the issue.  I get the same results if I test it from a remote computer.
    When using the sqlcmd (sqlcmd -S tcp:SQLSRVR\NAMEINST -E) I get the message that "the requested protocol isn't supported [xfffffffff]".   The command (sqlcmd -S tcp:SQLSRVR\NAMEINST,59992 -E) works.
    Through SSMS, I get the message "the connection was actively refused".
    On other boxes, I can connect with the named instance without having to specify the port. 
    I have looked through the sql logs and nothing much shows up.  The log does show that is listening on the port # for ipv4 and ipv6.   There is also a line in there talking about the SPN not being registered and not to worry about it if
    you are not using Kerberos.  I logged in through shared memory and it said I was using NTLM.
    Any help would be appreciated.
    thanks.

    Hi clw,
    I’m writing to follow up with you on this post. According to your description, I do a test, if you configure the database engine to listen on a specific TCP port (59992), and
    the port is opened in the firewall. If you want to connect to the SQL Server instance, you 'd better to
    use the port number.
    In my opinion, by default, the default instance of the Database Engine uses port 1433, usually, if you have configured the server to listen on a non-default port number, when an instance of SQL Server uses dynamic port allocation, the connection string that
    is built at the SQL Server client does not specify the destination TCP/IP port unless the user or the programmer explicitly specifies the port. Therefore, the SQL Server client library queries the server on UDP port 1434 to collect the information about the
    destination instance of SQL Server.
    If UDP port 1434 is disabled, the SQL Server client cannot dynamically determine the port of the named instance of SQL Server. Therefore, the SQL Server client may be unable to connect to the named instance of SQL Server. In this situation, the SQL Server
    client must specify the dynamically allocated port where the named instance of SQL Server is listening.
    For more information about configuring an instance of SQL Server to listen on a specific TCP port or dynamic port, you can review the following article.
    https://support.transfrm.com/entries/503111-How-to-configure-an-instance-of-SQL-Server-to-listen-on-a-specific-TCP-port-or-dynamic-port
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Error"Failed to open the connection"  - Named Instance of SQL Server 2005

    "Failed to open the connection" error, when connecting to the Named Instance of SQL Server 2005
    The report is throwing error, when changing the logon information dynamically through C#.
    Code
         string reportPath = @"D:\NET\TestReport\TestReport.rpt";
         ReportDocument reportDocument = new ReportDocument();
         reportDocument.Load(reportPath);
         foreach(CrystalDecisions.CrystalReports.Engine.Table table in tables)
              TableLogOnInfo tableLogonInfo = table.LogOnInfo;                         
              tableLogonInfo.ConnectionInfo.ServerName = @"TestServer\Instance1";  //Connnecting to Named instance of SQL Server 2005
              tableLogonInfo.ConnectionInfo.UserID = "sa";
              tableLogonInfo.ConnectionInfo.Password = "password";
              tableLogonInfo.ConnectionInfo.DatabaseName = "TEST_DB";
              table.ApplyLogOnInfo(tableLogonInfo);     
         crystalReportViewer1.ReportSource = reportDocument;
    Error Message
         Failed to open the connection.
         Failed to open the connection.
         C:\DOCUME1\PUGALE1\LOCALS~1\Temp\{DF9593A5-5C80-4CBC-ABC3-EC4EF204A7EB}.rpt
    The error is occuring only whenever i am connecting to the Named Instance of SQL Server 2005.
    Thanks in Advance
    Edited by: pugalendran p on Feb 2, 2009 10:32 AM
    Edited by: pugalendran p on Feb 2, 2009 10:43 AM

    Hi,
    Following solution might help you to resolve the issue.
    Solution1:
    Issue happens because universe connection to the Database is not responding and the Data Source Name is not configured to write SQL Server 2005 database.
    Resolution
    Created new DSN connection under SYSTEM DSN to SQL Server 2005 Database.
    Import the universe from the designer.
    Go to File->Parameters.
    Edit Connection.
    On the Database Middleware Page expand SQl Server 2005->Select SQL Server 2005 driver.
    Change the DSN to new DSN connection
    Test the connection.
    Save the Universe and Export it to the repository.
    Solution2:
    I am taking Oracle as an example over here.
    This can be caused when the SQLNET.ora is located in a remote location using mapped drives.
    Resolution
    To resolve,
    check the registry [HKLM\SOFTWARE\ORACLE] you should see a folder called HOME0
    look for any paths that contain a mapped drive partition
    Change the mapped drive letter to a UNC path (
    server\folder)
    Open a command prompt and do a tnsping using the tnsname and verify the location of the SQLNET.ora or TNSNAMES.ora
    If the path is not updated to the new path
    Reboot the server
    Regards,
    Sarbhjeet Kaur

  • Always on listener on named instance. Do I have to specify the port while connecting a listener created on a named instance?

    Hi all. Here again.
    Scenario: I have to consolidate several physical servers with one SQL server instance install on each one. I decided to consolidate all in one server installing different named instances. In order to avoid application connection string change I had the idea
    of configuring different listener pointing to different alwayson group.
    To meet this requests, I configured the cluster, I installed a principal SQLServer Instance and configured the alwayson groups with the required listeners.
    All ok so far, alwayson is great.
    So, I installed a named instance, I configured the necessary alwayson groups and the related listener but...
    NOTE: The db in the principal and in the named instance have the same name.
    If I connect the listener pointing the ag belonging the named instance I connect to the principal instance!
    the only way I have to connect to the named instance is to specify the port that must be different from the 1433 as usual.
    Anyway, why I cannot use the 1433 port if dealing with a different ip?
    Listener are the following:
    Named instance
    10.100.21.100 : 1455
    Principal instance
    10.100.21.50  :
    1433
    Thankyou

    Hi all.
    I reviewed the architecture installing only named instances and I solved.
    Anyway, i'm going to explain better my configuration in order to understand where I went wrong.
    I have two servers, SQLCLU01 and SQLCLU02 partecipating to AVSQLCLU cluster
    Each server has two SQL instances, the principal SQLPROD and the named instance SQLTEST
    Each instance contain the OneToOne database.
    I created an AG named AgOneToOneProd laying on the SQLPROD instance with its
    OneToOne listener described here down (sys.dm_tcp_listener_states;)
    7 10.100.21.50
    1 1433
    0 TSQL
    0 ONLINE
    2014-05-07 10:23:04.113
    DnsName:OneToOne
    Port:1433
    IpconfigurationFromCluster:('IP Address: 10.100.21.50')
    So I tried to create an AG named AgOneToOneTest laying on the SQLTEST named instance with its
    OneToOneTest listener but the port 1433 is unavailable even if the listener IP is different. I managed in creating the listener changing the port like this
    7 10.100.21.100
    1 1455
    0 TSQL
    0 ONLINE
    2014-05-07 10:36:05.347
    DnsName:OneToOneTest
    Port:1455
    IpconfigurationFromCluster:('IP Address: 10.100.21.100')
    So, the issue is:
    Connecting to OneToOne.mydomain.local i can see the OneToOne database and crud operation are performed against the SQLPROD instance.
    But connecting to OneToOneTest.mydomain.local the OneToOne database I'm connected to is still the one belonging to the
    SQLPROD instance.
    The only way to let my application connected to the SQLTEST instance is to specify the port in the DSN.
    Anyway, summary here, issues are bolded
    OneToOne.mydomain.local -------> SQLPROD
    OneToOneTest.mydomain.local -------> SQLPROD
    OneToOneTest.mydomain.local,1455 -------> SQLTEST
    The same by IP
    10.100.21.100,1455 --------> SQLTEST
    10.100.21.100 --------> SQLPROD
    and.....
    10.100.21.100,1433 --------> SQLPROD
    May be... Do I missed some best practices in creating listeners against a principal + named instances?
    Thankyou
    Stefano
    Ste'

  • SQL Server 2012 - 3 SQL clustered instances - one default/ two named instances - how assign/should assign static ports for named instances

    We have two physical servers hosting 3 SQL 2012 clustered instances, one default instance and two named instances.
    The default instance is using port 1433 and the two named instances are using dynamic port assignment.
    There is discussion about assigning static port numbers to the two named clustered SQL instances.
    What is considered best-practice?  For clustered named instances to have dynamic or static ports?
    Are there any pitfalls to assigning a static port to a named instance that is a cluster?
    Any help is greatly appreciated

    Hi RobinMCBC,
    In SQL server the default instance has a listener which listens on the fixed port which is TCP port 1433. And for the named instance the port on which the SQL server listens is random and is dynamically selected when the named instance of the SQL server
    starts.
    For Standalone instance of the SQL server we can change the dynamic port of the named instance to the static port by using SQL server configuration manager as other post, however, in case of the cluster, when we change the port no. of the named instance
    to the static port using the method described above, the port no. again changes back to the dynamic port after you restart the services. I recommend you changing the Dynamic port of the SQL Server to static port 
    on all the nodes , disabling and enabling the checkpointing to the quorum.
    For more information, you can review the following article about how to change the dynamic port of the SQL Server named instance to an static port in a SQL Server 2005 cluster.
    http://blogs.msdn.com/b/sqlserverfaq/archive/2008/06/02/how-to-change-the-dynamic-port-of-the-sql-server-named-instance-to-an-static-port-in-a-sql-server-2005-cluster.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • SQL2012 SSMS fail to connect named instance

    Hi, Currently we would like to setup replication between 2 sql instances (binded to corresponding IP, listening on port 1433) on different servers (DUAT01, DUAT101). However, we found the SSMS cannot connect remote server A from server B using
    named instance.
    The sql instances can be connected by using either IP or FQDN, however, that cannot fulfill the requirement on setting up replication as it require the instance to connect as "DUAT101\SQL2K8R2" instead of "x.x.x.x" or "SQLUATCSS2K8R2.domain.com".
    We tried to change "Protocol"->"Listen All" from "No" to "Yes", then SSMS can connect the named instance successful in this format "DUAT101\SQL2K8R2", but the application using "SQLUATCSS2K8R2.domain.com"
    to connect sql instance was fail.
    Pls advise how to make it possible to connect sql instance successful in both way. thanks.

    can connect the named instance successful in this format "DUAT101\SQL2K8R2", but the application using "SQLUATCSS2K8R2.domain.com" to connect sql instance was fail.
    Hello,
    To connect to a named instance you have to use either the instance name or the instance IP port, like
    DUAT101, 1433
    The only other Option is to create a SQL Server alias using CliConfg.exe (Client configuration) tool.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]
    Hi Olaf, our server (DUAT101) have 5 sql instances. It always return the default instance with "DUAT101, 1433". When I connect using instance name, it prompt me below error that we need to solve.
    ===================================
    Cannot connect to duat101\sql2k8r2.
    ===================================
    Instance failure. (System.Data)
    Program Location:
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.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, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance,
    SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

  • Cannot not connect to SQL Server instance.

    Hello,
    I have SQL Server 2012 installed and when I run this command:
    sc query mssql$MSSQLSERVER
    I get this error:
    [SC] EnumQueryServicesStatus:OpenService FAILED 1060:
    The specified service does not exist as an installed service.
    I run this command on the same server where SQL Server is installed.  Databases are on the same server too.  TCP/IP is enabled for the instance and port 1433 is open on the server's firewall. SQL Server Browser is running.
    Many errors in the SQL Server error logs like:
    SQLServer Error: 11001, A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct.
    SQLServer Error: 11001, TCP Provider: No such host is known. [SQLSTATE 08001]
    Any ideas what could  have gone wrong?
    Thanks,
    Paul
    Paul

    Hi Paul,
    According to your description, you fail to connect to SQL Server 2012 instance. According to the SQL Server error log, based on my research, your issue could be due to that
    the client cannot resolve the name of the SQL Server instance.
    Are the errors from the SQL Server error log solved? If the errors are not solved, please follow the steps below to troubleshoot the issue.
    1. Make sure you are able to ping the physical server where SQL Server is installed from the client machine. If not, you can try to connect to the SQL Server using an IP Address (for default instance) or IP Address\Instance Name
    for a named instance.
    2. Make sure you are using the correct instance name. When you connect to a default instance, machine name is the best representative for the instance name and when you connect to a named instance such as sqlexpress, you should
    specify machinename\instancename according to
    Niting123’s post. And you could verify if you use the right instance name in SQL Server configuration manager according to
    Niting123’s post.
    3. Check that SQL Server is in the network. You can use the SQLCMD -L command to retrieve the list of SQL Server installed in the network. Note that this will only return SQL Servers if the SQL Server Browser service is running.
    4. Make sure that you enable Named Pipes besides TCP/IP protocol.
    5. Check to see if remote connections is enabled. Right click on the server name in SSMS and select Properties. Go to the Connections tab and make sure Allow remote connection to this server is checked.
    6. Locally connect to SQL Server and check the error log for the port entry.
    7. To connect to SQL Server instance using TCP/IP from another computer, on the SQL Server computer, you must configure the firewall to allow connections to the TCP port used by the Database Engine. If you are connecting to a named
    instance or a port other than TCP port 1433, you must also open the UDP port 1434 for the SQL Server Browser service according to pasquale’s post.
    For step by step instruction on opening a port in the Windows firewall, see
    How to: Configure a Windows Firewall for Database Engine Access
    For more information about the process, please refer to the article:
    http://www.mssqltips.com/sqlservertip/2340/resolving-could-not-open-a-connection-to-sql-server-errors/
    In addition, you mention that there are many other errors, so please provide the SQL Server error log for analysis.
    Regards,
    Michelle Li

  • Named Instance in SQL Server 2000

    We recently switched to SQL Server 2000 and are now having some
    problems. Our SQL Farm set up named instances so we could take
    advantage of active/active clustering. In doing this, they set up 2
    Named Instances, and therefore both cluster nodes are identically
    configured. To avoid a single point of failure, we'd like to take
    advantage of the active/active clustering when we call into the SQL
    Server 2000 database and not have to specify the exact port of either
    instance.
    Based on some information from a colleuge that is familiar with
    accessing SQL Server from the MicroSoft environment, we should be able
    to specify server=servername\instance:1434. This in turn would
    determine the correct port for one of the instances and the driver
    should handle forwarding our request to that instance.
    Does the WebLogic driver handle this? If so, does anyone know the
    proper syntax for the connection string?

    Hi. Our driver will only connect to a DBMS by being given it's
    machine name and port. If there are two DBMSes on the one machine,
    then they will be distinguished (only) by different port numbers.
    Our driver will not automatically switch from one port to another.
    Joe Weinstein
    Julie Burnard wrote:
    >
    We recently switched to SQL Server 2000 and are now having some
    problems. Our SQL Farm set up named instances so we could take
    advantage of active/active clustering. In doing this, they set up 2
    Named Instances, and therefore both cluster nodes are identically
    configured. To avoid a single point of failure, we'd like to take
    advantage of the active/active clustering when we call into the SQL
    Server 2000 database and not have to specify the exact port of either
    instance.
    Based on some information from a colleuge that is familiar with
    accessing SQL Server from the MicroSoft environment, we should be able
    to specify server=servername\instance:1434. This in turn would
    determine the correct port for one of the instances and the driver
    should handle forwarding our request to that instance.
    Does the WebLogic driver handle this? If so, does anyone know the
    proper syntax for the connection string?--
    B.E.A. is now hiring! (12/14/01) If interested send a resume to [email protected]
    DIRECTOR OF PRODUCT PLANS AND STRATEGY San Francisco, CA
    E-SALES BUSINESS DEVELOPMENT REPRESENTATIVE Dallas, TX
    SOFTWARE ENGINEER (DBA) Liberty Corner, NJ
    SENIOR WEB DEVELOPER San Jose, CA
    SOFTWARE ENGINEER (ALL LEVELS), CARY, NORTH CAROLINA San Jose, CA
    SR. PRODUCT MANAGER Bellevue, WA
    SR. WEB DESIGNER San Jose, CA
    Channel Marketing Manager - EMEA Region London, GBR
    DIRECTOR OF MARKETING STRATEGY, APPLICATION SERVERS San Jose, CA
    SENIOR SOFTWARE ENGINEER (PLATFORM) San Jose, CA
    E-COMMERCE INTEGRATION ARCHITECT San Jose, CA
    QUALITY ASSURANCE ENGINEER Redmond, WA
    Services Development Manager (Business Development Manager - Services) Paris, FRA; Munich, DEU
    SENIOR SOFTWARE ENGINEER (PLATFORM) Redmond, WA
    E-Marketing Programs Specialist EMEA London, GBR
    BUSINESS DEVELOPMENT DIRECTOR - E COMMERCE INTEGRATION San Jose, CA
    MANAGER, E-SALES Plano, TX

Maybe you are looking for

  • IPhone not working with Windows 7. Message asks to install 64-bit version

    Full error message; "This iPhone cannot be used because the required software is not installed. Run the iTunes installer to remove iTunes, then install the 64-bit version of iTunes". I have just bought my wife a brand new iPhone 32Gb 3S for Christmas

  • Re:blinking cursor -- will not boot up

    cpu --- intel (r) atom (tm) cpu Nz80 speed 1660 mhz - built-in HDD/ssd:toshiba MK2555GSX-(s1) total memory 1024 mb  bios version v1.60 i think my son watched a movie and added on an viewer that erased the original drivers...now hd is gone and needs t

  • Counter in Query

    Hi all, I need to create a counter that counts the sales order items per sales order. For example Sales Order 00001 has 5 line items. I need the counter to show "5" in all five rows for that sales order. I have Sales Order Number & Sales Order Item i

  • Dlpi_enabnotify missing from Solaris 10u8?

    Hi, Trying to compile Python 2.6 on Solaris 10u8 x86 encounters compiler errors which seem to indicate that dlpi_enabnotify is missing, however man dlpi_enabnotify says it should be there? I was wondering how I can obtain dlpi_enabnotify for Solaris

  • Log data for 40+ channels

    I want to log the acquired channel data to database after every 6 hours? The applicaiton continously acquires data 24/7 and writes to file. The file data then needs to be commited after every 6hrs, without closing the file and deleting the previous l