<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Method:API Q&amp;A</title><link>http://forums.method.me/cs/forums/15.aspx</link><description>Ask questions specific to the MethodAPI from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Most of our Reports stopped generating this morning!!!!</title><link>http://forums.method.me/cs/forums/thread/22637.aspx</link><pubDate>Thu, 17 Jul 2014 17:47:40 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:22637</guid><dc:creator>Method_Chris</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/22637.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=22637</wfw:commentRss><description>&lt;p&gt;&lt;span style="font-size:10px;"&gt;Hi.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;Sorry you where having troubles this morning. &amp;nbsp;I&amp;rsquo;m not sure this is really an API issue, since you are generating reports rather than using the API, but the syntax of the SQL should be the same regardless. &amp;nbsp;We have applied no patches to the DB server that would have caused this stop working. &amp;nbsp;Most likely, there were new or modified records in your data, that changed SQL Server&amp;rsquo;s ability to make guesses on the intention of your SQL statement was, and therefore caused it to return an error.&lt;/div&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;X &amp;gt; &amp;#39;&amp;#39;&amp;nbsp;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;still doesn&amp;rsquo;t look right right to me. &amp;nbsp;If you are trying to make sure X is not empty, you should do something like:&lt;/div&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;/span&gt;X &amp;lt;&amp;gt;&amp;nbsp;&amp;#39;&amp;#39;&amp;nbsp;AND X Is Not Null&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;Or&lt;/div&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;ISNULL(X,&amp;#39;&amp;#39;) &amp;lt;&amp;gt; &amp;#39;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="overflow:hidden;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="overflow:hidden;"&gt;Thanks!&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="overflow:hidden;"&gt;Chris&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Most of our Reports stopped generating this morning!!!!</title><link>http://forums.method.me/cs/forums/thread/22635.aspx</link><pubDate>Thu, 17 Jul 2014 17:01:19 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:22635</guid><dc:creator>robert.cowart</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/22635.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=22635</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;I figured it out&lt;span id="mce_5_start"&gt;!! &amp;nbsp;Thankfully I am a DBA and knew where to look&lt;/span&gt;. &amp;nbsp;There must have been a SQL Server patch applied today in Methods DB that started strongly enforcing datatypes in SQL WHERE statements. &amp;nbsp;I had a X &amp;gt; 0 on a TEXT (varchar) column that started breaking the WHERE. &amp;nbsp;I checked the data types and found X was TEXT. &amp;nbsp;I changed X &amp;gt; 0 to X &amp;gt; &amp;#39;&amp;#39; and voila it works.&lt;span id="mce_6_end"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Most of our Reports stopped generating this morning!!!!</title><link>http://forums.method.me/cs/forums/thread/22632.aspx</link><pubDate>Thu, 17 Jul 2014 16:07:11 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:22632</guid><dc:creator>robert.cowart</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/22632.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=22632</wfw:commentRss><description>&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;Around 10:30 EST&lt;span id="mce_20_start"&gt;&amp;nbsp;on July 17, 2014&lt;/span&gt;, we started having an issue with Method reports. &amp;nbsp;Many of our reports stopped working at the same time. &amp;nbsp;These are custom r&lt;span id="mce_1_start"&gt;&lt;/span&gt;eports&lt;span id="mce_11_start"&gt;&amp;nbsp;from custom screens&lt;/span&gt;&amp;nbsp;that have been running well for months and&amp;nbsp;have not been changed recently. &amp;nbsp;I am trying to find out what the Method folks may have changed&lt;span id="mce_13_start"&gt;&amp;nbsp;this morning&lt;/span&gt;&amp;nbsp;that could have broken our reports. &amp;nbsp;&lt;span id="mce_14_start"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span id="mce_14_start"&gt;&lt;/span&gt;&lt;span id="mce_15_start"&gt;&lt;/span&gt;The same reports that fail&amp;nbsp;&lt;span id="mce_3_start"&gt;have&amp;nbsp;&lt;/span&gt;an error that says: &amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;b&gt;There was an unspecified error loading the report.&lt;/b&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;These same reports&amp;nbsp;&lt;/span&gt;&lt;span&gt;will run from the Report Designer, just not from Method CRM in the browser.&amp;nbsp;&lt;span id="mce_17_start"&gt;&amp;nbsp;All reports that read the Company.CompanyType value will not run from Method&lt;span id="mce_2_start"&gt;&lt;/span&gt;. &amp;nbsp;&lt;/span&gt;I thought it might be a locked&amp;nbsp;&lt;span id="mce_16_start"&gt;Company&amp;nbsp;&lt;/span&gt;table so we got everyone (and MIE) out of QuickBooks but it didn&amp;#39;t &amp;nbsp;change anything.&amp;nbsp;&lt;span id="mce_18_start"&gt;I even remove all report references to Company.CompanyType but the reports preview in RD but can&amp;#39;t be run from Method.&amp;nbsp;&lt;/span&gt;&amp;nbsp;I just talked to a Method tech support person but they were not able to determine the problem or a solution. &amp;nbsp;I thought maybe it was a license count limit assuming running reports took up a license, but increasing the license count did not get reports running. &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;span id="mce_5_start"&gt;SOMEONE PLEASE HELP! &amp;nbsp;We have PRODUCTION deadlines and Method&amp;#39;s failure to generate reports is killing us!&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>