<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Upgrade Error from 265 to 266]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">Yesterday I tried to upgrade to the newest version 1.2.6 from version 1.2.4 ..<br />
Unfortunatelly the upgrade did not suceed and even trying to install 1.2.4 again, I cannot get the database running again.<br />
I followed the instructions from these posts, but no success.</p>
<p dir="auto"><a href="/post/9310">https://www.netxms.org/forum/oe-oo/1-2-4-gt-1-2-5-upgrade-fail/msg9310/#msg9310</a><br />
<a href="/post/9297">https://www.netxms.org/forum/general-support/netxms-upgrade-to-v1-2-5-mssql-database-upgrade-issue/msg9297/#msg9297</a></p>
<p dir="auto">I deleted my [event_log] table, re-created it and the error is still the same ..<br />
I really don't have an idea of what's the problem, I don't have much knowledge in SQL ..</p>
<p dir="auto">C:\NetXMS\bin&gt;nxdbmgr upgrade -t<br />
NetXMS Database Manager Version 1.2.6</p>
<p dir="auto">Upgrading database...<br />
Upgrading from version 265 to 266<br />
&gt;&gt;&gt; CREATE INDEX idx_event_log_root_id ON event_log(root_event_id) WHERE root_event_id &gt; 0<br />
SQL query failed ([Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near the keyword 'WHERE'.):<br />
CREATE INDEX idx_event_log_root_id ON event_log(root_event_id) WHERE root_event_id &gt; 0<br />
Rolling back last stage due to upgrade errors...<br />
Database upgrade failed</p>
<p dir="auto">C:\NetXMS\bin&gt;</p>
]]></description><link>https://forum.netxms.org/topic/2287/upgrade-error-from-265-to-266</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:29:53 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2287.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Apr 2013 20:12:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Upgrade Error from 265 to 266 on Mon, 15 Apr 2013 20:37:48 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">Thank you very much !<br />
It's working now perfectly.  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.netxms.org/post/10084</link><guid isPermaLink="true">https://forum.netxms.org/post/10084</guid><dc:creator><![CDATA[hadesfromhell]]></dc:creator><pubDate>Mon, 15 Apr 2013 20:37:48 GMT</pubDate></item><item><title><![CDATA[Reply to Upgrade Error from 265 to 266 on Sun, 07 Apr 2013 11:20:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">It will work correctly. You can also execute manually</p>
<p dir="auto">CREATE INDEX idx_event_log_root_id ON event_log(root_event_id)</p>
<p dir="auto">This is a bug in upgrade procedure - it tries to create filtered index, which is a feature new to SQL 2008, so it fails on previous SQL server versions.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/10054</link><guid isPermaLink="true">https://forum.netxms.org/post/10054</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sun, 07 Apr 2013 11:20:18 GMT</pubDate></item><item><title><![CDATA[Reply to Upgrade Error from 265 to 266 on Fri, 05 Apr 2013 23:14:31 GMT]]></title><description><![CDATA[<p dir="auto">Ok, Seems that I found a workaround ...<br />
I just forced the upgrade .. I don't know how can it impact  ..<br />
For now, it's working back .</p>
<p dir="auto">C:\NetXMS\bin&gt;nxdbmgr upgrade -X<br />
NetXMS Database Manager Version 1.2.6</p>
<p dir="auto">Upgrading database...<br />
Upgrading from version 265 to 266<br />
SQL query failed ([Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near the keyword 'WHERE'.):<br />
CREATE INDEX idx_event_log_root_id ON event_log(root_event_id) WHERE root_event_id &gt; 0<br />
Upgrading from version 266 to 267<br />
Upgrading from version 267 to 268<br />
Upgrading from version 268 to 269<br />
Upgrading from version 269 to 270<br />
Upgrading from version 270 to 271<br />
Database upgrade succeeded</p>
<p dir="auto">C:\NetXMS\bin&gt;</p>
]]></description><link>https://forum.netxms.org/post/10052</link><guid isPermaLink="true">https://forum.netxms.org/post/10052</guid><dc:creator><![CDATA[hadesfromhell]]></dc:creator><pubDate>Fri, 05 Apr 2013 23:14:31 GMT</pubDate></item></channel></rss>