Installing and Registering the Project Renamer PDS Extender

The Project Renamer PDS extender is a Microsoft® Visual Basic® 6.0 project that implements the RenameProject custom method for the Project Data Service (PDS) in Microsoft® Office Project Server 2003. The download includes the project file ProjectRenamer.vbp and source code, and also includes the compiled ProjectRenamer.dll.

You can install and register the DLL provided in the download, or you can modify the source code and then compile and register your modified version of ProjectRenamer.dll. You must first register ProjectRenamer.dll on the computer running Project Server as a COM component, and then register it with Project Server.

To install and register the Project Renamer PDS extender:

  1. Open a command prompt window, go to the directory containing ProjectRenamer.dll, and type the following command:

    regsvr32 ProjectRenamer.dll

    This command registers the component with a ProgID of ProjectRenamer.CMain. You can see the ProgID in the following registry subkey:
    HKEY_CLASSES_ROOT\ProjectRenamer.CMain

  2. To register the extender with Project Server, first use the Microsoft Internet Information Services (IIS) Manager to find the name of the IIS virtual directory for Project Server. The default virtual directory name is ProjectServer.

  3. Use regedit.exe to locate the following registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\MS Project\WebClient Server\[IIS Virtual Directory Name]

  4. Examine the registry for any PDS extenders that are already registered. Project Server 2003 supports up to 100 legacy PDS extenders with string names PDSExtensionN, and, in addition, up to 100 of the new style of PDS extenders with string names PDSExtensionExN, where in either case N = 1...100. The Project Renamer PDS extender is implemented as a new style extender.

    Note  If you modify and replace an existing PDS extender on the computer running Project Server, you must restart IIS to register the new DLL.

  5. Create a new string-value pair in the virtual directory subkey, where the string name is the next highest number of PDSExtensionExN. For example, if the IIS virtual directory name is ProjectServer, where PDSExtensionEx1 and PDSExtensionEx2 already exist, create the following string name:

    PDSExtensionEx3

    Double-click PDSExtensionEx3 and enter the following value in the Data field:

    ProjectRenamer.CMain

Editing the registry with Notepad

Instead of using regedit.exe to edit the registry, you could create a file with notepad.exe, save it with the .reg extension, and double-click the file to add the registry values.

For example, create and execute the file ProjectRenamer.reg with the following contents (make sure you use the correct values in your case for the IIS virtual directory, string name, and string value):

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\MS Project\WebClient Server\ProjectServer]
@=""
"PDSExtensionEx3"="ProjectRenamer.CMain"