Problem:
Following error messages are displayed when LDP (Lead Discovery Premium) Biomolecular viewer is added to analysis. The same occurs when LDP table contains column that has the renderer type URL Image.
error
Method not found: 'RestSharp.RestResponse RestSharp.RestClient.Execute(RestSharp.RestRequest, System.Threading.CancellationToken)'.
at PublisherCore.RestRequestHandler.HandleRestRequest(PublisherModel model, Request request, JObject& dataJson)
at PublisherCore.RestRequestHandler.HandleRequest(Boolean isStatic, PublisherModel model, String requestStr)
at PublisherCore.RequestHandlerCollection.HandleRequest(Boolean isStatic, PublisherModel model, String endpoint, String request)
Publisher read promise error
Endpoint restrequest failed with error:
System.MissingMethodException: Method not found: 'RestSharp.RestResponse RestSharp.RestClient.Execute(RestSharp.RestRequest, System.Threading.CancellationToken)'.
at PublisherCore.RestRequestHandler.HandleRestRequest(PublisherModel model, Request request, JObject& dataJson)
at PublisherCore.RestRequestHandler.HandleRequest(Boolean isStatic, PublisherModel model, String requestStr)
at PublisherCore.RequestHandlerCollection.HandleRequest(Boolean isStatic, PublisherModel model, String endpoint, String request)
Resolution:
The error is caused by a conflict in RestShart library version between LDP 3.3 and SVV 3.3. Issue occurs only when LDP and SVV is deployed in the same deployment area.
To resolve the conflict in Spotfire Analyst, open the Modules\Lead Discovery ChemCharts_4.2.0.14\module.xml file in a text editor and change the following line from :
<assembly>
<fullname>RestSharp, Version=108.0.3.0, Culture=neutral, PublicKeyToken=598062e77f915f75</fullname>
<codebase>RestSharp.dll</codebase>
<compatibility>
<min-version>108.0.3.0</min-version>
<max-version>108.0.3.0</max-version> <--change this line
</compatibility>
</assembly>
to
<assembly>
<fullname>RestSharp, Version=108.0.3.0, Culture=neutral, PublicKeyToken=598062e77f915f75</fullname>
<codebase>RestSharp.dll</codebase>
<compatibility>
<min-version>108.0.3.0</min-version>
<max-version>108.0.*.*</max-version>
</compatibility>
</assembly>
and save the file. The Biomolecule viewer should work the next time you start Spotfire.
For Web Player, the above workaround will not help. Please consider the following resolution.
A) If the current deployment area contains packages for both LDP and SVV, split the deployment area to seperate these conflicting packages.
B) The issue will be addressed in the next release of LDP. Wait for this release and then update LDP in the deployment area as well as the Web Player service.