How to troubleshoot common errors that occur when you use the PDSTest tool or the PDSTest.NET tool to test the Project Server 2003 Project Data Service (892964)



The information in this article applies to:

  • Microsoft Office Project Server 2003

INTRODUCTION

This article describes some of the common errors and troubleshooting steps that may occur when you use the PDSTest tool or the PDSTest.NET tool to test the Microsoft Office Project Server 2003 Project Data Service (PDS).

Both the PDSTest tool and the PDSTest.NET tools are used to perform basic tests on the Project Server 2003 PDS service.

When you perform a query on PDS, the PDSTest tool or the PDSTest.NET tool returns a status code of "0" after it runs a successful query. For example, if you use the PDSTest tool or the PDSTest.NET tool to query the "ResourceStatus" of the PDS service, a successful response appears that is similar to the following:<Reply>
<HRESULT>0</HRESULT>
<STATUS>0</STATUS>
<UserName>UserName</UserName>
<ResourcesStatus>
<Count>0</Count>
</ResourcesStatus>
</Reply>The following section lists steps that you can use to troubleshoot some of the common errors that occur when you use the PDSTest tool or the PDSTest.NET tool to test the Project Server PDS Service.

MORE INFORMATION

PDSTest Common Errors

'Run-time error '91': Object variable or with block variable not set' error

When you run the PDSTest tool on a computer that is not a Microsoft Project Server 2003 computer and then you click Execute in the PDSTest dialog box, you may receive the following error message:
Run-time error '91': Object variable or with block variable not set
This error occurs when Microsoft SOAP Toolkit version 3.0 is not installed on the computer where you are running the PDSTest tool. The PDSTest tool requires the SOAP Toolkit 3.0 to function.
NoteThe SOAP Toolkit does not have to be installed when you run the PDSTest tool on the computer that is running Project Server 2003.

You can download SOAP Toolkit version 3.0, when you visit the following Microsoft Web site:http://www.microsoft.com/downloads/details.aspx?FamilyId=C943C0DD-CEEC-4088-9753-86F052EC8450&displaylang=en

'HRESULT=0x80004005: Unspecified error' Error

When you click "Execute" in the PDSTest box, you receive the following error message:
Attachment:Maximum retry on the connection exceeded. Invalid at the top level of document. Attachment:Maximum retry on the connection exceeded.
HRESULT=0x80004005: Unspecified error Attachment:Maximum retry on the connection exceeded.
HRESULT=0x80004005: Unspecified error - Client:An unanticipated error occurred during the processing of this request.
HRESULT=0x80004005: Unspecified error - Client:Sending the Soap message failed or no recognizable response was received
HRESULT=0x80004005: Unspecified error - Client:Unspecified client error.
HRESULT=0x80004005: Unspecified error
You receive the following error message when the soap:address location servername value in the PDS.wsdl file uses the Fully Qualified Domain Name (FQDN) of the computer that is running Project Server 2003, and it does not use the NETBIOS name.

To resolve this problem, you must modify the PDS.wsdl file that is located in the \Program Files\Microsoft Office Project Server 2003\IIS virtual root directory on the computer that is running Project Server 2003.

To do this, follow these steps.
Note We recommend that you create a separate virtual root for each Project Server virtual directory. When you do this, you can have PDSTest queries point to the individual virtual directories. If a single virtual root is used for Project Server virtual directories, all PDSTest queries point to the same virtual directory.
  1. Log on to the computer that is running Project Server 2003 by using an account that has administrative permissions.
  2. Using Microsoft Windows Explorer, locate the IIS virtual root directory. By default, the PDS.wsdl file is located in the C:\Program Files\Microsoft Office Project Server 2003\IIS Virtual Root folder.
  3. Right-click the pds.wsdl file, and then click Open.
  4. In the Windows box, click Select the program from a list, and then click OK.
  5. In the Open With box, click Notepad, and then click OK.
  6. In Notepad, locate the following section:
    <service name="PDS">
    <port name="CMainSoapPort" binding="wsdlns:CMainSoapBinding">
    <soap:address location="http://servername/projectserver/PDS.WSDL"/>
    </port>
    </service>
  7. Change the servername value to the NETBIOS name of the computer that is running Project Server 2003. By default, the virtual directory name is projectserver. If you use a different virtual directory name, make sure that you change the virtual directory name value, for example soap:address location="http://Server1/VirtualDirectory1.
    Where Server1 is the name of the server and VirtualDirectory1 is the name of the virtual directory.
  8. In Notepad, click File, and then click Save.

'HRESULT=0x800A1529 - Client:' Error

When you click Execute in the PDSTest box, you receive the following error message:
Connector:SSL certificate common name (host name field) is incorrect Invalid at the top level of document. Connector:SSL certificate common name (host name field) is incorrect
HRESULT=0x800A1529 - Client:An unanticipated error occurred during the processing of this request.
HRESULT=0x800A1529 - Client:Sending the Soap message failed or no recognizable response was received
HRESULT=0x800A1529 - Client:Unspecified client error.
HRESULT=0x800A1529 Connector:SSL certificate common name (host name field) is incorrect
HRESULT=0x800A1529 - Client:An unanticipated error occurred during the processing of this request.
HRESULT=0x800A1529 - Client:Sending the Soap message failed or no recognizable response was received
HRESULT=0x800A1529 - Client:Unspecified client error.
HRESULT=0x800A1529
You receive the following error message when the common name on the secure sockets layer (SSL) certificate for a Project Server site that requires SSL does not match the NETBIOS name that is specified in the soap:address location in the PDS.wsdl file. The PDTest tool cannot connect to the computer that is running Project Server if the SSL certificate contains the FQDN of the site.
However, If the common name on the SSL certificate uses the NETBIOS name, the PDSTEST tool is successful. if the PDSTest tool generates errors, do steps 1 through 8 that were listed earlier in this article to add the NETBIOS name in the PDS.wsdl file.

PDSTest.NET Common Errors

'The request failed with HTTP Status 405: Method Not Allowed' Error

When you use the PDSTest.NET tool and you run a PDS query against a URL where the virtual directory name is not "ProjectServer," you may receive the following error message:
PDSTest.NET Exception Occurred while processing the request.
The request failed with HTTP Status 405: Method Not Allowed
This behavior occurs when you use the EditSite tool to create additional virtual directories in Project Server 2003. In this case, the .wsdl file may not be mapped correctly in Microsoft Internet Information Services (IIS).
To download and to install the Project Server 2003 EditSite tool, visit the following Microsoft Web site: http://www.microsoft.com/downloads/details.aspx?FamilyID=6dc2c83e-54e1-40a9-9bb8-2dd293226b6f&DisplayLang=en

To resolve this problem, map the .wsdl application extension to the correct file in IIS. To do this, follow these steps:
  1. Log on to the computer that is running Project Server 2003 by using an account that has administrative permissions.
  2. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
  3. In the Internet Information Services (IIS) Manager MMC snap-in, expand ServerName, expand Web sites, expand Default Web site, right-click ProjectServer, and then click Properties.
  4. In the ProjectServer Properties box, click the Virtual Directory tab, and then click Configuration.
  5. In the Application Configuration box, click the Mappings tab, select .wsdl under Application Extensions, and then click Edit.
  6. In the Add/Edit Application Extension Mappingbox, click Browse.
  7. In the Open box, locate the Program Files\Common Files\MSSOAP\BINARIES\ folder. Then, click SOAPIS30.dll, click Open, and then click OKtwo times.

Modification Type:MinorLast Reviewed:7/27/2006
Keywords:kbtshoot kbhowto KB892964 kbAudITPRO