CMS Infrastructure Services - Information - How to manually unregister an Application from the CAST MS

Purpose

This page will outline the steps to manually Unregister an application from a particular MNGT.
It so happens that you are trying manage your applications, you get the message, "All Applications are already referenced in Management Service for this Delivery folder" and you do not get the list of Applications to select from to manage.
These manual steps will help you detach the application from the MNGT and allow you to select it from the Application list to be managed.

Applicable in CAST Version
Release
Yes/No
8.3.x(tick)
8.2.x(tick)
8.1.x(tick)
8.0.x(tick)
7.3.x(tick)
7.2.x(tick)
7.0.x(error)
Applicable RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS2(tick)
CSS1(error)

To be able to unregister your application, you need to follow the below mentioned step :
Go to your Delivery/data (For example: C:\CASTMS\Delivery )
Edit the in index.xml file.
Search for your application name in the file and locate the line.

For example you will find the below if you want to unregister any application named cast_infy_test_2

<entry key="b4e774ac-844b-4cf1-aec3-752e2f6f06ee_b4e774ac-844b-4cf1-aec3-752e2f6f06ee.entity.xml_checksum">99791cfea26a523897fe2df23b0a1a7e</entry> 
 <entry key="b4e774ac-844b-4cf1-aec3-752e2f6f06ee_b4e774ac-844b-4cf1-aec3-752e2f6f06ee.entity.xml_lastModified">1416151297811</entry> 
 <entry key="b4e774ac-844b-4cf1-aec3-752e2f6f06ee_b4e774ac-844b-4cf1-aec3-752e2f6f06ee.entity.xml_length">1989</entry> 
 <entry key="b4e774ac-844b-4cf1-aec3-752e2f6f06ee_mngtId">116728095</entry> 
 <entry key="b4e774ac-844b-4cf1-aec3-752e2f6f06ee_name">cast_infy_test_2</entry> 
 <entry key="b4e774ac-844b-4cf1-aec3-752e2f6f06ee_syncId">8</entry> 
 <entry key="b4e774ac-844b-4cf1-aec3-752e2f6f06ee_type">delivery.Application</entry> 
 <entry key="b4e774ac-844b-4cf1-aec3-752e2f6f06ee_uuid">b4e774ac-844b-4cf1-aec3-752e2f6f06ee</entry> 
 </properties>

You need to un-register your application from the MNGT, you will have to empty the entry for your mngtId. In this case, we need to transform the line

<entry key="b4e774ac-844b-4cf1-aec3-752e2f6f06ee_mngtId">116728095</entry>
 into
 <entry key="b4e774ac-844b-4cf1-aec3-752e2f6f06ee_mngtId"></entry>

so that you can see the application in the wizard "Manage application".

Now you can open your MNGT and try to Manage the application.
Your application will be available as "Not Delivered", so you need to deliver it again before you can start with your Analysis and Snapshot.