Article ID: 912259 - Last Review: April 13, 2006 - Revision: 2.5 Error message when you try to build an OLAP cube in Project Server 2003 or in Project Server 2002: "The cube scheduled to be built on Date Time failed."Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986
(http://support.microsoft.com/kb/256986/
)
Description of the Microsoft Windows registry On This PageSYMPTOMSWhen you try to build an OLAP cube in Microsoft Office Project Server 2003 or in Microsoft Project Server 2002, you receive the following error message: The cube scheduled to be built on DateTime failed. (-2147217871) Timeout expired CAUSEDuring the cube build process, all the data in the staging tables is removed. It is the cleanup of these tables that may cause a time-out.
Typically, this problem occurs with the MSP_CUBE_ASSN_FACT table because this table holds more data than the other staging tables. Sometimes, this problem may also occur with the MSP_CUBE_RES_AVAIL_FACT table or the MSP_CUBE_TIME_BY_DAY table. During the cleanup of the staging tables, SQL statements are made that may take a long time to complete and may sometimes time-out. The following SQL statements are made during the cleanup of the staging tables:
WORKAROUNDTo work around this issue, use one of the following methods, as appropriate. Note We recommend that you truncate the following tables before you modify the SQLTIMEOUT registry entry:
Method 1: Truncate the tables in SQL Query AnalyzerTo work around this issue, use SQL Query Analyzer to issue a TRUNCATE TABLE statement to remove the data. To do this, follow these steps:
Method 2: Create an automated job in SQL Server AgentTo prevent this problem, include the TRUNCATE TABLE statements in an automated job by using SQL Server Agent. To do this, follow these steps:
Method 3: Increase the time-out value for the OLAP cube build processWarning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. By default, the OLAP cube build time-out value is set for 30 minutes (1800 seconds). You can increase the time-out value. When you increase the time-out value, the cube data staging process in SQL server has more time to complete successfully. Note For single server deployments, you will have to apply the following registry key on the front-end Web server on with Project Server is installed. If you have a multiple server deployment of Project Server, apply the following registry key on your views servers if the Views service is offloaded. To increase the time-out value, follow these steps:
MORE INFORMATIONYou may notice some improvement in cube build performance if you use a combination of methods 2 and 3. The delete process can be time consuming, especially when there are large amounts of data to remove.
| Article Translations
|

Back to the top
