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)



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:


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.