none
SPListItem.File.OpenBinary () does not work in one SharePoint Server RRS feed

  • 问题

  • We had a SharePoint Solution, one of its feature is to download the file when the client user uploads a file to document library.

    This solution is working for years supporting SP2010, 2013 and 2016.

    However, we found it doesn't work in one SP2016 server(installed with SQL server 2017. 

    There is an exception was thrown when it calls SPListItem.File.OpenBinary(). The error looks like “ Microsoft.SharePoint.SPException: Cannot open file "456.docx". ---> System.Runtime.InteropServices.COMException:< nativehr>0x81070211</nativehr><nativestack></nativestack>Cannot open file "456.docx".”

    Does anyone encounter the same issues?

    How to fix it?

     

     


    brouno

    2018年3月7日 14:54

全部回复