Microsoft KB Archive/909564

= All task-level enterprise outline codes are collapsed when you use Project Data Service to add a new outline code in Project 2003 =

Article ID: 909564

Article Last Modified on 10/17/2007

-

APPLIES TO


 * Microsoft Office Project Professional 2003
 * Microsoft Office Project Standard 2003

-



Important This article contains information about how to modify the registry. Make sure that you 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:

322756 How to back up and restore the registry in Windows XP and Windows Vista



SYMPTOMS
In Microsoft Office Project 2003, you use Project Data Service to create a task-level enterprise outline code structure in which all levels of the outlined code are expanded. Then you try to use Project Data Service to add a new task-level enterprise outline code. When you do this, all task-level enterprise outline codes are collapsed.

For example, you create a task-level enterprise outline code structure in which all levels of the outlined code are expanded as follows:

-Level 1

- sublevel 11

- sublevel 12

- Level 2

- sublevel 21

- sublevel 22

- sublevel 221

When you use Project Data Service to add a new task-level enterprise outline code, the outlined codes are collapsed as follows:

+ Level 1

+ Level 2



RESOLUTION
This problem was first fixed in a hotfix that is now contained in a service pack. If you installed the latest Project 2003 service pack, you do not have to install the hotfix.

Service pack information
This problem is corrected in Project 2003 Service Pack 3.To resolve this problem, obtain the latest service pack for Project 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

873459 How to obtain the latest service pack for Project 2003

After you install the service pack, follow the steps that are listed later in the article to set the ExpandOutlineCodeUpto registry key and to activate the hotfix.

How to obtain the hotfix
This issue is fixed in the Microsoft Office Project 2003 post-Service Pack 1 Hotfix Package that is dated February 6, 2006. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

899341 Description of the Project 2003 post-Service Pack 1 hotfix package: February 6, 2006

Warning 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 the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

How to enable the hotfix
To enable this hotfix, you must add the ExpandOutlineCodeUpto key to the registry. Add this key to the following registry keys:  

 



Note The value that is set in the first key is detected first. This value overrides any settings that are made in the second key.

To enable the hotfix in the  key, follow these steps:  Close Project 2003. Click Start, click Run, type regedit, and then click OK. Expand the following registry key:

 Right-click MS Project, point to New, and then click Key.</li> Type ExpandOutlineCodeUpto, and then press ENTER to name the key.</li> Click the ExpandOutlineCodeUpto key.</li> Right-click Default, and then click Modify.</li> In the Value data box, type one of the following values:  Type 0 to expand the whole outline code table</li> Type 1 or a higher number to expand the level of outline code to that number of levels. For example, type 1 to expand to one level of outline code, type 2 to expand to two levels of outline code, type 3 to expand to three levels of outline code, and so on.</li> Type -1 to collapse the whole outline code table.</li></ul> </li> Click OK.</li> On the File menu, click Exit to close Registry Editor.</li></ol>

To enable the hotfix in the  key, follow these steps: <ol> Close Office Project 2003.</li> Click Start, click Run, type regedit, and then click OK.</li> Expand the following registry key:

</li> Right-click MS Project, point to New, and then click Key.</li> Type ExpandOutlineCodeUpto, and then press ENTER to name the key.</li> <li>Click the ExpandOutlineCodeUpto key.</li> <li>Right-click Default, and then click Modify.</li> <li>In the Value data box, type one of the following values: <ul> <li>Type 0 to expand the whole outline code table</li> <li>Type 1 or a higher number to expand the level of outline code to that number of levels. For example, type 1 to expand to one level of outline code, type 2 to expand to two levels of outline code, type 3 to expand to three levels of outline code, and so on.</li> <li>Type -1 to collapse the whole outline code table.</li></ul> </li> <li>Click OK.</li> <li>On the File menu, click Exit to close Registry Editor.</li></ol>

Note To return to the default behavior of Project 2003 in which the whole outline code table is collapsed, use one of the following methods: <ul> <li>Type -1 in the ExpandOutlineCodeUpto key's Value data box</li> <li>Remove the following registry keys:

</li></ul>

<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.

This problem was first corrected in Project 2003 Service Pack 3.

Additional query words: PRJ, PRJ2003, Project2003

Keywords: kbbug kbfix kbregistry kbqfe kbpubtypekc kbproject2003presp2fix kbexpertisebeginner kbproject2003sp3fix KB909564

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.