Flex - Script timeouts (Error #1502) and WebService component
Hello StackOverflow community,
I am getting a script timeout (err开发者_如何学编程or #1502) when I am calling a SharePoint Web Service (CopyIntoItems) when trying to upload large files (greater than 40 MB).
The error does not occur when using the Web Service for smaller files. The large files can be uploaded directly to SharePoint using the web interface therefore it is not a back-end SharePoint issue.
I believe the issue has to do with the logic in the WebService Flex component, however I am not sure how to optimize it and I cannot break down the file into smaller chunks as it needs to be together in order to upload with the SharePoint field information.
Anyone have any ideas on how I can resolve this issue?
Thanks, Mauricio
Easiest idea - increase timeout for Flex? Does not solve problem itself, of course. See compiler options (max-execution-time).
精彩评论