Dovetail SDK Web Service calls return a Could Not Load Assembly error (Article # 348)
View products that this article applies to.
Problem:
Trying to use Dovetail SDK Web Services on a machine where the Dovetail SDK installer has not been run will result in the following error when trying to invoke web service API calls.
Parser Error Message: Could not load the assembly 'FChoice.WebServices.Clarify, Version=2.3.13.8117, Culture=neutral, PublicKeyToken=48c955ba8dfd90d8'. Make sure that it is compiled before accessing the page.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="FChoice.WebServices.Clarify.Global, FChoice.WebServices.Clarify, Version=2.3.13.8117, Culture=neutral, PublicKeyToken=48c955ba8dfd90d8"%>
Note: The version number may change.
Resolution:
When Dovetail SDK is installed the SDK assemblies are registered in the Global Assembly Cache (GAC). The Dovetail WebServices web application by default looks in the GAC for the Dovetail SDK assemblies.
Please run the Dovetail SDK installer on the web server from which you wish to host the web services.
Resolution:
Alternatively because .Net applications will always look in a bin directory when an assembly is not found it is possible to copy the required Dovetail SDK assemblies locally to your web application.
If you have access to the Install directory of a installation of Dovetail SDK copy the "bin" directory from the Dovetail SDK directory into the Dovetail Web Services web application directory on your web server.
Applies To:
-
Dovetail SDK – Dovetail Software Development Kit for Clarify