﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Database Deployment Toolkit » Issues  » Incorrext syntax near 'sname'</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 06:06:19 GMT</lastBuildDate><ttl>20</ttl><item><title>Incorrext syntax near 'sname'</title><link>http://forum.strataframe.net/FindPost21695.aspx</link><description>I have a package file that I have deployed on 5 or 6 different databases without any problems, however I have two database where the attached error occurs and I can't figure out what the problem is.&amp;nbsp; Any earlier version of the package, a week ago, worked fine on these two databases and now the new one and the actual original pacakge that worked, has failed.&lt;/P&gt;&lt;P&gt;Any Ideas?&amp;nbsp; Can you suggest how I can narrow down the problem?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Wed, 28 Jan 2009 10:17:31 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: Incorrext syntax near 'sname'</title><link>http://forum.strataframe.net/FindPost21705.aspx</link><description>For those wondering what happened here, the database was originally on SQL Server 2000.&amp;nbsp; It was then moved to SQL Server 2005, however, the server compatability wasn't changed.&amp;nbsp; Since the compatability level was left at 2000, yet it was being hosted in a 2005 server, the DDT attempted to execute the extended properties query for 2005 yet the database wouldn't support those queries since it was set to 2000 compatability.&amp;nbsp; To change this, just do the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Right-click the pre-exiting database from with Sql Server Management Studio and then click properties&lt;/LI&gt;&lt;LI&gt;Go to Options&lt;/LI&gt;&lt;LI&gt;Set the Compatibility level to 2005&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/c1c26d10-de98-4471-bb81-0854.png"&gt;</description><pubDate>Wed, 28 Jan 2009 10:17:31 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Incorrext syntax near 'sname'</title><link>http://forum.strataframe.net/FindPost21702.aspx</link><description>I will email you the database and package file shortly.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Wed, 28 Jan 2009 09:34:31 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: Incorrext syntax near 'sname'</title><link>http://forum.strataframe.net/FindPost21698.aspx</link><description>Tim, it would be impossible for me to diagnose what yoy may be experiencing with this information.&amp;nbsp; I will need, at the veryleast, your PKG file so that I can deploy it here and see if it is reproducable.&amp;nbsp; If so, then I will be able to debug this and try and determine what you are running into.&lt;/P&gt;&lt;P&gt;Also, we are about to post a new beta that has full SQL Server 2008 support for the DDT as well as all other areas of the framework.&amp;nbsp; In the process of updating this, we moved to SMO 10 which required that we make a few modifications to the migrator class.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Finally, the environment to which you are deploying can also make a difference.&amp;nbsp; If there is something with a pre-deployed database that is unexpected by SMO and the migrator class, then this could be a factor as well.&amp;nbsp; So let's start with a PKG file and go from there.</description><pubDate>Wed, 28 Jan 2009 09:27:20 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Incorrext syntax near 'sname'</title><link>http://forum.strataframe.net/FindPost21697.aspx</link><description>Some additional Info....&lt;/P&gt;&lt;P&gt;I traced the database migrator code and discovered the function causing the problem (G&lt;FONT size=2&gt;etListOfViewsSprocsAndUdfsToDrop). &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;See attached screen shot.&lt;/P&gt;&lt;P&gt;This is quite urgent so any help would be appreciated.</description><pubDate>Wed, 28 Jan 2009 08:58:28 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item></channel></rss>