Error appears when creating a service instance within K2 Management
kbt169347
PRODUCTIssue
The following error occurs when trying to create a service instance within K2 management:
Inconsistent SmartObject. Mapped Service Object property does not exist. SmartObject: [SmartObjects_Services_Management]. Service : [K2_Management]. Service Object : [SmartObjects_Services_Management_ManagementService_GetServiceAuthenticationInfo]. Version : []. Property : [OAuthResourceName]
It also appears when you are trying to edit an existing service instance, the same result can be seen here which stops you from creating any further service instances at all.
Note: if you choose to create any service instance via the SmartObject Tester tool, this works as expected.
Symptoms
The full error that can be seen is the following:
Inconsistent SmartObject. Mapped Service Object property does not exist. SmartObject: [SmartObjects_Services_Management]. Service : [K2_Management]. Service Object : [SmartObjects_Services_Management_ManagementService_GetServiceAuthenticationInfo]. Version : []. Property : [OAuthResourceName]
• Type:
System.Exception
• Source:
SourceCode.SmartObjects.ServiceBroker
• Stack Trace:
at SourceCode.SmartObjects.ServiceBroker.Broker.<>c__DisplayClass116_0.b__0(IReliableDbTransaction tran)
at SourceCode.Data.Dac.ExecuteInTransaction(AmbientTransactionOption option, Action`1 unitOfWork)
at SourceCode.SmartObjects.ServiceBroker.Broker.ExecuteSmartObject(BrokerPackage brokerpackage, Dac dac, Boolean createSmartobjectReturn, Boolean isSmartObjectJoin, DataTable bulkInputTable)
at SourceCode.SmartObjects.ServiceBroker.Broker.Execute(DacSettings dacSettings, Boolean isList, DataTable bulkInputTable)
at SourceCode.SmartObjects.Runtime.SmartObjectClientServer.ExecuteSmartObject(Byte[] brokerPackageAx, Broker broker, Boolean isList, DataTable bulkInsertTable)
at SourceCode.SmartObjects.Runtime.SmartObjectClientServer.<>c__DisplayClass14_0.b__0(IReliableDbTransaction tran)
Troubleshooting Steps
This error may appear if one of the K2 Management SmartObjects appears to be broken.
Direct database modification will be required to resolve this issue, please log a K2 support ticket via our customer portal: Portal.K2.com
Do not modify any database definition or database content unless specifically instructed to do so by K2. No changes to the K2 Database definition or content are supported unless specifically instructed by K2.