I have configured CMIS in a few SharePoint subsites.

When I access a particular site, CMIS Workbench throws an error:

Unexpected document received: HTML document

I have another subsite (in same site collection) which is working perfectly with CMIS Workbench.

enter image description here

Note: CMIS feature (Site Features) and Basic Authentication (Web Application) are Enabled.

  • Would you mind posting the CMIS HTTP request and response? You can get them with any network sniffer. Mar 28 '19 at 3:34
  • @Nic it a huge XML response from Post man.
    – mzonerz
    Mar 28 '19 at 5:04
  • Then just post the first 100KB or so of the response :-) Mar 28 '19 at 7:28

I found a workaround solution for this.

  1. Create another Document library in same site. Copy all the files from old document Library to a drive in your PC(Use IE and window explorer)
  2. you will get to know some file will be not copied due to damage or another reason skip those files.

  3. copy these file to new document library you created in step 1.

BINGO it worked.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.