The request uses too many resources

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Oz.Ab
Posts: 39
Joined: Mon Oct 09, 2017

10 Oct 2017

Hi there.

I can't save my the changes I made to my display form. I get the following: "The request uses too many resources". What is the reason?

This form has:
-8 tabs
-No javascript
-42 fields
-6 related items

The error description is the following:
Microsoft.SharePoint.Client.ServerException: The request uses too many resources.
at Microsoft.SharePoint.Client.ClientRuntimeContext.SynchronousExecutor.Invoke()
at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
at jKsgPGHgl54MAQcIpo.TRlL0X9BqoXoOi2SpG.DWSQRHmeCA()
at jKsgPGHgl54MAQcIpo.TRlL0X9BqoXoOi2SpG.HRwQO6Uf9j(LimitedWebPartManager , String , PageType , XDocument )
at zRS6PvPeBxDdnYlL0G.u5RB73KBBvkEJlnOah.A6J1bY8IOd(Guid , PageType , XDocument )
at zRS6PvPeBxDdnYlL0G.u5RB73KBBvkEJlnOah.vJh1FbReIr(Guid , Forms , XDocument )
at Sn36D76DpJNtDWwahB.jAh6OLdF5VNOfBQM7o.<>c__DisplayClass27_0.<SetLayout>b__0(Object o, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRun(Object argument)
[/size]

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

10 Oct 2017

Hello, Oz.Ab!
There is a limit to how complex forms can be, so that SharePoint can handle them correctly. What most likely happens, is that it gets overloaded with this many elements. Since it is Display Form, fields shouldn't take too much time to load, but having 6 Related Items controls might be too much.

I would recommend you to export your form somewhere on your computer, so you don't lose it, and then try to remove Related Items one by one and see if at one point the problem doesn't appear anymore. If you remove Related Items and tabs, but the problem is still present, there is something else going on and we'll have to see, but for now, start by simplyfying the Form as much as possible.

In the future, if you'll want to display all Related Items controls, it might be better to split one big form into 2-3 smaller forms, using Form sets to redirect user from the main one.
Cheers

Oz.Ab
Posts: 39
Joined: Mon Oct 09, 2017

10 Oct 2017

Thanks for the quick reply Nikita.

I have already deleted everything in the form, but not able to save it. Also I the Edit Form has the same amount of tabs and related items but it gives no errors. :/

Oz.Ab
Posts: 39
Joined: Mon Oct 09, 2017

10 Oct 2017

I just imported the Display Form and hit save. It took about 60 seconds, but it successfully saved.

But if I delete a field or change text in the Display Form, then I cannot save it again.
If I undo my changes to the original, I cannot save. I always get the same error.

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

10 Oct 2017

That's strange. Are you using SharePoint Online or On-Premises? Can you send us your List Template and Exported Form, so we can test it? This email will work - support@spform.com
Cheers

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests