SQL Server Admin 2014 :: Replication Communication Via Named Pipes?
Sep 14, 2015
We have transaction replication configured across multiple SQL instances and could find one of the replication (from publisher to subscriber) net transport sessions is happening via Named pipes rather than TCP. where to troubleshoot this issue and what action to be taken to make it happen via TCP.
View 0 Replies
ADVERTISEMENT
Oct 5, 2015
I've been reading about the protocols and i've been trying to connect to my SQL SERVER using each one of the protocols, but i think I'm missing something, i dont have any problems using Shared Memory and TCP protocols, but I'm not pretty sure how to connect to my remote SQL SERVER using NAMED PIPES protocols. The books On Line of Microsoft refer that you can connect using this protocol using the next syntax: Connecting to a default instance by specifying a named pipe name:
APPHOSTpipeunitapp
Connecting to a named instance by specifying a named pipe name:
APPHOSTpipeMSSQL$SQLEXPRESSSQLquery
Connecting to default instance by name, forcing a named pipes connection:
np:APPHOST
Connecting to named instance by name, forcing a named pipes connection:
np:APPHOSTSQLEXPRESS
But I can't connect to my remote SQL SERVER, if i try the same with my local SQL SERVER i don't have any problems. I've been reading the articles so many times searching something about Named Pipes is only for local connections, but Microsoft say that it's posible to connect to a remote SQL SERVER, but i don't know how to do that. The firewall is disabled, I changed the APPHOST in the above syntax for the IP address of my SQL SERVER but it didn't work..
View 2 Replies
View Related
Feb 4, 2015
we have our cubes in Server A and SQL DB resides on Server B (we are on SQL 2014), from last couple of days are cube started failing due to below error:
OLE DB or ODBC error: Protocol error in TDS stream; HY000; Protocol error in TDS stream; HY000; Protocol error in TDS stream; HY000; Communication link failure; 08S01; TCP Provider: An existing connection was forcibly closed by the remote host.
; 08S01
I have been going through some blogs to understand the error but don't find any specific yet.
View 0 Replies
View Related
Sep 28, 2007
Hi,
I have merge replication configured over VPN and the replication is failing to connect to the subscriber through Named pipes with the error Named Pipes Provider, error: 40 - Could not open a connection to SQL Server ......
Actually , I am having issues with Named pipes connection from publisher to subcriber. I have enabled the protocols and also enabled the remote connections using both tcp/ip and named pipes. I have created the client network alias using named pipes
Also, due to security reasons only few ports have been released on the subscriber. Please provide me some information on the following.
1) Does any port specifically be released for listening on named pipes? i am able to connect using tcpip with out any issues as 1433 has been released.
2) How to configure the replciation to use tcpip and not named pipes (guess by default it will use named pipes)?
View 1 Replies
View Related
Apr 4, 2008
I've just posted mywebsite andthis error keep being trhrown as soon as I access the DB
I dont understand what is going on and if I dont get it working bu today will delivery date will expire and I will get in trouble...
So anyone knows what is going on
It says the following:
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. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Here is my con string :
<add name="ASPNETDBConnectionString" connectionString="Data Source=p3swhsql-v09.shr.secureserver.net;Initial Catalog=myCatalog;User ID=MyID;Password='Mypassword"/>
Thanks a lot
View 4 Replies
View Related
Aug 26, 2014
Plan to setup AG on in both default and named instance of two nodes. Can we do it ?
View 9 Replies
View Related
Nov 12, 2014
I have an existing 2012 default SQL Express. It's set up on a VPS managed by a third party. I have an administrator account on this 2012 Windows server. I'm not much of a sysadmin or a DBA but I get around. ;)
I've installed a new NAMED instance on this VPS and can not connect to it with client tools (SSMS). If I remote in, I can connect this way.
What steps might a seasoned DBA expect to make when getting a new named instance ready for the world.
Assign a port? Check the port?
Open the firewall for the port?
Will this new named instance listen on a different port than the previously installed SQL Express instance?
View 6 Replies
View Related
Apr 22, 2015
I need to create a named instance on a sql cluster.
How do I perform this? Is it as simple as creating a named instance on a standalone machine? Is there anything I need to consider?
View 3 Replies
View Related
Jul 6, 2015
I try to connect from a pc to a SQL Server on another pc. Both pc’s are in a workgroup. I want to connect from a Windows Forms application to a named instance on the other computer. By now I have been able to connect from one pc to SQL Server on the other with tcp:smurfin, 52782.
I want to be able to use servernameinstancename (instead of portnumber) to make a connection in a Windows Forms application.
I’ve checked / tried te following:
•In the properties of the instance, tab Connections, the option Allow Remote Connections is enabled
•In Configuration Manager: TCP is enabled
•The service SQL Server Browser is started
•On the tab IPAddresses, in the section IPAll, there is NO portnumber for TCP Port. And TCP Dynamic Ports has the nummer 52782
•I have created un inbound rule for port 52782 and also for 1434 (SQL Server Browser). And to be on the save side: a rule for 1433 as well.
•Restarted the service
If I run the following code in SQL Server, that same port number (52782) is returned:
EXEC xp_ReadErrorLog 0, 1, N'Server is listening on', N'any', NULL, NULL, 'DESC'
GO
SELECT local_tcp_port
FROM sys.dm_exec_connections
WHERE session_id = @@SPID
[Code] ....
View 5 Replies
View Related
Nov 3, 2015
I changed the Port of my named instance to use static port but still error log is giving two values ,why??
spid15sServer is listening on [ 'any' <ipv6> 50152].
spid15sServer is listening on [ 'any' <ipv4> 50152].
ServerServer is listening on [ ::1 <ipv6> 57518].
ServerServer is listening on [ 127.0.0.1 <ipv4> 57518].
View 5 Replies
View Related
Apr 3, 2015
Basically the question is, which number should I pick?
View 4 Replies
View Related
Jul 22, 2015
I've two instances(Default, Named[dynamicsFINANCE]) running on SQL server 2014. However, when I try to connect to named instance say (dynamicsFINANCE) using SQL authentication from local SSMS, I get below 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
I assigned a static port number to the named instance [dynamicsFINANCE] 1450. I also setup the firewall rule to allow access to Port 1450.
View 5 Replies
View Related
Apr 23, 2015
Is there anyway to execute script automatically on publisher after initialization. does sp_addscriptexec execute script on subscriber only??
View 2 Replies
View Related
May 17, 2015
We have installed 2014 sql server. We have currently 2008r2. We have to run the real time report. So we need to set up transactional replication b/n those two servers. We need to use 2008r2 as publisher and 2014 as subscriber.
Is it ok to have subscriber higher version than the publisher?
View 6 Replies
View Related
Jun 15, 2015
Any experience of success or failure setting up CDC on the subscriber end of transactional replication?
Also for a bonus answer, why are explicit index operations not permitted (I'm assuming this is even on the publisher?) From BOL:
• Explicitly adding, dropping, or altering indexes is not supported. Indexes created implicitly for constraints (such as a primary key constraint) are supported.
View 0 Replies
View Related
Sep 10, 2015
I have created a publication on SQL 2014 SP1/CU1 it is going to a distribution server also a SQL 2014 database. The subscriber is also SQL 2014 SP1/CU1. When I set it up there are no errors. I fire up Replication MGR and it looks good after the snapshot and distribution agent have been started. Again, no errors. When I do a tracer token the information gets to the distributer in 1 - 4 seconds but it never gets to the subscriber, the tracer token monitoring screen only shows pending for distributor to subscriber.
I can upload the scripts used to create the publication and/or the subscription but am a little hesitant because of server names in the scripts.
View 2 Replies
View Related
Oct 24, 2013
We had an issue recently where a (transactional) replicated table was replicating data as expected.
Then about 30 or so rows in the source table were not in the destination table, but other rows created after those 30 rows were replicated.
We have pretty much confirmed that users did not delete those rows.
Unfortunately we had to resolve the issue quickly and so blew away & recreated the subscription so a lot of evidence is probably gone from the crime scene.
We cant figure out what could cause 30 rows not to be replicated, yet leave replication operational.
View 1 Replies
View Related
Jun 6, 2015
Whenever I am doing reinitialization, publisher table schema is applying at subscriber level
I don't want to apply all changes ...
How can I skip the schema changes for transaction replication ...
View 1 Replies
View Related
Jun 10, 2015
We have push transaction replication from A database to 2 other B and C database. I have configured email to sent upon failure of subscription job of B and D database on Database A. Is this the way that we need to configure email to send when there is replication break up or failure.
Database is MS sql server 2008 R2
Publication Database: A
Replication mode : Transaction Replication
Replication used : Push Replication from database A
Subscription Database: B and C
View 0 Replies
View Related
Sep 15, 2015
I am planning to have AlwaysON Availability Groups setup between Server 1 and Server 2
Server 1 -->Publisher-->2014 SQL Enterprise edition-->Windows Std 2012 --> Always on Primary Replica
Server 2 -->Publisher(when DR happens)-->2014 SQL Enterprise edition-->Windows Std 2012 --> Secondary Primary
Server 4 as Subscriber
Server X as Remote Distributor ..
If i create Publications on Server1 (primary replica) to subscriber 4 servcer, will the publication be created automatically in Secondary Replica Server2 ? or do i have to create manullay using GUI/T Sql on Both Servers?
View 1 Replies
View Related
Sep 29, 2015
if for any reason AG fails over to async node, how replication behaves? As data will not be in sync with previous primary replica, how replication will work? I think that we have to reset replication from scratch as there's a high chance subscribers might be more updated than current primary replica as failover to this node causes data loss. How to keep replication in sync without resetting up? Can we achieve this?
View 5 Replies
View Related
Apr 15, 2015
From distribution db, which table(s) store info about filtered data?
View 0 Replies
View Related
Jul 20, 2015
Replication-Replication Distribution Subsystem: agent PRODDATA6 failed. Could not find stored procedure 'sp_MSdel_dboActiveTask_msrepl_ccs'.
Replication-Replication Transaction-Log Reader Subsystem: agent PRODDATA6. The process could not execute 'sp_replcmds' on 'PRODDATA6'.
Replication-Replication Distribution Subsystem: agent PRODDATA6. Could not find stored procedure 'sp_MSupd_dboActiveTask'.
Looks like these sp's got deleted?
View 1 Replies
View Related
Nov 6, 2015
As per attachment, i have been created replications but in local subscription it is not populated any thing at the same time, Subscription database has been created but tables is not populated as per publication table.
View 2 Replies
View Related
Feb 23, 1999
I have a question. When my SQL server was originally configured, it was only setup to use named pipes. Now I am needing to setup a P&M server (through Site Server 3.0), but I must have my SQL server to accept tcp/ip network connections. I don't know how to enable named pipes & tcp/ip. Any help would be greatly appreciated.
Steve Robitzsch
View 2 Replies
View Related
Dec 21, 2005
I keep getting errors. It all started when I enabled named pipes on my SQL Server 2005 server. Ever since then I've had connection problems up the butt.
Most recently I got this error so does this mean that SQL Server is still trying to use named pipes even if I only have TCP/IP enabled in SQL Server Configuration Manager?
Error:
TITLE: Connect to Server
------------------------------
Cannot connect to BG-SQL2005.
------------------------------
ADDITIONAL INFORMATION:
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. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
I get this when I try to connect to my DB period and I know the users are setup correctly, even tried both Windows Authentification and SQL authentification, no luck. It was working happily for a few days it seemed before I enabled named pipes in the SQL Server Configuration Manager.
View 11 Replies
View Related
Oct 3, 2000
I have a simple ASP page calling a COM+ function. The COM+ function is attempting to execute a stored proc on a SQL Server 2000 database. I am getting the following error:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC SQL Server Driver][Named Pipes]Specified SQL server not found.
The connection string I am using looks as follows:
driver={SQL Server};server=10.10.1.60;database=eSystem;uid=sa; pwd=;
- I have Named Pipes *disabled* on the SQL Server machine (at 10.10.1.60).
- As you can see, the connection string contains an IP Address and not the name of the SQL machine
- The server running the ASP page can ping the server sitting at 10.10.1.60
- The eSystem database does exist on the SQL machine sitting at 10.10.1.60
I suspect my error has to do with Named Pipes being used and I don't want to use Named Pipes. Could someone help me?
Thanks very much.
View 2 Replies
View Related
Aug 7, 1999
We had a crash of SQL server this week, everything came up fine, with the exception, SQL EM would no longer connect to SQL Server via named Pipes Library. SQL Server [DB-Library] Not found or Server does not exist.
Client Applications are able access the DB, ISQL /w acesses and runs SP's fine
DBCC CHECKDB returned no errors. I have to Reporting funtions that utilze Crystal Reports to connect to the DB. I am unable to do that n=now. This really is causing major problems. Any assistance would be appreciated.
I have already tryed Client Config. and adding the TCP/IP in the Advanced Tab wih Named pipes identified as "." and "(local)" [without quotes]. this did not work either.
If I have a corrupt Dll, can I reload it, or do I need to reload SQL Server, and rebuild databases from Datadumps?
View 6 Replies
View Related
Jul 17, 2006
Hello,
I have a big problem with SQL Server 2000 and Visual Basic .Net. I wont disable named Pipes from code write in Visual Basic (.Net). How make this ?
This problem is very important for me.
Help me! Please!!!
View 1 Replies
View Related
Dec 20, 2006
Hi,
I have windows 2003 (SP1) server with sql server 2000 (SP3) .
In the server network utility, I have enables only TCP/IP protocol and disabled the Named pipe protocol.
Now if I try to connect to the sql server from a remote machine, I get the message saying "unable to connect either server does not exist or ......".
I have configured the firewall to allow communication on TCP port 1433. It didn't help. I tried to disable the firewall completely, still it didn't work.
It works only if I enable Named pipe in the server's server network utility.
- Abhijit
View 1 Replies
View Related
Jun 9, 2008
I get this error when I try and log into my SQL Server 2005 database:
"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. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)" Does any one have solutions please reply. thanks & regards Priya.
View 1 Replies
View Related
Dec 5, 2007
Hello All!
I'm getting the following error message below from SQL server error log, see below.
And the following error on the web browers:
"System.Data.SqlClient.SqlException: 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. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) "
I have see this link (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=192622&SiteID=1) and other links and done the changes they recommend, but it does not give any positive results.
I have also in the firewall added named pipes internal and external port 445.
I have also in RUN executed "cliconfg.exe" and enable the tcp ip port number 1433 and named pipes "sqlquery".
In the sql server configuration manager, have I enabled both tcp/ip and named pipes. The same in the server surface area configuration. I have also enabled remote access.
Still having the same problem??!!??
Iam out of ideas ...
Please need help, thanks in forehand!
Nikita
SQL SERVER LOG file:
2007-12-05 11:31:11.12 Server Microsoft SQL Server 2005 - 9.00.3042.00 (Intel X86)
Feb 9 2007 22:47:07
Copyright (c) 1988-2005 Microsoft Corporation
Express Edition on Windows NT 5.1 (Build 2600: Service Pack 2)
2007-12-05 11:31:11.12 Server Error: 17054, Severity: 16, State: 1.
2007-12-05 11:31:11.12 Server The current event was not reported to the Windows Events log. Operating system error = 1502(error not found). You may need to clear the Windows Events log if it is full.
2007-12-05 11:31:11.12 Server (c) 2005 Microsoft Corporation.
2007-12-05 11:31:11.12 Server All rights reserved.
2007-12-05 11:31:11.12 Server Server process ID is 1744.
2007-12-05 11:31:11.12 Server Authentication mode is MIXED.
2007-12-05 11:31:11.12 Server Logging SQL Server messages in file 'C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLLOGERRORLOG'.
2007-12-05 11:31:11.12 Server This instance of SQL Server last reported using a process ID of 4884 at 5.12.2007 11:30:09 (local) 5.12.2007 9:30:09 (UTC). This is an informational message only; no user action is required.
2007-12-05 11:31:11.12 Server Registry startup parameters:
2007-12-05 11:31:11.12 Server -d C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDATAmaster.mdf
2007-12-05 11:31:11.12 Server -e C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLLOGERRORLOG
2007-12-05 11:31:11.12 Server -l C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDATAmastlog.ldf
2007-12-05 11:31:11.20 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2007-12-05 11:31:11.20 Server Detected 2 CPUs. This is an informational message; no user action is required.
2007-12-05 11:31:11.67 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
2007-12-05 11:31:11.75 Server Database mirroring has been enabled on this instance of SQL Server.
2007-12-05 11:31:11.75 spid4s Starting up database 'master'.
2007-12-05 11:31:11.93 spid4s Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
2007-12-05 11:31:12.11 spid4s SQL Trace ID 1 was started by login "sa".
2007-12-05 11:31:12.20 spid4s Starting up database 'mssqlsystemresource'.
2007-12-05 11:31:12.23 spid4s The resource database build version is 9.00.3042. This is an informational message only. No user action is required.
2007-12-05 11:31:12.49 spid8s Starting up database 'model'.
2007-12-05 11:31:12.49 spid4s Server name is 'ESPMK60134SQLEXPRESS'. This is an informational message only. No user action is required.
2007-12-05 11:31:12.51 spid4s Starting up database 'msdb'.
2007-12-05 11:31:12.65 spid8s Clearing tempdb database.
2007-12-05 11:31:13.03 Server A self-generated certificate was successfully loaded for encryption.
2007-12-05 11:31:13.03 Server Server is listening on [ 'any' <ipv4> 1175].
2007-12-05 11:31:13.03 Server Server named pipe provider is ready to accept connection on [ \.pipeMSSQL$SQLEXPRESSsqlquery ].
2007-12-05 11:31:13.03 Server Dedicated administrator connection support was not started because it is not available on this edition of SQL Server. This is an informational message only. No user action is required.
2007-12-05 11:31:13.07 Server SQL Server is now ready for client connections. This is an informational message; no user action is required.
2007-12-05 11:31:13.32 spid8s Starting up database 'tempdb'.
2007-12-05 11:31:13.42 spid4s Recovery is complete. This is an informational message only. No user action is required.
2007-12-05 11:31:13.42 spid11s The Service Broker protocol transport is disabled or not configured.
2007-12-05 11:31:13.42 spid11s The Database Mirroring protocol transport is disabled or not configured.
2007-12-05 11:31:13.46 spid11s Service Broker manager has started.
View 3 Replies
View Related