<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>SQL Server Information</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/anurag_sharma/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/anurag_sharma/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:27:20 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Windows Sync Manager shows error message "Microsoft SQL Server could not save the security changes" when specifying user/password for publisher/distributor</title>
      <link>https://docs.microsoft.com/archive/blogs/anurag_sharma/windows-sync-manager-shows-error-message-microsoft-sql-server-could-not-save-the-security-changes-when-specifying-userpassword-for-publisherdistributor</link>
      <pubDate>Tue, 26 Jan 2010 08:22:00 GMT</pubDate>
      <dc:creator><![CDATA[Anurag_Sharma]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anurag_sharma/2010/01/26/windows-sync-manager-shows-error-message-microsoft-sql-server-could-not-save-the-security-changes-when-specifying-userpassword-for-publisherdistributor/</guid>
      <description><![CDATA[Symptoms

In pull subscriptions, when you use Windows Synchronization Manager to synchronize, it...]]></description>
      <content:encoded><![CDATA[<H3 class=ms-SIfield><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Symptoms</FONT></H3>
<DIV style="COLOR: #000000; FONT-SIZE: small">
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>In pull subscriptions, when you use Windows Synchronization Manager to synchronize, it will ask for security information to connect to publisher and distributor. As soon as you click ON on the dialog box, it would show error message</FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif></FONT>&nbsp;</P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Microsoft SQL Server could not save the security changes</FONT></P>
<P mce_keep="true">&nbsp;</P></DIV>
<H3 class=ms-SIfield><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Cause</FONT></H3>
<P class=ms-SIfield><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Current logged on user does not have adequate permissions over registry entries</FONT></P>
<H3 class=ms-SIfield><FONT size=2 face=tahoma,arial,helvetica,sans-serif></FONT>&nbsp;</H3>
<H3 class=ms-SIfield><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Resolution</FONT></H3>
<DIV style="COLOR: #000000; FONT-SIZE: small">
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>&nbsp;</FONT><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Collect <A href="https://technet.microsoft.com/en-us/sysinternals/bb896645.aspx" target=_blank mce_href="https://technet.microsoft.com/en-us/sysinternals/bb896645.aspx">Process Monitor</A> Logs and you will see ACCESS DENIED for couple of registry keys including the ones belonging to SQL Server. In a specific scenario they were</FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif></FONT></P>
<TABLE style="WIDTH: 100%" border=1 summary="">
<TBODY>
<TR>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;Operation</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;Path</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;Result</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;Detail</FONT></TD></TR>
<TR>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;RegCreateKey</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;HKLM\Software\Microsoft\Microsoft SQL Server\MSSQL10.MSSQLSERVER\Replication\Subscriptions\&lt;Subscription&gt;</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;ACCESS DENIED</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>Desired Access: Write&nbsp;</FONT></TD></TR>
<TR>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;RegCreateKey</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;HKLM\Software\Microsoft\Microsoft SQL Server\MSSQL10.MSSQLSERVER\Replication\Subscription\&lt;Subscription&gt;</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>ACCESS DENIED</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;Desired Access: Write</FONT></TD></TR>
<TR>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;RegCreateKey</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;HKLM\SOFTWARE\Description</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;ACCESS DENIED</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;Desired Access: Maximum Allowed</FONT></TD></TR>
<TR>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;RegOpenKey</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;HKLM\Software\Microsoft\MSSQLServer\Client\SNI10.0</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;ACCESS DENIED</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>Desired Access: Write</FONT></TD></TR>
<TR>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;RegOpenKey</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;HKLM\System\CurrentControlSet\Services\WinSock2\Parameters</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;ACCESS DENIED</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;Desired Access: All Access</FONT></TD></TR>
<TR>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;RegOpenKey</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>HKLM\System\CurrentControlSet\Services\WinSock2\Parameters</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>ACCESS DENIED</FONT></TD>
<TD><FONT face=tahoma,arial,helvetica,sans-serif>Desired Access: All Access</FONT></TD></TR></TBODY></TABLE>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif></FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif></FONT>&nbsp;</P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Ensure that the current logged on account has adequate permissions over these registry keys (or whichever they turn out to be in ProcMon Logs.)</FONT></P></DIV>]]></content:encoded>
    </item>
    <item>
      <title>Error: 17207, Severity: 16, State: 1. STREAMFCB::Startup: Operating system error 0xc01c0012(failed to retrieve text for this error. Reason: 317) occurred while creating or opening file '(file path)'.</title>
      <link>https://docs.microsoft.com/archive/blogs/anurag_sharma/error-17207-severity-16-state-1-streamfcbstartup-operating-system-error-0xc01c0012failed-to-retrieve-text-for-this-error-reason-317-occurred-while-creating-or-opening-file-file-path</link>
      <pubDate>Tue, 26 Jan 2010 07:44:00 GMT</pubDate>
      <dc:creator><![CDATA[Anurag_Sharma]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anurag_sharma/2010/01/26/error-17207-severity-16-state-1-streamfcbstartup-operating-system-error-0xc01c0012failed-to-retrieve-text-for-this-error-reason-317-occurred-while-creating-or-opening-file-file-path/</guid>
      <description><![CDATA[Symptoms

A SQL Server 2008 database having filestream enabled is in either recovery or being...]]></description>
      <content:encoded><![CDATA[<H3 class=ms-SIfield><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Symptoms</FONT></H3>
<DIV style="COLOR: #000000; FONT-SIZE: small">
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>A SQL Server 2008 database having filestream enabled is in either recovery or being restored fails with below error</FONT></P>
<P><FONT color=#cc0000 size=2 face=tahoma,arial,helvetica,sans-serif><EM>Error: 17207, Severity: 16, State: 1</EM></FONT></P>
<P><FONT color=#cc0000 size=2 face=tahoma,arial,helvetica,sans-serif><EM>STREAMFCB::Startup: Operating system error 0xc01c0012(failed to retrieve text for this error. Reason: 317) occurred while creating or opening file 'i:\FileStream\OpsFileStream'. Diagnose and correct the operating system error, and retry the operation.</EM></FONT></P>
<P><FONT color=#cc0000 size=2 face=tahoma,arial,helvetica,sans-serif><EM>Error: 17204, Severity: 16, State: 1</EM></FONT></P>
<P><FONT color=#cc0000 size=2 face=tahoma,arial,helvetica,sans-serif><EM>FCB::Startup () failed: Could not open file i:\FileStream\OpsFileStream for file number 65537. OS error: 0xc01c0012(failed to retrieve text for this error. Reason 317).</EM></FONT></P>
<P><FONT color=#cc0000 size=2 face=tahoma,arial,helvetica,sans-serif><EM>Error: 5105, Severity: 16, State: 14.</EM></FONT></P>
<P><FONT color=#cc0000 size=2 face=tahoma,arial,helvetica,sans-serif><EM>A file activation error occurred. The physical file name 'i:\FileStream\OpsFileStream' may be incorrect. Diagnose and correct additional errors, and retry the operation.</EM></FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>The issue most likely will happen after SQL Server is restarted or it terminated abnormally. </FONT></P></DIV>
<H3 class=ms-SIfield><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Resolution</FONT></H3>
<DIV style="COLOR: #000000; FONT-SIZE: small"><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Immediate resolution so far is to reboot the machine.</FONT></DIV>]]></content:encoded>
    </item>
    <item>
      <title>Replication agents may fail with error "Server '(servername)' is not registered at server '(servername)'."</title>
      <link>https://docs.microsoft.com/archive/blogs/anurag_sharma/replication-agents-may-fail-with-error-server-servername-is-not-registered-at-server-servername</link>
      <pubDate>Tue, 26 Jan 2010 07:38:00 GMT</pubDate>
      <dc:creator><![CDATA[Anurag_Sharma]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anurag_sharma/2010/01/26/replication-agents-may-fail-with-error-server-servername-is-not-registered-at-server-servername/</guid>
      <description><![CDATA[Symptoms

One or more replication agents are failing with below error in verbose log
&lt;verbose...]]></description>
      <content:encoded><![CDATA[<H3 class=ms-SIfield><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Symptoms</FONT></H3>
<DIV style="COLOR: #000000; FONT-SIZE: small">
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>One or more replication agents are failing with below error in verbose log</FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>&lt;verbose log&gt;</FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>OLE DB distributor 'SQLGUYDISTRIB': execute sp_server_info 18</FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>ANSI codepage: 1</FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>OLE DB Distributor 'SQLGUYDISTRIB': select datasource, srvid from master..sysservers where upper(srvname) = upper(N'SQLGUYPUB')</FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Agent message code 20053. Server 'SQLGUYPUB' is not registered at server 'SQLGUYDISTRIB'.</FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Repl Agent Status: 6</FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>ErrorId = 4, SourceTypeId = 2</FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>ErrorCode = '20053'</FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>ErrorText = 'Server 'SQLGUYPUB' is not registered at server 'SQLGUYDISTRIB'.'</FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Adding alert to msdb..sysreplicationalerts: ErrorId = 4,</FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Transaction SeqNo =,&nbsp; Command Id&nbsp;= -1</FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Message: Replication-Replication Distribution Subsystem: agent (null) failed. Server 'SQLGUYPUB' is not registered at server 'SQLGUYDISTRIB'. Disconnecting from OLE DB Subscriber 'SQLGUYSUB'</FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>&lt;/verbose log&gt;</FONT></P>
<H3 class=ms-SIfield><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Cause</FONT></H3>
<DIV style="COLOR: #000000; FONT-SIZE: small"><FONT size=2 face=tahoma,arial,helvetica,sans-serif>On Distributor server, the permission on publisher linked server to establish connection is set to "Not be made"</FONT></DIV>
<H3 class=ms-SIfield><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Resolution</FONT></H3>
<DIV style="COLOR: #000000; FONT-SIZE: small">
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>On distributor server, the proxy account of replication agent's job should have access to linked server created for publisher. Make sure that when you connect to distributor server using credentials of replication agent's job proxy account, you should be able to see publisher server in sysservers table or in linked servers folder in object explorer.</FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Set the publisher linked server security to "Be made using the login's current security context"</FONT></P></DIV></DIV>]]></content:encoded>
    </item>
    <item>
      <title>SQL Server 2000 or SP4 installation or bringing SQL resource online after install/ upgrade fails with "The specified service does not exist as an installed service"</title>
      <link>https://docs.microsoft.com/archive/blogs/anurag_sharma/sql-server-2000-or-sp4-installation-or-bringing-sql-resource-online-after-install-upgrade-fails-with-the-specified-service-does-not-exist-as-an-installed-service</link>
      <pubDate>Tue, 24 Feb 2009 20:04:00 GMT</pubDate>
      <dc:creator><![CDATA[Anurag_Sharma]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anurag_sharma/2009/02/24/sql-server-2000-or-sp4-installation-or-bringing-sql-resource-online-after-install-upgrade-fails-with-the-specified-service-does-not-exist-as-an-installed-service/</guid>
      <description><![CDATA[After installing SQL Server on a cluster or upgrading it to Sevice Pack 4, if you reboot the nodes...]]></description>
      <content:encoded><![CDATA[<P><FONT face=tahoma,arial,helvetica,sans-serif>After installing SQL Server on a cluster or upgrading it to Sevice Pack 4, if you reboot the nodes then you get below message or try to bring the SQL Server resource online from cluster administrator, then it fails with below error </FONT></P>
<BLOCKQUOTE>
<P><FONT color=#ff0000 face=tahoma,arial,helvetica,sans-serif>"The specified service does not exist as an installed service"</FONT></P></BLOCKQUOTE>
<P><FONT face=tahoma,arial,helvetica,sans-serif>You might observe that the setup did not fail at all. But in the setup logs you will find that the SQL setup or service pack had copied the binaries successfully but it had failed in creating the services. </FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>Setup succeeds as this is a non-fatal error.</FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif></FONT>&nbsp;</P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>Resolution</FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>============</FONT></P>
<UL>
<LI><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;</FONT><FONT face=tahoma,arial,helvetica,sans-serif>You may register the service by using the command from setup logs itself, for example</FONT></LI></UL>
<BLOCKQUOTE>
<P><FONT color=#0000ff face=tahoma,arial,helvetica,sans-serif>scm.exe -Silent 1 -Action 5 -ExePath "C:\Program Files\Microsoft SQL Server\MSSQL\binn\sqlservr.exe" -Service "MSSQLSERVER"</FONT></P>
<P><FONT color=#0000ff face=tahoma,arial,helvetica,sans-serif>scm.exe -Silent 1 -Action 7 -Service MSSQLSERVER -SvcStartType 1 -SvcAccount "CCC\BT_ATLSQ02" -SvcEPwd</FONT></P>
<P><FONT color=#0000ff face=tahoma,arial,helvetica,sans-serif>scm.exe -Silent 1 -Action 5 -Service "SQLSERVERAGENT" -Dependencies MSSQLSERVER -ExePath "C:\Program Files\Microsoft SQL Server\MSSQL\binn\sqlagent.exe" -SvcAccount "CCC\BT_ATLSQ02" -SvcEPwd</FONT></P></BLOCKQUOTE>
<UL>
<LI><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;If the service registration failes with error that the service name is already under use then please remove the entry for the service from the registry location "HKLM\SYSTEM\CurrentControlSet\Services" &amp; reboot the node</FONT></LI>
<LI><FONT face=tahoma,arial,helvetica,sans-serif>For more options with Service Control Manager SCM.exe or SC.exe, execute it from Start-&gt;Run or from command prompt</FONT></LI></UL>]]></content:encoded>
    </item>
    <item>
      <title>The SQL Server FullTextSearch (MSSQLSERVER) service depends the following service: NTLMSSP. This service might not be installed.</title>
      <link>https://docs.microsoft.com/archive/blogs/anurag_sharma/the-sql-server-fulltextsearch-mssqlserver-service-depends-the-following-service-ntlmssp-this-service-might-not-be-installed</link>
      <pubDate>Tue, 24 Feb 2009 19:56:00 GMT</pubDate>
      <dc:creator><![CDATA[Anurag_Sharma]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anurag_sharma/2009/02/24/the-sql-server-fulltextsearch-mssqlserver-service-depends-the-following-service-ntlmssp-this-service-might-not-be-installed/</guid>
      <description><![CDATA[SQL Server 2005 FullText Search on Windows 2008 [Longhorn] Cluster fails to come online. Below is...]]></description>
      <content:encoded><![CDATA[<P><FONT face=tahoma,arial,helvetica,sans-serif>SQL Server 2005 FullText Search on Windows 2008 [Longhorn] Cluster fails to come online. Below is the error noticed in System event log</FONT></P>
<BLOCKQUOTE>
<P><FONT color=#ff0000 face=tahoma,arial,helvetica,sans-serif>Generic application 'SQL Server Fulltext' could not be brought online (with error '1075') during an attempt to start the service. Possible cause: the specified service parameters might be invalid.</FONT></P>
<P><FONT color=#ff0000 face=tahoma,arial,helvetica,sans-serif>The SQL Server FullTextSearch (MSSQLSERVER) service depends the following service: NTLMSSP. This service might not be installed.</FONT></P></BLOCKQUOTE>
<P><FONT face=tahoma,arial,helvetica,sans-serif></FONT>&nbsp;</P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>Resolution 1</FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>==============</FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>Locate the below registry entry on the nodes where FTS is not coming online </FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\msftesql\DependOnService</FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>Remove "NTLMSSP" &amp; restart OS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (You may want to follow KB 322756&nbsp;[How to back up and restore the registry in Windows]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; before you make the registry changes)</FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif></FONT>&nbsp;</P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>Resolution 2</FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>==============</FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>Refer to KB 936302 &amp; check problem 3 stated in there</FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>Install SQL Server 2005 SP2 to fix this issue</FONT></P>]]></content:encoded>
    </item>
    <item>
      <title>How to audit user activities from Transaction Log File</title>
      <link>https://docs.microsoft.com/archive/blogs/anurag_sharma/how-to-audit-user-activities-from-transaction-log-file</link>
      <pubDate>Tue, 24 Feb 2009 19:32:00 GMT</pubDate>
      <dc:creator><![CDATA[Anurag_Sharma]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anurag_sharma/2009/02/24/how-to-audit-user-activities-from-transaction-log-file/</guid>
      <description><![CDATA[There are scenarios where&nbsp;you may&nbsp;want to find out which user deleted the data or created...]]></description>
      <content:encoded><![CDATA[<P><FONT face=tahoma,arial,helvetica,sans-serif>There are scenarios where&nbsp;you may&nbsp;want to find out which user deleted the data or created a table&nbsp;etc ..&nbsp;</FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;Use below statement in the database whose transaction log file is to be audited</FONT></P>
<BLOCKQUOTE>
<P><FONT face=tahoma,arial,helvetica,sans-serif><FONT color=#0000ff>DBCC LOG (&lt;DBID\DBNAME&gt;, 3)</FONT> </FONT></P></BLOCKQUOTE>
<P><FONT face=tahoma,arial,helvetica,sans-serif>Replace DBID with the ID of database whose transaction log file is to be analyzed.</FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>This may generate huge output if the transaction log file size&nbsp;is big</FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>You may get lucky&nbsp;if the transaction log is not truncated&nbsp;</FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>Next, in the output from above query you can look for TRANSACTION SID or DESCRIPTION column for point in time LSN having LOP_BEGIN_XACT statement. </FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>Those column usually contain the SID value for the user who made the change &amp; can be mapped in SID column in SYSUSERS table of that database to which the log file belongs.</FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>Also check the&nbsp;TRANSACTION NAME&nbsp;column which may contain type of operation done, as a matter of fact the DESCRIPTION column usually contains operation &amp; SID details. For e.g.</FONT></P>
<BLOCKQUOTE>
<P><FONT face=tahoma,arial,helvetica,sans-serif>CREATE TABLE;0x0105000000000005150000005d28f57fd53ad8354354e02a00d40400</FONT></P></BLOCKQUOTE>]]></content:encoded>
    </item>
    <item>
      <title>How to manually install SQL SP4 scripts when only the binaries have been upgraded</title>
      <link>https://docs.microsoft.com/archive/blogs/anurag_sharma/how-to-manually-install-sql-sp4-scripts-when-only-the-binaries-have-been-upgraded</link>
      <pubDate>Tue, 24 Feb 2009 19:23:00 GMT</pubDate>
      <dc:creator><![CDATA[Anurag_Sharma]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anurag_sharma/2009/02/24/how-to-manually-install-sql-sp4-scripts-when-only-the-binaries-have-been-upgraded/</guid>
      <description><![CDATA[There are&nbsp;times when we see that while installing Service Pack&nbsp;4 for SQL Server 2000 on...]]></description>
      <content:encoded><![CDATA[<FONT face=tahoma,arial,helvetica,sans-serif>
<P>There are&nbsp;times when we see that while installing Service Pack&nbsp;4 for SQL Server 2000 on standalone or clustered instance,&nbsp;the binaries have been upgraded but somehow SP4 failed to apply the T-SQL upgrade scripts. You can&nbsp;apply below steps to install SQL Server 2000 SP4 scripts on your instance.</P>
<P mce_keep="true">&nbsp;</P>
<UL>
<LI>After the point that the binaries are upgraded on the cluster nodes or the standalone server, you must run the SQL SP4 scripts</LI>
<LI>Close all applications that are accessing SQL Server, including SQL Enterprise Manager</LI>
<LI>Take the SQL Server offline if on a cluster or stop the SQL Service if standalone</LI>
<LI>Make sure from the services panel that the SQL Service is stopped</LI>
<LI>From command prompt goto path&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \Program Files\Microsoft SQL Server\MSSQL\Binn </LI>
<LI>Use proper path to reach in Named Instance folders</LI>
<LI>Start SQL Server in Single User Mode from command prompt through command sqlservr -T4022 -T4010 -m </LI>
<LI>Check proper command in SQL 2000 BOL if this is named instance, above syntax is for default instance</LI>
<LI>Open the SQL Query Analyzer &amp; connect to the Master database </LI>
<LI>Run below scripts in Master database in exact sequence as they appear below, taking them from the Install folder of SP4 setup directory</LI></UL>
<OL>
<OL>
<OL>
<LI>sp1_serv_uni.sql</LI>
<LI>80sp1-tools.sql</LI>
<LI>sp2_serv_uni.sql</LI>
<LI>80sp2-tools.sql</LI>
<LI>sp3_serv_uni.sql</LI>
<LI>80sp3-tools.sql</LI>
<LI>replsys.sql</LI>
<LI>replcom.sql</LI>
<LI>repltran.sql</LI>
<LI>replmerg.sql</LI>
<LI>remove_old_msx_accounts.sql</LI>
<LI>sp4_serv_uni.sql</LI>
<LI>80sp4-tools.sql</LI></OL></OL></OL>
<P mce_keep="true">&nbsp;</P>
<UL>
<LI>At this point you would have installed all the script that SP4 setup applies </LI>
<LI>Close the SQL Query Analyzer </LI>
<LI>At the command prompt press [ctrl+c] keys to shutdown the SQL Server </LI>
<LI>Again make sure from the Service panel that the SQL Server Service is stopped</LI>
<LI>Start the SQL Server again from command prompt sqlservr -T4022 -T4010</LI>
<LI>Open the SQL Query Analyzer &amp; connect to the Master database </LI>
<LI>Run the below stored procedure in Master database [provide the previous build of SQL Server, the below example considers SP3 Build 760]</LI>
<LI>EXEC sp_vupgrade_replication @security_mode=1,@ver_old=760</LI>
<LI>Close SQL Query Analyzer </LI>
<LI>At the command prompt press [ctrl+c] keys to shutdown the SQL Server</LI>
<LI>Reboot the server or the nodes if this is cluster</LI></UL></FONT>]]></content:encoded>
    </item>
    <item>
      <title>How to see commands with Command IDs in SQL Server 2000</title>
      <link>https://docs.microsoft.com/archive/blogs/anurag_sharma/how-to-see-commands-with-command-ids-in-sql-server-2000</link>
      <pubDate>Wed, 11 Jun 2008 16:19:00 GMT</pubDate>
      <dc:creator><![CDATA[Anurag_Sharma]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anurag_sharma/2008/06/11/how-to-see-commands-with-command-ids-in-sql-server-2000/</guid>
      <description><![CDATA[Below query will help in seeing the command along with command_id. This is helpful in cases where...]]></description>
      <content:encoded><![CDATA[<FONT size=1><FONT size=1><FONT size=1>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>Below query will help in seeing the command along with command_id. This is helpful in cases where you want to skip a corrupt command in SQL Server 2000 Transactional Replication </FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif></FONT>&nbsp;</P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>use distribution </FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>select </FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>publisher_database_id, </FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>xact_seqno, type, </FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>article_id, </FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>originator_id, </FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>command_id, </FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>partial_command, </FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>cast(command as nvarchar(4000)) </FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>from </FONT></P>
<P><FONT size=2 face=tahoma,arial,helvetica,sans-serif>msrepl_commands</FONT></P></FONT></FONT></FONT>]]></content:encoded>
    </item>
    <item>
      <title>Replication over firewall</title>
      <link>https://docs.microsoft.com/archive/blogs/anurag_sharma/replication-over-firewall</link>
      <pubDate>Wed, 11 Jun 2008 12:54:00 GMT</pubDate>
      <dc:creator><![CDATA[Anurag_Sharma]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anurag_sharma/2008/06/11/replication-over-firewall/</guid>
      <description><![CDATA[Most of the times you would run into scenario where you have a firewall between publisher/...]]></description>
      <content:encoded><![CDATA[<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2 face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black">Most of the times you would run into scenario where you have a firewall between publisher/ distributor &amp; subscriber</SPAN></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2 face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black"></SPAN></FONT>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2><SPAN style="COLOR: black"><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"></SPAN></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2><FONT face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; F</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"></SPAN></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2><FONT face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; I</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"></SPAN></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2><FONT face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black">PUBLISHER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;R&nbsp;&nbsp; </SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"></SPAN></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2><FONT face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; E&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SUBSCRIBER</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"></SPAN></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2><FONT face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; W</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"></SPAN></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2><FONT face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black">DISTRIBUTOR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; A</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"></SPAN></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2><FONT face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; L</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"></SPAN></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2><FONT face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; L</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"></SPAN></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2><FONT face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"></SPAN></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"><FONT face=tahoma,arial,helvetica,sans-serif></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"><FONT face=tahoma,arial,helvetica,sans-serif></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2><FONT face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black">Most people usually only allow traffic through one TCP/IP port on which the respective SQL instance is listening &amp; in most of the cases even SQL Browser service is stopped &amp; Named Pipe protocol is disabled. </SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"></SPAN></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"><FONT face=tahoma,arial,helvetica,sans-serif></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2><FONT face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black">But if the subscriber is a named instance listening on&nbsp;either static or dynamic port then you can only connect to it using either an alias or specfying the port number along with SERVER\INSTANCE NAME.</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"></SPAN></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"><FONT face=tahoma,arial,helvetica,sans-serif></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2><FONT face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black">In such scenario if you try to create a subscription &amp; specify&nbsp;&nbsp;&nbsp;&nbsp; SERVER\INSTANCE NAME, &lt;PORT&gt;&nbsp;&nbsp;&nbsp;&nbsp; for the sbscriber server either in the New Subscription wizard or in T-SQL then it failes with below error for example</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"></SPAN></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"><FONT face=tahoma,arial,helvetica,sans-serif></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2><FONT face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: red">SQL Server replication requires the actual server name to make a connection to the server. Connections through a server alias, IP address, or any other alternate name are not supported. Specify the actual server name, 'HIMALAYA\KILLER'. (Replication.Utilities)</SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: black; FONT-SIZE: 12pt"></SPAN></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"><FONT face=tahoma,arial,helvetica,sans-serif></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2 face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black">You will not be able to create subscription because the doesn't allow server with port or ip address alone or with port. However, there is a special case with aliases. Though the above error message tells you not to use aliases but as long as the alias name is same as the subscriber server name &amp; you have specified correct port number in the alias the subscription will be created &amp; replication will successfully work. Create a TCP/IP&nbsp;alias on publisher server with same name as susbcriber server\ instance with correct port.</SPAN></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2 face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black"></SPAN></FONT>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT size=2 face=tahoma,arial,helvetica,sans-serif><SPAN style="COLOR: black">Make sure that when you run select @@servername on subscriber it returns you the correct server name</SPAN></FONT><FONT size=2><SPAN style="COLOR: black"></SPAN></FONT></P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><FONT face=tahoma,arial,helvetica,sans-serif></FONT></SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"></SPAN></FONT>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"><FONT size=2><FONT face=tahoma,arial,helvetica,sans-serif></FONT></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top" class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 8.5pt"><FONT size=2><FONT face=tahoma,arial,helvetica,sans-serif>NOTE</FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>=====</FONT></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif>Alias names can be case sensitive, make sure to use the same case while specifying alias in SQL Server Management Studio or any replication wizard</FONT></P></FONT></SPAN>]]></content:encoded>
    </item>
    <item>
      <title>A value for the parameter @host_name was specified, but no articles in the publication use SUSER_SNAME() for parameterized filtering.</title>
      <link>https://docs.microsoft.com/archive/blogs/anurag_sharma/a-value-for-the-parameter-host_name-was-specified-but-no-articles-in-the-publication-use-suser_sname-for-parameterized-filtering</link>
      <pubDate>Tue, 15 Apr 2008 00:45:00 GMT</pubDate>
      <dc:creator><![CDATA[Anurag_Sharma]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anurag_sharma/2008/04/15/a-value-for-the-parameter-host_name-was-specified-but-no-articles-in-the-publication-use-suser_sname-for-parameterized-filtering/</guid>
      <description><![CDATA[When adding data partitions in merge publication sometimes below error is...]]></description>
      <content:encoded><![CDATA[<P><SPAN style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: Arial"><FONT face=tahoma,arial,helvetica,sans-serif>When adding data partitions in merge publication sometimes below error is encountered<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: Arial"><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: Arial"><FONT face=tahoma,arial,helvetica,sans-serif>Cannot add a partition with SUSER_SNAME<o:p></o:p></FONT></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: Arial"><FONT face=tahoma,arial,helvetica,sans-serif>A value for the parameter @host_name was specified, but no articles in the publication use SUSER_SNAME() for parameterized filtering.<o:p></o:p></FONT></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: Arial"><FONT face=tahoma,arial,helvetica,sans-serif>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P><FONT face=tahoma,arial,helvetica,sans-serif><SPAN style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: Arial">&nbsp;</SPAN><SPAN style="FONT-FAMILY: 'Cambria','serif'; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin; mso-bidi-font-family: Arial">Check if there are invisible special characters line new line feed, tab etc. &amp; remove them<o:p></o:p></SPAN></FONT></P>
<P mce_keep="true"><FONT face=tahoma,arial,helvetica,sans-serif></FONT>&nbsp;</P>]]></content:encoded>
    </item>
  </channel>
</rss>