EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB232816: Unable to delete database instance after removing it from projects using MicroStrategy Command Manager 9.4.1


Stefan Zepeda

Salesforce Solutions Architect • Strategy


MicroStrategy Command Manager allows the removal of database instances from projects which still have dependents to the database instance.  This leads to issues and inconsistent behavior once the database instance has been removed.

SUMMARY
Strategy Command Manager allows the removal of database instances from projects which still have dependents to the database instance.  This leads to issues and inconsistent behavior once the database instance has been removed.
 
SYMPTOM
After removing a database instance from a project using the Strategy Command Manager script: REMOVE DBINSTANCE "<database_instance_name>" FROM PROJECT "<project_name>"; users notice that deleting the database instance fails with the error

ka02R000000kboAQAQ_0EM440000002C8R.jpeg


"DB Instance object 'XXX' (ID: XXX) cannot be deleted because catalog object 'Catalog - XXX' (ID: XXX) in project 'XXX' (ID: XXX) depends on it."

 
CAUSE
This is a known issue in Strategy Command Manager 9.4.1 in that Command Manager is allowing the removal of database instances from projects, even though they have dependents existing in the project.  Trying to remove the same database instance from within Strategy Developer -> Project Configuration would not be allowed due to the dependents existing.
 
NOTE:  In this instance, the dependent objects were freeform sql reports which referenced the database instance
 
ACTION
Please contact Strategy Technical Support for an update on this issue.
 
WORKAROUND
Avoid removing database instances from projects using Strategy Command Manager, especially if freeform SQL reports are used within the project.
 
If this issue has been encountered the following steps can be used to alleviate the issue:
 

  1. Add the database instance back to the project by selecting it within Project Configuration, or by running the script: ADD DBINSTANCE "<database_instance_name>" IN PROJECT "<project_name>";
  2. Within Developer, follow KB35338 to search for freeform SQL reports existing within the project.
  3. Edit the freeform SQL reports and modify the database instance used so it is not pointing to the database instance being removed. Do this for all freeform sql reports it is being used in.
  4. Once it has been removed from all reports, the database instance will be able to be successfully removed and deleted if desired.

 
 
 
This issue is being tracked by internal reference number 1014762


Comment

0 comments

Details

Knowledge Article

Published:

June 8, 2017

Last Updated:

June 8, 2017