I've published an InfoPath form (Filler Form) on a SharePoint library. While opening an existing/ new form, it is getting opened in the Read Only Mode.
Cause and Solution:
There could be multiple reasons for this. I've came across two scenario.
- A new form/ existing forms are getting opened in Read Only. I looked at the procmon trace and found below trace,
12:25:09.9318393 AM TMBMSRV.exe 5688 CloseFile C:\Users\Test\AppData\Roaming\Microsoft\Office\Recent\Sharepoint - 2016-07-12 - Test.xml on sharepoint.Test.org.url SUCCESS
12:25:09.9320745 AM INFOPATH.EXE 12384 QueryAttributeTagFile C:\Users\Test\AppData\Roaming\Microsoft\Office\Recent\Sharepoint - 2016-07-12 - Test.xml on sharepoint.Test.org.url SUCCESS Attributes: ANCI, ReparseTag: 0x0
Which means TMBMSRV.exe (Trend Micro Antivirus), is accessing the XML before InfoPath. TMBMSRV.exe was a client side antivirus and removing this antivirus, fixed this issue.
- An existing form is getting opened in Read Only but new one works fine.
The issue was only on Windows 7 machine and we found Web Client has a limitation of 50 MB. This limit is by default and could be modified, if needed from “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\FileSizeLimitInBytes”.