see attachment that includes screenshots
CLARITY MSP SCHEDULER INTERFACE CLEANUP AND REINSTALLATION STEPS
Internal working document.
We recommend that you avoid running any of the executables mentioned below directly; instead save it in an appropriate location and “Run As Administrator” – particularly for Windows 7 (even if you are logged in as an Administrator).
(You can Right click on an executable from Windows Explorer and select the ‘Run As Administrator’ option)
Steps to ensure that correct version of Java is installed and referenced:
- Ensure that the Clarity compatible Java version is installed. You can download java through Clarity under Account Settings->Software Downloads. Java can be downloaded and installed or updated from Oracle site – but ensure that the java release number is compatible. For example only Java 6 (jre1.6) should be used with Clarity 13.0 and only Java 7 (jre1.7) should be used with Clarity 13.2. It can be any patch/build number within this compatible release.
- Ensure that a JAVA_HOME system variable is defined pointing to compatible & supported java release.
- Right-click on My Computer
- Select Properties
- Click on the Advanced tab
- Click on the Environment Variables button
- Look for JAVA_HOME variable in the second section for System variables.
- If Variable Key JAVA_HOME does not exist, click the ADD button and add it.
- The Variable Value should point to java path
Note: Java is typically installed in the Program Files (x86) folder. There may be multiple versions of it. Please ensure that you are picking up the version compatible for your release. For example, for Clarity 13.0 the compatible java release is 6 (jre1.6). Do not use Java 7 (jre1.7) in this case. For Clarity 13.2, you need to use Java 7.
- Add Java path (as noted above) to the beginning of the System Path.
- Navigate to the Path variable under the System Variables section
- Update the existing string (do not override) to add “%JAVA_HOME%\bin;” (without the quotes) to the beginning of the string value.
- Check Registry entry to see if
- Type REGEDIT from command prompt
- Navigate to hkey_local_machine\Software\JavaSoft\Java Runtime Environment
(If it exists, else ignore)
- Ensure that it points to the compatible version – For example 1.6 for Clarity 13.0 and 1.7 for Clarity 13.2
- Make sure you have the following installed on your machine – If you have MSP 2007 ignore this section.
Uninstall MSP Connect/Interface
- Go to Control Panel & remove the following items – MSP 2007 users will not have the CAClarityAddIn
- Open MS Project
- Close the empty project automatically created
- Go to View / Macros / Visual Basic (2007 Users: Tools -> Macro -> Visual Basic Editor)
- Expand the ProjectGlobal (Global.MPT) Section (top left)
- Expand the Modules folder
- Right click on Module with Niku in the name (Niku_Api, Niku_Baseline, Niku_General, Niku_IntegrationMenu, Niku_TSD, Niku_Utility)
- i. Select Remove
- ii. Choose No to the export question
- iii. Repeat for each Niku Module
- Right click on CA_IntegrationHooks Module & remove
- Close Visual Basic Window
- Close MSP
- i. If a Debug error comes up, choose debug, then delete all text and close out, choosing Yes or OK at the prompts
- i. if a Debug error comes up, choose debug, then delete all text and close out, choosing Yes or OK at the prompts
- Continue to repeat until you receive no debug error
- Open Windows Explorer
- Go to C:\ drive
- Double click Program Files
- Delete CA folder & CA Clarity PPM Setups –
- Go to Start Menu, and in search box type Regedit & hit ENTER
- If prompted with “Do you want the following program to make changes to this computer?” Click yes and the following window comes up
- Collapse all expanded folders so you are now looking at
- Select/Highlight Computer
- i. Go to File, Select Export, Enter File Name to store the back up of registry
- Delete the following if they exist
- i. HKEY_CURRENT_USER\Software\Niku
- ii. HKEY_LOCAL_MACHINE\Software\Niku
For Windows 7 installation, you may need to drill down to the Wow6432 folder to get to the Niku entry.
- Clear Application Cache – MSP 2010 users only
- Go to http://www.microsoft.com/download/en/details.aspx?id=8279 Download the Windows 7 SDK file & run
- Go to Start Menu and type cmd and click enter
- Type cd c:\ click enter, this changes the directory back to the C:\ directory
- Type cd
- Then type this C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools or copy it then go to the little DOS icon in the top left corner click it, go to Edit & Paste & click enter
- You should see a similar result message:
Application cache cleared.
- Reboot machine – not always needed but good idea
Reinstall MSP Interface from Clarity 13.0.1
- Open MS Project
- Go to File > Options > Trust Center > Trust Center Settings
- Make sure “Enable all macros (not recommended; potentially dangerous code can run) is selected
- Log into Clarity
- Go to Account Settings
- Go to Software Download
- Click Download link for Microsoft Project Interface
- Install the Clarity Add-In last – do no restart machine yet
- Ensure that the Clarity modules/addins are installed:
- For MSP2007 installation
- Execute C:\Program Files (x86)\CA\Clarity\CA Clarity PPM MSPInterface\data\MSPAdd2K.mpp
- For MSP2010 installation
The Addins should be automatically installed.
If you do not see the Clarity Toolbar in MSP during the next step, then you can explicitly install the Addins as follows:
- Execute the setup file in C:\Program Files\CA\Clarity\CA Clarity PPM MSPInterface\addIn
Folder. Remember to ‘Run As Administrator’.
Check MS Project for Clarity Interface Option 1
- Open MS Project
- On toolbar/ribbon click on “CA Clarity PPM Integration”
- Click “Open”
- Click “Setup”
- Check that CA Clarity PPM Host is correct for your app server
- Enter Test Environment password & click OK
- If interface is working you should see messages that say it’s loading information from Clarity, this could take a couple of minutes
- Select a Project from the list that you know has tasks & click Open
- MSP should now display your tasks list
Check MS Project for Clarity Interface Option 2
- Log into Clarity 13.0.1
- Open a project with tasks
- Click Open in Scheduler
- Select Microsoft Project [Read-Write]
- MS Project will open and populate with the Clarity Project Task List
- Once it’s done loading the task list go to CA Clarity PPM Integration
- Click Save to ensure you can save back to Clarity
- If no error Success