This article replaces TK00126.
Error:
When you launch Dynamics GP for the first time after a new install or upgrade, the Project Cost Addin failed to load and you receive the following error.
OlympicSystems.ProjectCostDynamics.GPConnNetException: GPConnection.Connect() exception: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pool connections were in used and max pool size was reached.
Cause:
- Users or group does not have full control over the directory.
- Windows blocked files during the Project Cost install process.
- TCI/IP protocol for Dynamics GP in SQL Server Configuration Manager is disabled.
- SQL Server Browser is not running.
Resolutions:
Resolution 1:
Give users or group full control over the directory.
- Locate the AddIns folder in the Dynamics GP root directory.
- Right-click, select Properties, and select the Security tab.
- In the list, select a group or user name and click Edit.
- Mark the box for Full control, click Apply, and then click OK.
- Close the Properties window and relaunch Dynamics GP.
Resolution 2:
The following KB provides the steps on how to unblock Project Cost files.
Dynamics GP Not Launching After New Client Workstation Install
Resolution 3:
The following KB provides the steps on how to enable the TCI/IP protocol.
Resolution 4:
Turn on SQL Server Browser.
- Click Windows Start and open Services app.
- Double-click on SQL Server Browser and perform the following.
- Change the Startup Type to Automatic.
- Click Start.
- When the service starts, click Apply and then OK.
- Close the Services app.