Error appears when creating a service instance within K2 Management

  • 15 February 2022
  • 0 replies
  • 233 views

Userlevel 5
Badge +20
 

Error appears when creating a service instance within K2 Management

kbt169347

PRODUCT
K2 Five 5.2
BASED ON
K2 Five 5.2
TAGS
Management Console
SmartForms Tester
SQL
Management Site
Contact Support KB
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

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. 


0 replies

Be the first to reply!

Reply