A planning application, when it goes corrupt/missing, can cause a lot of angst. This is one of those
occasions where one can truly appreciate the beauty of the epmregistry utility.
We can invoke this utility from this location
MIDDLEWARE_HOME\user_projects\instance_name\bin directory
MIDDLEWARE_HOME\user_projects\instance_name\bin directory
In order to first begin , generate a registry report the
output can be viewed in the diagnostics/reports directory.
Firstly proceed to delete the instance :
Delete Instance File
epmsys_registry removefile PLANNING_PRODUCT/@APPLICATIONNAME.instance
epmsys_registry removefile PLANNING_PRODUCT/@APPLICATIONNAME.instance
Now, get to the planning application:
Delete
PLANNING application
epmsys_registry deletecomponent #APPLICATIONNAME.HP
epmsys_registry deletecomponent #APPLICATIONNAME.HP
Post
this , it should be a relatively straight forward approach of recreating the
planning application .The best part about using this method is that you are
able to give the application the same name post corruption. Not sure if that
would have been possible in earlier releases.