Clicking search results, in the strict sense pdf files, using IE on an anonymous SharePint 2013SP1 site, I received the error: There was an error opening this document. The filename, directory name, or volume label syntax is incorrect.
I would like to solve this problem on the server side.
Starting position:
- SharePoint 2013 SP1
- Web Application:
- based on template 'Publishing Portal'
- Anonymous Access enabled
- Claims based authentication: Integrated Windows Authentication NTLM
- Client Integration disabled
- Site Collection:
- Anonymous Access enabled for 'Entire Web site' => group 'Anonymous Users' was created
- added permission to open items: $Web.AnonymousPermMask64 = "ViewListItems, ViewVersions, ViewFormPages, Open, ViewPages, UseClientIntegration, OpenItems"
Client side solutions:
c1) Open Link with “Open in new tab” or “Open in new window” => OK
c2) Disable IE Add-on “Adobe Acrobat Sharepoint OpenDocuments Component” => OK
c3) Set bDisableSharePointFeatures to 1 in regetit => OK
Server side solutions:
S1) Turn off Client Integration => didn't work, still same error
S2) Modify DOCICON.XML => didn't work, still same error
I gave these two options a chance:
first: <Mapping Key="pdf" Value="icpdf.png" OpenControl="SharePoint.OpenDocuments"/>
then: <Mapping Key="pdf" Value="icpdf.png" OpenControl="AdobeAcrobat.OpenDocuments"/>
I modified DOCICON.XML on both hives 14 and 15.
Remarks:
- After changingparameters I allways did an IISreset.
- As far as I understood I can only change bDisableSharePointFeatures on Client Side.
Any help, suggestion, idea wellcome!
Thanks!