This is from the Element log of the AppearTV Connector
2023/12/27 12:21:35.194|SLManagedScripting.exe|ManagedInterop|ERR|-1|32|Exception during execution:
Cookie: 99
Content 1: VT_ARRAY|VT_VARIANT (7)
0 VT_I4 : 5100
1 VT_I4 : 191101
2 VT_I4 : 264
3 VT_BSTR : TEST DMG - copy
4 VT_BSTR : ...
Content 2: VT_EMPTY .
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Void QAction_1.PollManager.RequestHandler.RequestHandler.HandleSetRequest(Skyline.DataMiner.Scripting.SLProtocol, System.Guid, Skyline.DataMiner.Utils.AppearTV.X20.Api.Http.SLHttpRequest, QAction_1.PollManager.RequestType)'.
at QAction.Run(SLProtocol protocol)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at CManagedScript.Run(CManagedScript* , Int32 iDmaId, Int32 iEid, Int32 trigger, Int32 iCookie, IUnknown* pILog, IUnknown* pProtocol, tagVARIANT* varParameters, tagVARIANT* varRowInfo, tagVARIANT* pvarReturn)
InnerException:
System.MissingMethodException: Method not found: 'Void QAction_1.PollManager.RequestHandler.RequestHandler.HandleSetRequest(Skyline.DataMiner.Scripting.SLProtocol, System.Guid, Skyline.DataMiner.Utils.AppearTV.X20.Api.Http.SLHttpRequest, QAction_1.PollManager.RequestType)'.
at QAction.Run(SLProtocol protocol)
2023/12/27 12:21:35.195|SLProtocol - 12156 - TEST DMG - copy|8276|CQAction::RunWrapped|DBG|-1|Script 37 triggered by parameter 5100 from element 'TEST DMG - copy' threw an unhandled exception. Please check the element log-file.
2023/12/27 12:21:35.195|SLProtocol - 12156 - TEST DMG - copy|8276|CQAction::Run|ERR|-1|QAction [37] triggered by [pid=5100/idx=-1/pk=/user=] failed. (0x800402DA)
Input: new = <NULL>
Input: old = <NULL>
Input: extra = <NULL>
However the method exist in QAction_1 line 21595. Not exactly sure how to approach debugging this
Hi William,
This could be due to QA37 missing the reference to QA1. Could you try uploading the connecter through Dmprotocol to see if that fixes the referencing?
You can check if QA37 contains reference to QA1 and also try rebuilding the connector sln to see if there has been any change to the project references.