How to change the current SQL Server name that is set up with Web Services for Microsoft Dynamics GP
This article describes how to change the current SQL Server name that is set up with Web Services for Microsoft Dynamics GP.
Applies to: Microsoft Dynamics GP
Original KB number: 927321
The following steps assume the computer on which the Web Services for Microsoft Dynamics GP were installed wasn't moved, and that only the Microsoft SQL Server databases were moved to a different Microsoft SQL Server.
Use Notepad or other text editor program to enter the new SQL Server name in the web.config file for the DynamicsGPWebServices application. The following is the default location for the web.config file:
C:\Program Files\Microsoft Dynamics\GPWebServices\WebServices\web.config
Locate the following code in the web.config file.
<add key ="server" value="server_name" />
The "server_name" string represents the SQL Server name and instance. If the following conditions are true, change the value to SQLServer\SQL2005:
- The SQL Server databases are on a named instance called SQL2005.
- The SQL Server computer name is SQLServer.
In the DynamicsSecurityServiceAppPool and GPWebServicesAppPool application pools in Internet Information Services (IIS) Manager, you must enter a domain account on the Identity tab. Additionally, this domain account must have the DYNGRP role membership in the DYNAMICS and company databases. The domain account that you specify must be a member of the IIS_WPG group on the computer. To do it, follow these steps:
Select Start, point to Administrative Tools, and then double-click Internet Information Services (IIS) Manager.
Expand Application Pools.
Right-click GPWebServicesAppPool, and then select Properties.
On the Identity tab, enter the domain account information in the username and password fields.
The format for the username field is
Repeat steps c and d for the DynamicsSecurityServiceAppPool application pool.
The domain account that you entered for the DynamicsSecurityServiceAppPool and GPWebServicesAppPool application pools must be a domain account. It's because Microsoft SQL Server and IIS are on separate computers. For the application pool to function correctly, the domain account must have access to the IIS_WPG group on the local computer.
Give eConnect 9 for Great Plains COM+ domain account DYNGRP role access to the DYNAMICS and company databases. To do it, follow these steps:
- Select Start, select Administrative Tools, and then double-click Component Services.
- Expand Component Services, expand Computers, expand My Computer, and then expand COM+ Applications.
- Right-click eConnect 9 for Great Plains, and then select Properties.
- On the Identity tab, enter the domain account information in the username and password fields.
Restart IIS. To do it, select Start, select Run, type IISRESET in the Open Box, and then select OK.
Test this configuration changes by using the Policy data in the Dynamics Security Console. In the Dynamics Security Console, confirm that all aspects of the Web Services for Microsoft Dynamics GP are working as expected. To do it, follow these steps:
- Select Start, point to Administrative Tools, and then double-click Dynamics Security Console.
- Select Select Applications, and then wait for the Dynamics GP Web Services application to appear in the Select Applications window.
- Select OK.
- Expand Microsoft Dynamics Security, and then expand DynamicsGPWeb Services.
- When you select the Policy node, the list of Policies appears in the right-hand pane.
For more information, see How to transfer an existing Microsoft Dynamics GP, Microsoft Small Business Financials, or Microsoft Small Business Manager installation to a new server that is running Microsoft SQL Server.