Symptoms
Observing numerous errors in logs after refreshing service instance based on a custom Service Type. After refresh all SmartObjects from this service instance become broken on the forms level, while everything was working before service instance refresh.
Sample error messages:
"Error","General","28083","ExtenderExecuteError","ProcessInstance.HandleException","28083 ServerEvent: Value cannot be null.
Parameter name: s
InnerException: Value cannot be null.
Parameter name: s"
"Error","IdentityService","64007","IdentityServiceError","IdentityService.ProviderCacheIdentity:RoleProvider.GetGroup","64007 Provider did not return a result for :System - Workflow Administrators on GetGroup","anonymous"
"Error","SmartObjects","10520","DatabaseError","SourceCode.SmartObjects.Runtime.SmartObjectManagementServer eRefreshServiceInstance(e520695cd-bc94-4baf-b740-a9a88b31e4f0])]","10520 SmartObject Runtime.Management Database Error: 'Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.'"
"Error","System","2025","InternalMarshalError","SourceCode.Hosting.Server.Runtime.HostServerBroker.InternalMarshal","2025 Error Marshalling SourceCode.SmartObjects.Runtime.SmartObjectManagementServer.RefreshServiceInstance, Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
InnerException: The wait operation timed out"
"Error","System","2025","InternalMarshalError","SourceCode.Hosting.Server.Services.TCPClientSocket.InternalMarshal","2025 Error Marshalling SourceCode.SmartObjects.Runtime.SmartObjectManagementServer.RefreshServiceInstance, Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."
"Error","Communication","8060","ProcessPacketError","SourceCode.Hosting.Server.Services.TCPClientSocket.ProcessMessage","8060 ProcessPacket Error, Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."
"Error","SmartObjects","10032","GetSmartObject","SourceCode.SmartObjects.Runtime mGetSmartObject]","10032 SmartObject Server exception source: Exception nValue cannot be null.
Parameter name: s]"
"Error","System","2025","InternalMarshalError","SourceCode.Hosting.Server.Runtime.HostServerBroker.InternalMarshal","2025 Error Marshalling SourceCode.SmartObjects.Runtime.SmartObjectClientServer.GetSmartObject, Value cannot be null.
Parameter name: s"
"Error","System","2025","InternalMarshalError","SourceCode.Hosting.Server.Services.ServerMarshalState.InternalMarshal","2025 Error Marshalling SourceCode.SmartObjects.Runtime.SmartObjectClientServer.GetSmartObject, Value cannot be null.
Parameter name: s"
"Error","Communication","8060","ProcessPacketError","SourceCode.Hosting.Server.Services.ServerMarshalState.ProcessMessage","8060 ProcessPacket Error, Value cannot be null.
Parameter name: s"
Attemp to delete affected service instance results in Execution Timeout error.
Diagnoses
N/A
Resolution
Resolution steps:
- We deleted instance Service Type and get rid of the Instance in SmartObject Tester
- We then had to go to the SmartBroker tables and delete this instance from there, taking note of the original GUID
- After that we recreated the Service Type verifying that the DLL for the custom broker was in the correct bin folder
- Then we created the service instance with the original GUID and it resolved this issue