« PreviousNext »

Project Server 2007: Timeout Settings

1 August 2009

Thanks to my colleague Trevor Turner for compiling the various places in Project Server and associated technologies that timeout values can be set.  This came about to resolve problems in the Resource Substitution Wizard – but is helpful information for other slow scenarios too – particularly when large datasets are involved.  As Trevor points out – you should carry out other mitigations such as good use of categories, and also ensure your SQL databases have up to date statistics and fresh indexes.  Much better to make things run faster than just allowing longer waits for slow processing! 

Whenever something fails in a very specific amount of time – 30 seconds, 1 minute, 1 hour – I always suspect some sort of timeout may be involved.

Resource Substitution Wizard and Timeout Settings

In certain circumstances where the Resource Substitution Wizard has to deal with a large amount of data the default settings for some timeout values are not large enough. This can either cause errors to be returned to the user or cause unexpected data to be retrieved when running the wizard.

In order to resolve the specific timeout errors we have to ensure that the appropriate timeout values are set in the following four locations.

  1. The Project Server Published database
  2. The HKCU hive of the Windows registry
  3. The website timeout in IIS
  4. The ASP.NET timeout in IIS

NOTE: Before making these changes, however, it may be more appropriate to try to mitigate any timeout errors by controlling which projects the user can see by making use of Categories (in Project Web Access). Reducing the number of projects a user has access to in this way will reduce the length of time taken to run the wizard and, therefore, reduce the need to increase the aforementioned timeout values.

The following values/screenshots are what I have set on my system and which allow the Resource Substitution Wizard to successfully complete on a large customer dataset in around 8 minutes. Values should be modified at your own discretion.

These timeout values may need to be increased further in different environments as the system parameters will, obviously, be different.

All tests were performed using Project Server 2007 with the June CU installed for WSS, Project Server and Project Professional.

It must also be noted that increasing timeout values can cause the system to run less efficiently and effectively, particularly those settings for IIS.

1. The Project Server database

In the Project Server Published database the setting in the MSP_WEB_ADMIN table for WADMIN_CORE_SQL_TIMEOUT should be increased. This value is in seconds.

clip_image002

This value can also be modified by making use of the PSI. Please see the following reference;

http://blogs.msdn.com/project_programmability/archive/2008/12/20/project-server-database-timeout.aspx

2. The HKCU hive of the Windows registry

The following registry value should be added to the local user’s registry.

Key

\HKCU\Software\Microsoft\Office\12.0\MS Project\Settings\

Value

Name : Timeout

Type : DWORD

clip_image004

This setting controls the SOAP Toolkit timeout value on the client.

The default value is 60000, and it is ranked in milliseconds, putting the default value at one minute.

If this value is not high enough you will likely receive the following error, along with a related entry in the Application Event Log relating to MSSOAP.

clip_image006

3. The website timeout in IIS

In Internet Information Services (IIS) Manager, the “Connection timeout:” setting should be increased for the Project Server Web Site.

clip_image008

4. The ASP.NET timeout in IIS

In Internet Information Services (IIS) Manager, select the ASP.NET tab and press the “Edit Configuration” button.

clip_image010

Select the Application tab and set the “Request execution timeout (seconds):” value for

the Project Server Web Site.

clip_image012

Technorati Tags: ,

Originally by BriSmith from Brian Smith’s Project Support WebLog on July 31, 2009, 6:06pm

Popularity: 1% [?]

If you enjoyed this post, make sure you subscribe to my RSS feed!

Posted in other blogs, Uncategorized | Trackback | del.icio.us |

Other posts like this one:

  • Project Server Database Timeout
  • Changing the default security timeout for PWA and SP2010
  • Project Server Experts February FAQ Updates
  • Interesting Article on Project Programmability Blog – Issue and Risks web part timeout workaround
  • Project Server 2013 and Project Online: The new world of PWA Settings
  • Top Of Page

    No comments yet

    Leave a Reply