<?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>Point41 &#187; replication</title>
	<atom:link href="http://www.point41.com/index.php/tag/replication/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.point41.com</link>
	<description>IT Tips &#38; Tricks</description>
	<lastBuildDate>Thu, 13 Aug 2009 21:24:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Replicating large text / ntext fields in SQL Server 2005, 2008</title>
		<link>http://www.point41.com/index.php/2009/08/09/replicating-large-text-ntext-fields-in-sql-server-2005-2008/</link>
		<comments>http://www.point41.com/index.php/2009/08/09/replicating-large-text-ntext-fields-in-sql-server-2005-2008/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 15:24:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[replication]]></category>

		<guid isPermaLink="false">http://www.point41.com/?p=37</guid>
		<description><![CDATA[Scenario &#8211; You have successfully setup replicated SQL Server databases with ntext fields and things were going fine initially. One day you get this error in the Event Log:

Server: Msg 7139, Level 16, State 1, Line 1
Length of text, ntext, or image data ([some number larger than 65536]) to be replicated exceeds configured maximum 65536.
The [...]]]></description>
			<content:encoded><![CDATA[<p><b>Scenario</b> &#8211; You have successfully setup replicated SQL Server databases with ntext fields and things were going fine initially. One day you get this error in the Event Log:</p>
<div style="background-color: #dfdfdf; padding: 1px 16px 1px 16px;">
<p style="font-family: Courier;font-size: 10pt;">Server: Msg 7139, Level 16, State 1, Line 1<br />
Length of text, ntext, or image data ([some number larger than 65536]) to be replicated exceeds configured maximum 65536.<br />
The statement has been terminated.</p>
</div>
<p>This is happeming because <b>Max Text Replication Size</b> by default is set to 65536 and SQL Server has attempted to replicate a row where the data in a column is greater than this size. From the SQL Server Management Studio you can view and change this setting under Server Properties | Advanced dialog.
</p>
<p><img src="http://www.point41.com/wp-content/uploads/2009/08/MaxTextReplSize.gif" alt="max text repl size" /></p>
<p>Increase this number to a higher value &#8211; up to <b>2147483647</b>. Make this change on all SQL Servers involved in the replication. If you don&#8217;t like UI stuff, you can also make this change via a SQL Query.</p>
<div style="background-color: #dfdfdf; padding: 1px 16px 1px 16px;font-family: Courier;font-size: 10pt;">
<p>
EXEC sp_configure &#8216;max text repl size&#8217;, 2147483647<br />
GO</p>
<p>RECONFIGURE<br />
GO </p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.point41.com/index.php/2009/08/09/replicating-large-text-ntext-fields-in-sql-server-2005-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
