Clicking on a K2 Forms link from Microsoft Office application results in a K2 Trust error

  • 16 February 2021
  • 0 replies
  • 5 views

Userlevel 5
Badge +20
 

Clicking on a K2 forms link from Microsoft Office application results in K2 Trust error

kbt155391

PRODUCT
K2 Five
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

When trying to open a K2 link such as a SmartForm from an O365 Office application such as Word, you receive an error page from trust.k2.com: 
"The requested resource does not support http method 'GET'."

Symptoms

Applications like Microsoft Word do not supply the session and cookie information that K2 needs to verify authentication. When hitting the hyperlink from Word, there is an initial GET HTTP call made when Microsoft's URLMON code attempts to load the site. It hits the Form URL and sees that it does not have the proper authentication information. The request is routed to trust.k2.com, but now we are just hitting trust.k2.com with the GET method which isn't a supported method. In order to get us to do the proper log in with a POST call the way that was expected, we need to disable the initial pre-load that MS Word will do with that GET action instead.

Resolution

To do this, modify the registry on your workstation following this Microsoft KB using the architecture combination that suits your situation: https://support.microsoft.com/en-us/kb/218153

1. Quit any programs that are running.
2. Click Start, and then click Run. Type regedit in the Open box, and then click OK.
3. In the Registry Editor, browse to one of the following subkeys. (Create the keys when they do not exist - this will vary based on your OS version and Office version, please see Microsoft KB:                     HKLMSOFTWAREWow6432NodeMicrosoftOffice9.0CommonInternet  )
4. Make sure the Internet subkey is selected. On the Edit menu, point to New, and then click DWORD Value. Add the following registry value: "Value Name: ForceShellExecute"
5. Double-click ForceShellExecute, and then set the Value data to 1. Click OK. 
6. On the Registry menu, click Exit.


0 replies

Be the first to reply!

Reply