Skip to main content


 

Symptoms


configuration wizard error
 

Diagnoses


When running the K2 App Registration Wizard, the following error occurs:

VALIDATIONThe remote server returned an error: (403) Forbidden.Failed to initialize the Context: URL: http://portal Username: Error Details: Method: SharePointService.initializeContext x-ms-diagnostics : 30000000 reason=SSL is required SPRequestGuid : 98562c9d-5b12-00c8-c591-3d5ddd08aa78

•Type: SourceCode.SmartObjects.Client.SmartObjectException
•Source: SourceCode.SmartObjects.Client
•Method Base
◦Member Type: Method
◦Name: ExecuteScalar
◦Module
◾️Scope Name: SourceCode.SmartObjects.Client.dll
◦Declaring Type
◾️Full Name: SourceCode.SmartObjects.Client.SmartObjectClientServer
•Stack Trace:
at SourceCode.SmartObjects.Client.SmartObjectClientServer.ExecuteScalar(SmartObject smartObject, DataTable inputTable)
at SourceCode.Forms.AppFramework.FormRuntime.SmartObjectExecution(XPathNavigator nav, Boolean outputDependencies, SmartObjectClientServer svr)
at SourceCode.Forms.AppFramework.FormRuntime.WorkXmlToApi(String xml)
at SourceCode.Forms.Runtime.AJAXCall.ProcessRequest(HttpContext context)
 

Resolution

Both Sharepoint and K2 sites will need to be configured for HTTPS/HTTPS or alternatively HTTP/HTTP? As per the "Software and Hardware Requirements > SSL Requirements" section in the documentation below:

http://help.k2.com/onlinehelp/K2ForSharePoint/ICG/4.6.10/default.htm

If a mix-matched protocols were used, you will either need to reconfigure Sharepoint or K2 to use a matching protocol (for K2, this can be done by configuring the bindings for desire protocol and then rerunning both the "K2 Blackpearl Setup Manager" and the "K2 Smartforms Setup Manager" and selecting the appropriate "Bindings" as per the "Software and Hardware Requirements > SSL Requirements" section.

If you wish to configure both for HTTP, please see the "Software and Hardware Requirements > SSL Requirements > Workaround for configuring a K2 for SharePoint On-Premises for non-SSL based connections" section in the documentation abvoe regarding the necessary Sharepoint powershells that needs to be run and the default environment library settings.

In native Sharepoint 2013 Apps integration, there is two "App Parts" that can be added to a page:

- K2 Worklist App Part
- K2 Form Viewer App Part

Please see the "Add the K2 App Parts to a SharePoint Site" section in the documentation below:

http://help.k2.com/onlinehelp/K2ForSharePoint/UserGuide/4.6.10/default.htm_Add/Add_Steps.htm?TocPath=_____5




 
Be the first to reply!

Reply