由于异常“无法打开文件”而无法下载文件 [英] Not able to download a file due to exception "Impossible to open the file"

查看:67
本文介绍了由于异常“无法打开文件”而无法下载文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用SharePoint CSOM,当我尝试使用OpenBinaryStream()下载数据时。我收到ServerException以下:

With SharePoint CSOM, when I am trying to download a data using OpenBinaryStream(). I am getting below ServerException:

无法打开文件" ;< fileName>"。

我需要问一下,在哪种情况下,服务器会返回此异常。 

I need to ask that in which case, server return this exception. 

此致,

Palak Jain

Palak Jain

推荐答案

您好

我从未见过此错误消息来自SharePoint。

I have never seen this error message from SharePoint.

请确保它不会从您的代码中弹出,因为该消息不太合适。

Please make sure it doesn't pop from your code, since the message is not very appropriate.


这篇关于由于异常“无法打开文件”而无法下载文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆