当前位置: 动力学知识库 > 问答 > 编程问答 >

sql - Exception calling "ExecuteQuery" with "0" argument(s): "The underlying connection was closed: An unexpected error occurred on a send."

问题描述:

I am getting following error message while sending a file to sharepoint 365 using below powershell script. i am able to send small files which less than 1 Mb using this script, but while sending files more than 30 MB in size files getting this error.

How to resolve this error

Exception calling "ExecuteQuery" with "0" argument(s): "The underlying

connection was closed: An unexpected error occurred on a send." At

line:39 char:5

+ $Context.ExecuteQuery()

+ ~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException

+ FullyQualifiedErrorId : WebException

------------------------script--------------------------------------------

分享给朋友:
您可能感兴趣的文章:
随机阅读: