<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Replication - Techyaz.com</title>
	<atom:link href="https://techyaz.com/category/sql-server/replication/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Tips, Tutorials and How-to Topics</description>
	<lastBuildDate>Sat, 05 May 2018 06:50:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>

<image>
	<url>https://techyaz.com/wp-content/uploads/2017/11/cropped-Site-icon-150x150.png</url>
	<title>Replication - Techyaz.com</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Error 14151:Replication Agent failed to start.</title>
		<link>https://techyaz.com/sql-server/replication/error-14151replication-agent-failed-to-start/</link>
					<comments>https://techyaz.com/sql-server/replication/error-14151replication-agent-failed-to-start/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Tue, 05 Jan 2010 15:22:00 +0000</pubDate>
				<category><![CDATA[Replication]]></category>
		<guid isPermaLink="false">http://techyaz.com/big-data/error-14151replication-agent-failed-to-start/</guid>

					<description><![CDATA[<p>I got below error 14151 for one of my SQL Server Replication Agent. The SQL Server Replication Agent may not start and will throw error message: The replication agent is not registered properly. Rerun SQL Server setup. The step failed. [SQLSTATE&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/replication/error-14151replication-agent-failed-to-start/">Error 14151:Replication Agent failed to start.</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I got below error 14151 for one of my SQL Server Replication Agent. The SQL Server Replication Agent may not start and will throw error message:</p>
<p><span style="color: #ff0000;">The replication agent is not registered properly. Rerun SQL Server setup. The step failed. [SQLSTATE 42000] (Error 14151). The step failed.</span></p>
<h3><span style="color: #333399;">Cause</span></h3>
<p>The Replication Agent that is running on the server may not restart when a named instance of SQL Server is removed from the server and replication is configured on the server. When you remove a named instance of SQL Server, the registry entries that relate to the Replication Agent are removed from the server. This behavior may also occur when the 8.3 name creation on the NTFS file system partition is disabled on the computer where SQL Server is installed. You disable 8.3 name creation on the NTFS partition by setting the NtfsDisable8dot3NameCreation registry key to 1.</p>
<h3><span style="color: #333399;"><strong>Solution</strong></span></h3>
<p>To work around this problem, follow these steps:</p>
<p>1-Set the <strong>NtfsDisable8dot3NameCreation</strong> registry key to 0.<br />
To change the registry key, use these steps:<br />
2-On the <strong>Start</strong> menu, click <strong>Run</strong>. Type <strong>regedit</strong>, and then click OK. Locate the following key in Registry Editor:</p>
<p><strong>HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\FileSystem\</strong></p>
<p>Double-click the <strong>NtfsDisable8dot3NameCreation</strong> key of type REG_DWORD. Set the Value Data of the registry key to 0, and then click OK.<br />
<strong>Note:</strong> By default, the value for the entry is set to 0. Close Registry Editor.</p>
<p>3-Restart your computer.</p>
<p>Now you should register the replication agents post performing above registry entry. Re-register the Replication Agent executables. To do this, use below steps:</p>
<p><strong>1-</strong> Stop the SQL Server Agent service.</p>
<p><strong>2-</strong> Copy the following command to a batch file:</p>
<p><em><strong>snapshot.exe -regserver</strong></em><br />
<em><strong>distrib.exe -regserver</strong></em><br />
<em><strong>replmerg.exe -regserver</strong></em><br />
<em><strong>logread.exe -regserver</strong></em><br />
<em><strong>qrdrsvc.exe –regserver</strong></em></p>
<p><strong>3- </strong>Run the batch file you created in step 2 from the Microsoft SQL Server\80\Com folder.</p>
<p><strong>4-</strong> Restart the SQL Server Agent service.</p>
<p>I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/sql-server/replication/error-14151replication-agent-failed-to-start/">Error 14151:Replication Agent failed to start.</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/replication/error-14151replication-agent-failed-to-start/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
