Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7893711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T07:12:11+00:00 2026-06-03T07:12:11+00:00

I have a complex action which can take a long time to run. If

  • 0

I have a complex action which can take a long time to run.

If it is run against a small subset of data it works perfectly and the required page is produced.

If I work with a large amount of data and the processing time goes above a few minutes the page still appears to be being requested on the client machine but we know (via a stack trace) that I’m right up to “return View(model);”.

Any ideas why this might be happening? I am at a complete loss. I’ve triead extending every timeout to several hours (including any available for the app pool).

This cannot be a browser issue as it has been tried on several different windows pcs in Chrome, IE, Safari and Firefox.

EDIT

This happens in more than one place in the application where entirely different things are happening. But all the code is executed for both.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T07:12:12+00:00Added an answer on June 3, 2026 at 7:12 am

    Before you call View(model) does your model actually have all of the expected data?

    If you call ToList() on any IQuerable or IEnumerable properties, does it return the expected data?

    You’ll have to post a bit more code to go any further.


    Edit:

    Still not enough information to go on, but here are a few more debugging tips.

    Your path is browser -> web server -> database

    If you’re certain that before you call View(model) that all of the data has been materialized in the model object, then you can assume that the problem is not in the webserver -> database connection.

    So if the problem is between browser -> web server, here are a couple more possibilities:

    • you mention a big enterprise system: are there any proxies involved? Can you test with a direct connection?

    • is there anything being returned to the browser at all? Can you telnet to port 80 of the web server and issue the request? Do you get anything back?

    • if you monitor the browser process, is it doing anything? Using procexp, you can see what each thread is doing – is the browser idle, or is it using CPU & gobbling up memory?

    • are there any other processes that might be intercepting the request? Some anti-virus products may prevent certain pages from rendering. Can you disable the anti-virus and see if anything changes?

    • have you tried monitoring the server to see what is going on? Is processing happening (and presumably memory usage also goes up)?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a multithreaded C++ application which holds a complex data structure in memory
I am using WCF and REST, and I have complex types, which are working
I have a complex nested-query which is inside a join, is it possible to
I have a complex WPF UserControl made of other ContentControl templates which contain sets
I have a fairly complex object which has some C# code written to render
I have a windows application which has a complex GUI that I would like
I have a pretty complex JSF page (we use JSF2 with facelet) in which
I have a reasonably complex XML document which I want to flatten down to
I have a IsAuthenticated method which has a complex argument type (I copied it
I have a complex form It allows the user to create an IncomeDeclaration which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.