Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you click Additional Benefit Information in Benefits Self Service in Business Portal for Microsoft Dynamics GP 2010: "Server Error in '/' Application The remote server returned an error: (401) unauthorized"


Symptoms

When you click Employee, click Benefits, and then click Additional Benefit Information, you may recieve the following error

"Server Error in '/' Application The remote server returned an error: (401) unauthorized."

or

"Server Error in '/' Application No connection could be made because the target machine actively refused it."

↑ Back to the top


Cause

The Web Services for Microsoft Dynamics GP 2010 port is not set correctly in the Business Portal web.config file.

↑ Back to the top


Resolution

1. At the web server where Business Portal is installed, open Windows Explorer and go to the Business Portal web.config file. The default location is
C:\inetpub\wwwroot\wss\VirtualDirectories\81.

2. Right-click the web.config file and click copy. Right-click in Windows Explorer and click paste to paste a copy in the same folder.

3. Right-click the web.config file and open the file in a text editor such as Notepad.

4. Click Edit and then click Find. Find "DynamicsGPWCFService" in the file.

5. Verify the Web Services port number, the default port is 48620 similar to below.

address="http://SERVERNAME:48620/Dynamics/GPService/GPService

6. Click Edit and then click Find. Find "BSSWebService".

7. Verify the Web Services port number, the default port is 48620 similar to below

 address="http://SERVERNAME:48620/Dynamics/BSSService/Benefit_Self_Service

8. Close and save the file.

9. Launch Business Portal and verify the error does not appear.

↑ Back to the top


Keywords: kbmbspartner, kbmbsmigrate, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2431140
Revision : 1
Created on : 1/7/2017
Published on : 8/5/2011
Exists online : False
Views : 122