WEBfactory 2010

Test Center Troubleshooting

Abstract

Check out these articles and learn how to solve the most commonly met issues, when working with the WEBfactory2010 Test Center.

"Connection Failed" error in Test Center when browsing the server
Abstract

Check out this article and learn how to solve a connecttion failed error in Test Center when browsing the server.

Description

The "Connection Failed" error occurs when the user tries to browse the server for signals.

Capture4445.jpg
Cause

This error can have more than one cause:

  • The most common scenario is when the server is not defined correctly in Test Center. In this case, the error can be fixed by correctly setting up the server, using the appropriate server name.

  • A less common scenario is when the name of a signal group contains a non printable character. In this case, the error can be fixed by correcting the name of the signal group.

Solution: the server is not correctly set up in Test Center

To properly define the server in Test Center, follow the steps below:

  • Open the Manage Servers windows from the Communication menu of the Test Center.

Capture4446.jpg
  1. Enter the name or IP of the machine running the WEBfactory Server in the ID field.

  2. Enter the ID of the server defined in WEBfactoryStudio in the Server ID field.

  3. Make sure that the Webservice path points to the correct location of the action.asmx web-service.

  4. Make sure that the INetPro path points to the correct location of the InetPro.asmx web-service.

  5. Click Apply to confirm the changes.

Solution: a Signal Group contains a non printable character

Any non printable character in a signal group will not be visible in WEBfactoryStudio. To fix this possible cause of the error, every signal group in WEBfactoryStudio must be renamed.

  1. In WEBfactoryStudio, head in the Signals section and select the connector which hosts the signal groups.

    Capture4447.jpg
  2. Double-click on the name of the first signal group and re-type the same name. By manually typing the signal group name, you can be sure that no non printable character is inserted.

    Do not use Copy/Paste when renaming the signal groups. Any non printable characters that might be in the copied text will not be visible in Studio.

  3. Repeat the same renaming procedure for all the signal groups available under every connector and server in the project.

Alternatively, the signal group can be deleted and recreated:

  1. Select the desired signal group from the Signals tree menu.

  2. Export all the signals of that signal group (select all available signals > right-click > Export Signals).

  3. Delete the signal group.

  4. Create a new signal group with the same name.

  5. Import the previously exported signals in the new signal group (right-click > Import Signals).

  6. Repeat the above steps for all the available signal groups under every connector and server.

"No Server Available" error while browsing for servers in Test Center
Abstract

Check out this article and learn how to solve the No server available error occurring while browsing for servers in Test Center.

Description

The "No Server Available" error may occur when browsing for servers in WEBfactoryTest Center using Manage Server option from the Communication menu.

The cause of error may be either no DNS name resolution or no access to Windows\Temp directory.

Solution

To fix this error follow the next steps:

  1. Check the DNS name resolution. If there is no DNS name resolution or it is set to 0, use localhost, 127.0.0.1 or the local IP address inside the Webservice and INetPro URLs:

    • http://localhost or IP/_WEBfactory /Webservices/action.asmx for Webservice

    • http://localhost or IP/_WEBfactory /Webservices/InetPro.asmx for INetPro

  2. Set the access to Windows Temp folder. Add the user everyone with full rights for the folder C:\Windows\Temp.

    WF_SE_176.jpg

    Adding the Everyone user

If the user Everyone is not added with full rights for the Windows Temp folder, it might be possible to get an error when querying the WEBfactory WEBservice:

image16.png

Error message while querying web services

"The current configuration file contains duplicate server id entries" when opening WEBfactoryTest Center
Abstract

Check out this article and learn more about the duplicate entries message displayed when opening Test Center.

Description

The WEBfactoryTest Center uses a configuration file called WFCommConfig.xml located at C:\ProgramData\WEBfactory.

Capture4240.jpg

WFCommConfig.xml location

When reinstalling WEBfactory without deleting WFCommConfig.xml, two identical entries might appear in the same configuration file. If so, when opening WEBfactoryTest Center, the "The current configuration file contains duplicate server id entries" error will appear.

Solution

To fix this error follow the next steps:

  • Rename or delete the file WFCommConfig.xml located at C:\ProgramData\WEBfactory. Open WEBfactoryTest Center again and create a new communication setting for the server. See Communication menu > Manage servers.

WF_SE_179.jpg

Communication settings - Manage servers

Advanced method:

  • Modify that file manually in a text editor and rename the duplicate the ID tag "<ID>rename duplicate entries</ID>"

WF_SE_178.jpg

Remove the duplicate tag in the WFCommConfig.xml file