A Dynamics GP customer contacted me and asked why this error message occurred:
There are a few forum threads on this discussing possible causes, but I thought I would note my experience with this error message.
I see this quite a bit on my numerous Dynamics GP development VMs because of the testing and changes I perform on the machines. I can easily produce the error with these steps:
1. Launch Dynamics GP and login to a company
2. Open a Dynamics GP window, such as Customer Maintenance
3. Select a record on the GP window, such as a customer, so that you are viewing the customer data
4. Restart the SQL Server service
5. After the SQL Server service is running again, close the Dynamics GP (Customer Maintenance) window (not the whole app)
6. The "FP: Can't close Table!" message should appear
7. Close Dynamics GP completely. You may get one or more other error messages, and then another "FP: Couldn't close table!" error. (slightly different wording and Table is not capitalized)
Given this, my initial explanation for this error message is that the Dynamics GP client application lost its connection with the SQL Server. There may be other causes, but that is always the reason why I happen to see it on my servers.
If you don't think that the SQL Server was rebooted or the SQL service was restarted, then my next guess would be that there was a network interruption between the machine running GP and the SQL Server machine.
If this happens to a GP client running on the SQL Server (as it did with my customer), then that would typically rule out a physical network issue, and I would look into whether SQL was restarted.
There is the possibility of a deeper network configuration issue or an antivirus issue, as discussed in this post:
https://community.dynamics.com/gp/b/dynamicsuniversitygp/archive/2013/11/04/fp-couldn-39-t-close-table-one-setting-that-may-end-random-disconnects-to-your-gp-databases
I personally can't remember the last time I saw the FP error at a customer site, so I can't speak to those as likely causes, but it wouldn't surprise me.
Steve Endow is a Microsoft MVP
for Dynamics GP and a Dynamics GP Certified IT Professional in Los Angeles.
He is the owner of Precipio Services, which provides Dynamics GP
integrations, customizations, and automation solutions.
Hi Steve
ReplyDeleteThe issues with tables are not just related to SQL connections, it can happen for other reasons too and it can happen with local ctree temporary tables.
Check out the following articles for related issues:
https://blogs.msdn.microsoft.com/developingfordynamicsgp/2010/04/20/unexplained-temp-table-errors/
https://blogs.msdn.microsoft.com/developingfordynamicsgp/2009/01/19/the-stored-procedure-createsqltmptable-returned-the-following-results-dbms-12-exceptions/
https://blogs.msdn.microsoft.com/developingfordynamicsgp/2014/04/22/more-on-sql-server-connection-issues-with-microsoft-dynamics-gp/
https://blogs.msdn.microsoft.com/developingfordynamicsgp/2009/08/09/an-open-operation-on-table-temp-table-errors/
https://blogs.msdn.microsoft.com/developingfordynamicsgp/2013/12/03/tcp-chimney-setting-and-sql-server-error-tcp-provider-an-existing-connection-was-forcibly-closed-by-the-remote-host/
David Musgrave