Unable to delete SmartObject

  • 29 September 2016
  • 0 replies
  • 6 views

Userlevel 5
Badge +18


 

Symptoms


Unable to delete a SQL SmartObject, it throws error:

SmartObject Definition could not be deleted. Dependants found.

Type: SourceCode.SmartObjects.Management.DependancyException
Source: SourceCode.SmartObjects.Management
Method Base
Member Type: Method
Name: ThrowDependancyException
Module
Scope Name: SourceCode.SmartObjects.Management.dll
Declaring Type
Full Name: SourceCode.SmartObjects.Management.SmartObjectManagementServer
Stack Trace:
at SourceCode.SmartObjects.Management.SmartObjectManagementServer.ThrowDependancyException(String returnString)

at SourceCode.SmartObjects.Management.SmartObjectManagementServer.DeleteSmartObject(Guid guid, Boolean ignoreDependancyException)

at SourceCode.Forms.AppStudio.AJAXCall.DeleteSmartObjects(List`1 guids)

at SourceCode.Forms.AppStudio.AJAXCall.ProcessRequest(HttpContext context)
 

Diagnoses


This issue is currently a bug and can occur if the 'SQL Service Instance' that this SmartObject was originally created from was deleted.
 

Resolution

If needed, please log a K2 Support ticket for assistance in removal of this SmartObject. To prevent this issue, please delete the SmartObject before deleting the SQL Service Instance.




 

0 replies

Be the first to reply!

Reply