<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace V5 Site Server v5.13.157 (http://www.squarespace.com) on Tue, 21 May 2013 07:27:06 GMT--><feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><title>andy.nifong</title><subtitle>Blog</subtitle><id>http://www.andynifong.com/blog/</id><link rel="alternate" type="application/xhtml+xml" href="http://www.andynifong.com/blog/"/><link rel="self" type="application/atom+xml" href="http://www.andynifong.com/blog/atom.xml"/><updated>2011-11-02T12:00:11Z</updated><generator uri="http://five.squarespace.com/" version="Squarespace V5 Site Server v5.13.157 (http://www.squarespace.com)">Squarespace</generator><entry><title>Business Portal Query Error – Cannot find table 0</title><category term="Business Portal"/><category term="Dynamics GP"/><id>http://www.andynifong.com/blog/2011/11/2/business-portal-query-error-cannot-find-table-0.html</id><link rel="alternate" type="text/html" href="http://www.andynifong.com/blog/2011/11/2/business-portal-query-error-cannot-find-table-0.html"/><author><name>Andy</name></author><published>2011-11-02T12:00:11Z</published><updated>2011-11-02T12:00:11Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>One of my users ran into this message this past week while using the Accounts page in the Financial Center of Business Portal 4.0.&nbsp; When selecting a certain account in the Account List web part, the Account Balance pane showed no results, with the message &ldquo;Query error&rdquo; at the bottom of the window.&nbsp; Click on the &ldquo;Query error&rdquo; and then Details gives the following message:</p>
<p><a href="http://www.andynifong.com/resource/WindowsLiveWriter-BusinessPortalQueryErrorCannotfindtable0_E529-?fileId=14855607"></a></p>
<p><a href="http://www.andynifong.com/resource/WindowsLiveWriter-BusinessPortalQueryErrorCannotfindtable0_E529-?fileId=14855607"><img style="display: inline; border-width: 0px;" title="ScreenClip(1)" src="http://www.andynifong.com/resource/WindowsLiveWriter-BusinessPortalQueryErrorCannotfindtable0_E529-?fileId=14855608" border="0" alt="ScreenClip(1)" width="402" height="307" /></a></p>
<p><a href="http://www.andynifong.com/resource/WindowsLiveWriter-BusinessPortalQueryErrorCannotfindtable0_E529-?fileId=14855607">&nbsp;</a>The error only occurs on one account, only appears in the Account Balance web part, however you have to refresh the entire page before the various web part will function again.&nbsp; Since it was only happening for the one account, I decided it had to be data-related, and began poking around in the various GL tables in this company&rsquo;s database.&nbsp; Since the only web part that returned an error was the Account Balance web part, I started with the Account Current Summary Master table, GL10110, and quickly found what I was looking for when I looked at all records for the problem account.&nbsp;&nbsp; There was one record where the Year1 field was 0, and the PeriodID was also 0, and the amounts were zero, so the record was clearly invalid.&nbsp; I found a similar record for another account and tested that account in the portal and got the same error.&nbsp; I backed up the GL10100 table and removed the records in question, and the error went away.&nbsp;</p>]]></content></entry><entry><title>You cannot open Microsoft Dynamics GP now because another user is entering Multicurrency access information.</title><category term="Dynamics GP"/><category term="Multicurrency"/><id>http://www.andynifong.com/blog/2011/10/28/you-cannot-open-microsoft-dynamics-gp-now-because-another-us.html</id><link rel="alternate" type="text/html" href="http://www.andynifong.com/blog/2011/10/28/you-cannot-open-microsoft-dynamics-gp-now-because-another-us.html"/><author><name>Andy</name></author><published>2011-10-28T11:00:21Z</published><updated>2011-10-28T11:00:21Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>Other than having to define a functional currency to use econnect, I've never had the need to work with multiple currencies in GP until yesterday. &nbsp;A colleague and I had defined the Singapore dollar and were in the process of granting the company access to the currency and to the exchange tables, when GP appeared to hang, giving the infamous "Not Responding" status. &nbsp;We closed GP and attempted to get back in, however we were greeted with the message below:</p>
<p>&nbsp;<span class="full-image-block ssNonEditable"><span><img src="http://www.andynifong.com/storage/multicurrencyerror.JPG?__SQUARESPACE_CACHEVERSION=1319739257655" alt="" /></span></span></p>
<p>I'd never bumped into this message before and my Google searches didn't seem to be bringing up anything very promising. &nbsp;We removed our login from the ACTIVITY table, but still got the message. &nbsp;We checked the usual suspects - SY00500, SY00800, SY00801, but still no luck. &nbsp;We had 25 other users in the system and getting them all out wasn't an option, so we hadn't cleared the ACTIVITY, SY00800, SY00801 tables. &nbsp;After sweating a bit, as users were unable to login to any company in GP, I found the line I was looking for in the ACTIVITY table:</p>
<p><span class="full-image-block ssNonEditable"><span><img src="http://www.andynifong.com/storage/MC Access Setup.JPG?__SQUARESPACE_CACHEVERSION=1319740652432" alt="" /></span></span></p>
<p>We deleted the record where the USERID field was MC Access Setup, and users were able to login to GP again. &nbsp;</p>
<p>&nbsp;</p>
<p><span><img src="file:///C:/DOCUME~1/anifong/LOCALS~1/Temp/enhtmlclip/ScreenClip.png" alt="" /></span></p>]]></content></entry><entry><title>New Season</title><category term="Dynamics GP"/><id>http://www.andynifong.com/blog/2011/10/10/new-season.html</id><link rel="alternate" type="text/html" href="http://www.andynifong.com/blog/2011/10/10/new-season.html"/><author><name>Andy</name></author><published>2011-10-11T00:47:17Z</published><updated>2011-10-11T00:47:17Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>After 11 years, I've decided that it's time for me to move on from my position at my current employer and try something else. I'll be taking a position with a GP end-user, meaning instead of 100 different customers, I'll have 1 big customer, something I've often thought would be great to get a chance to do. &nbsp;To really get to know the details of the entire implementation, optimize it, and make it my own has great appeal to me at this stage in my career. &nbsp;I'll definitely miss the relationships I've built with the many customers I've had the opportunity to work with, but as everyone told me, "You'll know when it's time", and it's definitely time for me to go. &nbsp;</p>
<p>I'm extremely grateful to have become a member of this awesome Dynamics GP community, and glad that I have had a chance to contribute. &nbsp;Once things have settled down I hope to get back making regular posts on SQL and Dynamics GP, though things may take a turn toward more personal content, tech and gadget-related content, at least for a while. &nbsp;Thanks to all for the support and encouragement.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content></entry><entry><title>Twins</title><id>http://www.andynifong.com/blog/2011/8/11/twins.html</id><link rel="alternate" type="text/html" href="http://www.andynifong.com/blog/2011/8/11/twins.html"/><author><name>Andy</name></author><published>2011-08-11T01:50:43Z</published><updated>2011-08-11T01:50:43Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p><img class='iphone-image' src='/resource/iphone-20110810215043-1.jpg?fileId=13620051'/></p><p>Had to post this pic my daughter grabbed tonight of twin fawns in our front yard. Amazingly they stood and browsed while she went out the door into the yard and took pictures. Finally some passing vehicles startled them and off they went. Love living out here in the boonies!  <br /></p>]]></content></entry><entry><title>Fair time!</title><id>http://www.andynifong.com/blog/2011/7/9/fair-time.html</id><link rel="alternate" type="text/html" href="http://www.andynifong.com/blog/2011/7/9/fair-time.html"/><author><name>Andy</name></author><published>2011-07-09T11:52:38Z</published><updated>2011-07-09T11:52:38Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p><img class='iphone-image' src='/resource/iphone-20110709075238-1.jpg?fileId=13114531'/></p><p>Our county fair started yesterday - this is my view for the next week. </p>]]></content></entry><entry><title>Using SmartList Builder With A Linked Server</title><category term="SQL Server"/><category term="Smartlist Builder"/><id>http://www.andynifong.com/blog/2011/7/6/using-smartlist-builder-with-a-linked-server.html</id><link rel="alternate" type="text/html" href="http://www.andynifong.com/blog/2011/7/6/using-smartlist-builder-with-a-linked-server.html"/><author><name>Andy</name></author><published>2011-07-06T14:17:09Z</published><updated>2011-07-06T14:17:09Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>Aaron Berquist comes through with a solution to a problem my team has run into several times before, which is including data from a linked SQL Server in a view for Smartlist Builder. &nbsp;Check it out <a href="http://www.aaronberquist.com/2011/07/using-smartlist-builder-with-a-linked-server-it-can-be-done/">here</a>. &nbsp;</p>]]></content></entry><entry><title>Troubleshooting 101</title><category term="Professional Development"/><category term="SQL Server"/><id>http://www.andynifong.com/blog/2011/5/16/troubleshooting-101.html</id><link rel="alternate" type="text/html" href="http://www.andynifong.com/blog/2011/5/16/troubleshooting-101.html"/><author><name>Andy</name></author><published>2011-05-16T19:41:36Z</published><updated>2011-05-16T19:41:36Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>Mike Walsh over at <a href="http://www.straightpathsql.com/" target="_blank">StraightPath Consulting</a> has a nice <a href="http://www.straightpathsql.com/archives/2011/05/cant-troubleshoot-dont-apply/" target="_blank">post</a> up on how to troubleshoot problems, whether with software or hardware.&nbsp; The hardware in this case being a pickup truck, but the same methodology applies.&nbsp;</p>]]></content></entry><entry><title>Excellent SQL Server Backup and Maintenance Solution</title><category term="Backup"/><category term="Dynamics GP"/><category term="Maintenance"/><category term="SQL Server"/><id>http://www.andynifong.com/blog/2011/1/24/excellent-sql-server-backup-and-maintenance-solution.html</id><link rel="alternate" type="text/html" href="http://www.andynifong.com/blog/2011/1/24/excellent-sql-server-backup-and-maintenance-solution.html"/><author><name>Andy</name></author><published>2011-01-25T00:01:42Z</published><updated>2011-01-25T00:01:42Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>One of the first things I have to do after I&rsquo;ve installed Dynamics GP and created the DYNAMICS, TWO and company databases, is setup jobs to backup and optimize those databases.&nbsp; The best method I&rsquo;ve found to do that is a free solution developed by Ola Hallengren that can be found <a href="http://ola.hallengren.com/" target="_blank">here</a>.&nbsp; This solution received the 2010 Editor&rsquo;s Choice Bronze Award for best Free SQL Tool, while the SQL Server Community gave it the Gold.&nbsp; After a previous write-up of this solution Ola contacted me directly asking for my feedback, and he has been in touch several times since &ndash; he clearly cares about his solution and makes regular improvements as SQL Server features are added or changed.&nbsp;</p>
<p>The solution can be installed by downloading and running a single sql script &ndash; direct link <a href="http://ola.hallengren.com/scripts/MaintenanceSolution.sql" target="_blank">here</a>.&nbsp; Upon opening the script in SQL Management Studio, I typically make two changes.&nbsp; First I change the value of the @BackupDirectory parameter, highlighted below, to point to the location I want the backups stored.&nbsp; The backup job will create a folder with the server name in this folder, with folders for each database below that, followed by folders for each of the backup types &ndash; full, differential, and log.</p>
<p><a rel="lightbox" href="http://www.andynifong.com/resource/Windows-Live-Writer-Excellent-SQL-Server-Maintenance_FC9F-?fileId=10386541"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="ScreenClip(9)" src="http://www.andynifong.com/resource/Windows-Live-Writer-Excellent-SQL-Server-Maintenance_FC9F-?fileId=10386543" border="0" alt="ScreenClip(9)" width="813" height="544" /></a></p>
<p>The second change I make is that I like to keep 3 days worth of backups on disk if possible, and the scripts defaults to cleaning up backups older than 24 hours, so I like to change that to 72 hours.&nbsp; This can certainly be done afterwards by editing the job step but I like to do it up front.&nbsp; I usually do a quick find and replace operation on &ldquo;24, &rdquo; replacing with 72.&nbsp;</p>
<p><a rel="lightbox" href="http://www.andynifong.com/resource/Windows-Live-Writer-Excellent-SQL-Server-Maintenance_FC9F-?fileId=10386545"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="ScreenClip(10)" src="http://www.andynifong.com/resource/Windows-Live-Writer-Excellent-SQL-Server-Maintenance_FC9F-?fileId=10386546" border="0" alt="ScreenClip(10)" width="819" height="445" /></a></p>
<p>After the replace is completed, I run the script and the highlighted jobs below are created.&nbsp; From there I open each job, set the desired schedule for each one, and I&rsquo;m done.</p>
<p><a rel="lightbox" href="http://www.andynifong.com/resource/Windows-Live-Writer-Excellent-SQL-Server-Maintenance_FC9F-?fileId=10386547"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="ScreenClip(11)" src="http://www.andynifong.com/resource/Windows-Live-Writer-Excellent-SQL-Server-Maintenance_FC9F-?fileId=10386550" border="0" alt="ScreenClip(11)" width="799" height="437" /></a></p>
<p>I use this script because I want consistently configured backup and database maintenance jobs on all of the SQL Servers I manage for my customers.&nbsp; It takes 10-15 minutes to configure and I love that it&rsquo;s smart enough to not throw an error on the whole transaction log job if someone creates a new company and the recovery is still set to Simple &ndash; it skips that database and moves on to the next one.&nbsp; It is also much smarter then the SQL Server Maintenance Plans about whether it rebuilds or reorganizes the databases indexes.&nbsp; Visit Ola&rsquo;s site, <a href="http://ola.hallengren.com">http://ola.hallengren.com</a> to read more about the solution or view the documentation.&nbsp;&nbsp;&nbsp;</p>]]></content></entry><entry><title>Keep Investing in Yourself</title><category term="Professional Development"/><category term="SQL Server"/><id>http://www.andynifong.com/blog/2011/1/18/keep-investing-in-yourself.html</id><link rel="alternate" type="text/html" href="http://www.andynifong.com/blog/2011/1/18/keep-investing-in-yourself.html"/><author><name>Andy</name></author><published>2011-01-18T16:36:08Z</published><updated>2011-01-18T16:36:08Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>I just signed up for SQL Saturday #67 in Chicago!&nbsp; SQL Saturday is a free one-day training event that is put on in cities around the country.&nbsp; There may be a small charge for lunch &ndash; $7 in my case.&nbsp; I&rsquo;m completely comfortable with basic administration of SQL Server but I want to learn more about the internals and be able to quickly resolve weird performance issues.&nbsp; I&rsquo;m not expecting to get too deep into those topics in one day of free training but I do hope to network with some real SQL pros and get pointed in the right direction.&nbsp;</p>
<p>Unfortunately not all of us work for companies that see the value of investing in their employees, so a fat training budget or professional development plan are not in the cards.&nbsp; I&rsquo;m left to pay for my training out of my earnings, so Convergence every year isn&rsquo;t an option.&nbsp; I genuinely enjoy my work, my customers, and most of the people I work with, so I want keep improving my skill set, which requires investing in myself.&nbsp; There are a lot of good free and low cost options for Dynamics GP as well &ndash; free virtual conferences at <a href="http://msdynamicsworld.com">MSDynamicsWorld.com</a>, online training at Partnersource and Customersource, as well as two great books from <a href="http://www.packtpub.com/microsoft-dynamics-gp-2010-cookbook/book/mid/27081044cqsp">Mark Polino</a> and <a href="https://www.packtpub.com/microsoft-dynamics-gp-2010-implementation/book?mid=141210xrqxrp">Victoria Yudin</a>.&nbsp;</p>
<p>So to all the GP admins out there, I encourage you to check out the SQL Saturday events in your area at the SQL Saturday page <a href="http://www.sqlsaturday.com/default.aspx">here</a>.&nbsp; It&rsquo;s an excellent option for &ldquo;sharpening your axe&rdquo; &ndash; and if your employer won&rsquo;t support you, don&rsquo;t let that stop you.&nbsp; You may find that demonstrating your commitment to learning and improving will change that in the future.&nbsp; In addition to SQL Saturday check out 24 Hours of PASS at <a href="http://www.sqlpass.org/24hours/Spring2011/">http://www.sqlpass.org/24hours/Spring2011/</a>.</p>]]></content></entry><entry><title>New blog host</title><id>http://www.andynifong.com/blog/2011/1/14/new-blog-host.html</id><link rel="alternate" type="text/html" href="http://www.andynifong.com/blog/2011/1/14/new-blog-host.html"/><author><name>Andy</name></author><published>2011-01-15T04:18:16Z</published><updated>2011-01-15T04:18:16Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>After too much fiddling with Wordpress, I decided to move the blog over to Squarespace.com, as I found their service to be powerful and yet simple to configure. &nbsp;I think I've got everything moved over, now I just need to resume posting!</p>]]></content></entry></feed>