BizTalk 2016 OperationalDataService Compiler Error
Feature Pack 1 comes with some nice features that provide functionality that Microsoft can release early without having to wait for the next version of BizTalk. Recently on one of our development servers, someone from our team installed Feature Pack 1 as well as all the prerequisite software required.
The BizTalkManagementService works as we can list all our BizTalk applications without any issues. When I tried calling the BizTalk OperationDataService, it started showing a compiler error:
Compiler Error Message: The compiler failed with error code -532462766.
To determine what the issue is, copy the text inside the yellow box and paste it into a command window:
The exception as can be seen above is:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Collections.Immutable, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
To resolve the issue, I copied the file over from another server that already had the above file and GAC'd it. Then re-ran the OperationalDataService. (You can also use NuGet to retrieve the file.)
And voila, it worked!