Symptoms
When attempting to run the registration wizard on blackpearl 4.6.10 the following error occurred:
SmartObject Server Exception: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
The wizard stuck at the SharePoint Service Broker section and would not move past this portion.
Diagnoses
This is an issue noted with K2 for blackpearl 4.6.10 in which the SharePointClientComponentsx64.msi SharePoint component doesn't get installed during initial configuration.
Resolution
To fix this issue do the following:
1. Go to the K2 download pages located at the following link: https://portal.k2.com/downloads/bp/updates/46/Default.aspx
2. Locate the K2 for SharePoint 4.6.9 installers section. Download the 22 MB executable package.
3. Place the package on the K2 Server. Extract the file.
4. Install the SharePointClientComponentsx64.msi component.
5. Restart the K2 Server.
After running this the initial issue was fixed without issue. A secondary issue arose during the call in which the customer received the following error message:
VALIDATION The remote server retuned an error: (403) Forbidden. Failed to initialize the Context: URL: http://Domain/Environment Username: Error Details: Method SharePointService.initializeContext s-ms-diagnostics: 30000000 reason = SSL is required SPRequestGuid: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
This issue was resolved by running the following Powershell script on the customers SharePoint server:
$stsc = Get-SPSecurityTokenServiceConfig
$stsc.AllowMetadataOverHttp = $true
$stsc.AllowOAuthOverHttp= $true
$stsc.Update()
This allows the ability to use OAuth over http.
After these configurations were made the K2 Service was restarted. The registration wizard ran without issue.