Symptoms
Custom application throws the error below:
Could not load file or assembly ‘file:///C:Program Files(x86)K2 blackpearlServiceBrokerSourceCode.SmartObjects.Services.Endpoints.AssemblyService.dll' or one of its dependencies. The system cannot find the file specified.
Diagnoses
Checked application if it is referencing the correct assembly. Install drive was shifted but it continues to point to the wrong path.
Resolution
Using the BrokerManagement.exe tool, the assembly path was updated to point to the correct directory:
1. Navigate to eInstall Drive]K2 blackpearlServiceBroker
2. Open BrokerManagement.exe
3. Click on Configure Services then expand the services
4. Look for servicetype name="EndpointsAssembly"
5. Check the assembly path. Update as necessary
6. Restart the K2 service