Exception of type 'System.OutOfMemoryException' error - InfoPath Dev
in

InfoPath Dev

Exception of type 'System.OutOfMemoryException' error

Last post 05-08-2011 01:01 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-08-2011 01:48 AM

    • Jolya
    • Not Ranked
    • Joined on 04-17-2011
    • Posts 8

    Exception of type 'System.OutOfMemoryException' error

    hi to all,

    i have a form with data connection to Sharepoint list with large number of items in the list. my form getting the items from the list in a repeating table. now when i have uploaded the form to sharepoint list as a template i got the following error when try to open the form

    Exception of type 'System.OutOfMemoryException' was thrown.

    any idea please....thanks

  • 05-08-2011 01:01 PM In reply to

    Re: Exception of type 'System.OutOfMemoryException' error

    You have hit the most common limitation in SharePoint - lists don't scale beyond ~5000 items.

    If you have <5000 items, you can use filtering to return a subset of the results and then use cascading dropdowns to subsequently query the list but the list's default view has to show everything and therein lies the performance issue as you go above several thousand items.

    The solution is to move your data into a SQL database and query that. If you have a SQL database on that server, it's easy to set this up with a Web service. Do not use direct pull from the database because it doesn't support parameterized queries. You need a Web service to filter data from SQL (note in ShP you can get around this using filterowssvr) so that you don't pull down the whole kit and caboodle. Qdabra provides a free trial of a Web service to do this or you can write your own.

    Best of luck with InfoPath!

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.