Wednesday, August 20, 2014

Sharepoint trouble shooting - User can not new/edit custom infopath form

There is an error happened when user try to new/edit an list item. This list has been customized using InfoPath form.

So I checked the error log with ULS view and find the critical error below,

The form template failed to load. (.... , Form ID: urn:schemas-microsoft-com:office:infopath:list:-AutoGen-2014-08-20T01:01:56:238Z, Type: COMException, Exception Message: Retrieving the COM class factory for component with CLSID {52F5D46F-CBEA-4D07-BCB7-7296853F0CF2} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).)

This actually because the RichTextBox field is not registered or removed.

So after running the following command to re-register the class, it worked.
regsvr32 "C:\Program Files\Common Files\Microsoft Shared\OFFICE15\htmlchkr.dll"

No comments: