Microsoft KB Archive/891166

= You receive a &quot;Project Server cannot connect to the specified Web server running Windows SharePoint Services&quot; error message when you try to connect to Windows SharePoint Services by using Project Server 2003 =

Article ID: 891166

Article Last Modified on 1/5/2007

-

APPLIES TO


 * Microsoft Office Project Server 2003
 * Microsoft Windows SharePoint Services

-





SYMPTOMS
When you try to connect to Microsoft Windows SharePoint Services by using Microsoft Office Project Server 2003, you may receive the following error message:

VBScript: Microsoft Office Project Web Access 2003

Project Server cannot connect to the specified Web server running Windows SharePoint Services. Please check the HTTP protocols and the port numbers in both URLs.



CAUSE
This problem may occur if the following conditions are true:
 * The default root site that is used for Windows SharePoint Services has been configured by using a custom URL in the Custom URL path box. For example, the custom URL may be similar to http:// /.
 * The custom URL is not configured for use with Project Server 2003.

Note When you configure and provision Windows SharePoint Services for the first time, you do not have to enter a custom URL in the Custom URL path box. You can leave this box blank. During installation, the Windows SharePoint Services Configuration Wizard for Project Server 2003 automatically creates the default custom URL. For example, the custom URL may be similar to http:// /Sites.

This problem may also occur if the name of the PublicDocuments site is changed. For example, the PublicDocuments site appears as Project2003_MS_Projectserver_Publicdocuments instead of MS_ProjectServer_PublicDocuments in Project Web Access 2003 (PWA).



Method 1
If the default root site is configured to use an incorrect default custom URL, use Windows SharePoint Services Central Administration to configure the Windows SharePoint Services site to use the default custom URL for Project Server 2003. For example, use http:// /Sites. To do this, follow these steps:  Click Start, point to All Programs, point to Administrative Tools, and then click SharePoint Central Administration. On the Central Administration page, click Configure virtual server settings under Virtual Server Configuration. In the Virtual Server list, click the Web site that you created. On the Virtual Server settings page, click Define managed paths under Virtual Server Management. In the Add a New Path section, type a forward slash (/) in the Path box. Under Type, click Included path.</li> In the Type list, click Explicit Inclusion, and then click OK.</li> Click Start, click Run, type cmd, and then click OK.</li> Type the following commands at the command prompt, and press ENTER after each command:

CD &quot;C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN&quot;

stsadm -o createsite -url http:// : -ownerlogin  \  -owneremail  @ .com

iisreset

EXIT

</li> Configure Project Server 2003 to connect to Windows SharePoint Services. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Log on to Microsoft Project Web Access as an administrator.</li> Click Admin on the Project Web Access toolbar, and then click Manage Windows SharePoint Services.</li> Type the appropriate information in the SharePoint Central Administration URL and Create a site under this SharePoint URL boxes. For example, type the following:

SharePoint Central Administration URL: http:// :

Create a site under this SharePoint URL: http:// : /sites

</li> Click Save Changes.</li></ol> </li></ol>

Method 2
If the problem is caused by the name change of the PublicDocuments site, change the site name back to MS_ProjectServer_PublicDocuments. To do this, follow these steps:
 * 1) Start SQL Server Enterprise Manager.
 * 2) Expand the name of the SQL Server, expand Databases, expand the ProjectServer database, click Tables, right-click the MSP_WEB_ADMIN table, point to Open Table, and then click Return all rows.
 * 3) Scroll to the WADMIN_PUBDOCS_STS_SUBWEB_NAME column, type MS_ProjectServer_PublicDocuments to change the string value, and then close the table.
 * 4) Log on to Microsoft Project Web Access as an administrator.
 * 5) Click Admin on the Project Web Access toolbar, and then click Manage Windows SharePoint Services.
 * 6) Click Connect to SharePoint server, and then click Save Changes.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="references_section">