Web Designer UI throwing connection timed out error but working fine while debugging

Hi,

We have a use case where user can request application access from UI having components created in Web Designer.

In Web Designer at a particular step ADSAccount collection is loaded which take 1-2 minutes time to load while debugging and then it resumes. But this same scenario is throwing connection timed out error after 6-7 minutes of loading in UI(Chrome, IE). The query used for loading collection takes only 1-2 seconds of execution time in SQL Server.

This issue is observed for users having large number of AD Accounts (usually more than 300 AD Accounts).

What is causing this issue and what can be done here?

Version - 8.0

Parents Reply Children
  • Hi Geraldine,

    This issue if identified on the basis of debugging. And yes I tried optimizing the query by adding some filters in where clause of the SQL query, and now I can see the performance is improved.

    But still I am unsure what was causing it to take so much of time earlier, as the non optimized query was not taking longer than 2 seconds when I ran it directly on the SQL Server database.

    Thanks,

  • Hi poripi,

    it takes longer because in direct SQL you make in the context of sa and not in the context of the user with her permissions. If you add the permission where clause to your sql you can compare the execution times.

    HTH,

    Geraldine