Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/batch-file/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sharepoint提供商托管的应用程序:文件上载大文件问题_Sharepoint_Office365_Sharepoint Online - Fatal编程技术网

Sharepoint提供商托管的应用程序:文件上载大文件问题

Sharepoint提供商托管的应用程序:文件上载大文件问题,sharepoint,office365,sharepoint-online,Sharepoint,Office365,Sharepoint Online,我对大于30MB的文件使用fileupload时遇到问题。 我通过Sharepoint Executor(REST)上传它们 通过上传大于30MB的文件,我在Internet Explorer的控制台中收到一条错误消息,说内存不足 我如何阻止此消息? web.config中的更改没有出现,因此我认为这是一个客户端问题。 我可以在Sharepoint中配置某些内容吗?因为它是提供商托管的,我不知道到底是什么问题 下面是我代码的一部分: var getFile = getFileBuffer(nex

我对大于30MB的文件使用fileupload时遇到问题。 我通过Sharepoint Executor(REST)上传它们

通过上传大于30MB的文件,我在Internet Explorer的控制台中收到一条错误消息,说内存不足

我如何阻止此消息? web.config中的更改没有出现,因此我认为这是一个客户端问题。 我可以在Sharepoint中配置某些内容吗?因为它是提供商托管的,我不知道到底是什么问题

下面是我代码的一部分:

var getFile = getFileBuffer(nextFileID);
        getFile.done(function (arrayBuffer) {

            // Add the file to the SharePoint folder.
            var executor = new SP.RequestExecutor(appweburl);
            var fileCollectionEndpoint = calculateEndpoint(nextFileID);


            var fileData = '';
            var byteArray = new Uint8Array(arrayBuffer);
            for (var i = 0; i < byteArray.byteLength; i++) {
                fileData += String.fromCharCode(byteArray[i]);
            }


            // Send the request.
            var x = executor.executeAsync({
                url: fileCollectionEndpoint,
                method: "POST",
                body: fileData,
                timeout: 3000000,
                binaryStringRequestBody: true,
                headers: { "accept": "application/json;odata=verbose" },
                success: function (data) {
                    var file = JSON.parse(data.body).d;...
var getFile=getFileBuffer(nextFileID);
getFile.done(函数(arrayBuffer){
//将文件添加到SharePoint文件夹。
var executor=new SP.RequestExecutor(appweburl);
var fileCollectionEndpoint=calculateEndpoint(nextFileID);
var fileData='';
var byteArray=新的UINT8阵列(arrayBuffer);
对于(变量i=0;i
提前谢谢

致以最良好的祝愿


AJ

您有权访问SharePoint管理中心吗?如果有,请检查web应用程序的最大上载大小: 管理中心>应用程序管理>管理Web应用程序>选择所需的Web应用程序,然后单击功能区上的常规设置


选中此选项。

此选项仅在Sharepoint OnPremise上存在。在SP Online中没有中央管理。。。