< class="prominent-subhead ">

K2 4.7 Retrieving the COM class factory for component with CLSID error on SharePoint

~~repeating-content.html~~
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.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

The error below will appear on SharePoint when loading K2 Smartforms integrated with K2 Artifacts.

Retrieving the COM class factory for component with CLSID {GUID} failed due to the following error 800703fa illegal opertation attempted on a register key that has been marked for deletion. (Exception from HRESULT: 0x800703FA)

Image

Symptoms

This will cause that no form or view can be submitted on Sharepoint.

The reason for this is due to an Interactive login session on SharePoint server by the service account: https://support.microsoft.com/en-us/kb/3114011

Resolution

Please use one of the following methods to resolve this issue:

Method 1
Do not log onto the Sharepoint server with interactive sessions, by using a service account.
 
Method 2
Disable the related Windows User Profile Service feature. To do this, please follow these steps:
 
- Open the Group Policy editor (Gpedit.msc) on the affected server.
- Open the UserProfiles folder in the following path:
 Computer Configuration > Administrative Templates > System > UserProfiles
- Locate the "Do not forcefully unload the user registry at user logoff" setting.
- Change the setting to Enabled.