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.
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'."
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.
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: HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\9.0\Common\Internet\ )
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.