Error while calling $core_v2_forumThread.update()

Error while calling $core_v2_forumThread.update()

This question is not answered

Hi,

When I am trying to update a forum thread when widget loads as:

$core_v2_forumThread.Update($forum.Id, $thread.Id, "%{ _ExtendedAttributes_PageIndexQueryStringKey = '$core_v2_ui.PageIndexQueryStringKey'}")

I am getting following error:

Invocation of method ‘Update’ in Telligent.Evolution.VelocityExtensions.ForumThreadsScriptedContentFragments threw exception System.IO.FileLoadException : Could not load file or assembly ‘CookComputing.XmlRpcV2, Version=2.1.0.3, Culture=neutral, PublicKeyToken=a7d6e17aa302004d’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)    

Can anybody please suggest what can be the possible reason for this error?

All Replies
  • I'm not sure offhand about that particular error, as that seems to indicate perhaps a different version of the XmlRpcV2 dll has somehow made its way into the /bin directory.

    However, I am more curious about the initial call to forumThread.Update().  The PageIndexQueryStringKey is not a property of a thread (either directly or as an extended attribute), and cannot be updated.  Additionally, while updating is supported through the Widget API, it is typically performed via ajax against the REST endpoints.  

    Can you share you what you are trying to do?

    Thanks

  • Hello Michael,

    PageIndexQueryStringKey is an extended variable that I have added under forum thread and I need to update its value with widgets Page Index  retrieved using Key  $core_v2_ui.PageIndexQueryStringKey property.

    Thanks.

  • Thank you.  Can you identify what version of CookComputing.XmlRpcV2.dll is currently deployed in the Web/bin/ directory by navigating to its 'Details' property pane?  It should be 2.1.0.3.

  • Hello Michael,

    For CookComputing.XmlRpcV2.dll  'Details' property pane shows File version as well as product version as 2.5.0.0

  • Thanks.  That would be the cause then.  Evolution 6.0 ships with version 2.1.0.3 of XmlRpcV2.dll, and it's a strong-named assembly, so the same original version is required.  Are you aware of any addons that may have been installed in this community that could have added in the newer version?  

    While it would be possible to re-copy the original version from the install package, I'd recommend first determining how the newer version got in there.

  • Hi  Michael,

    Thanks for the suggestion. I will check how new version of “CookComputing.XmlRpcV2.dll” has been updated on server.

    We are using Telligent Community Server version 6.1.0.23780. So should there same version of XmlRpcV2.dll (i.e. 2.1.0.3) needs to be deployed on server?

  • Just out of curiosity, can you update any object's Extended Attribute key/values like this??