Hello,
We have a console application trying to add more than 30,000 documents and folders in a sharepoint document library using .net(C#) Client side object model(CSOM).
It works well in case of single instance of console application. However while trying to run more than 10 instances of console app for different share point sites and document libraries, it started giving following error while adding file to SharePoint and skips adding the file to SharePoint document library.
Please note,
- The sharepoint servers have recommended RAM and CPU as per Microsoft recommendation
- Also have "HTTP Request Monitoring and Throttling" off for sharepoint web applications.
Did any one faced this issue? Any pointers to fix the issue? Any other sharepoint configuration, we can do to avoid this error?
Regards,
Indra
We have a console application trying to add more than 30,000 documents and folders in a sharepoint document library using .net(C#) Client side object model(CSOM).
It works well in case of single instance of console application. However while trying to run more than 10 instances of console app for different share point sites and document libraries, it started giving following error while adding file to SharePoint and skips adding the file to SharePoint document library.
"System.Net.WebException: The remote server returned an error: (429) Too Many Requests. at AddFile(Guid listId, String fullFilePath, Stream memoryStream, Dictionary`2 metadatas)
Please note,
- The sharepoint servers have recommended RAM and CPU as per Microsoft recommendation
- Also have "HTTP Request Monitoring and Throttling" off for sharepoint web applications.
Did any one faced this issue? Any pointers to fix the issue? Any other sharepoint configuration, we can do to avoid this error?
Regards,
Indra
Thanking You,