4

I have an ASP.NET MVC2 Web application, working with SQL Server 2008 R2, managed by IIS 6.2. I have a functionality where one particular admin needs to upload about 5000 documents, which then get to be processed and stored in the server, while their names are saved in a database.

Problem is, on the client side, 10 minutes after the file upload begins, I get:

504 Gateway Time-out The server didn't respond in time.

I changed the httpRuntime.ExecutionTimeout in the web.config but it didn't solve the problem.

Does anyone know where is the value limiting me stored?

Here's my web.config file

EDIT: Also, after the Error 504 is received, the data storage in the database keeps going anyways.

9
  • Could it be that your DB connection time out? Can you log your error on server side with full stacktrace? Commented Dec 1, 2015 at 19:30
  • Gonna try to do the upload from the server, see what it returns and edit the question telling what happened. Commented Dec 1, 2015 at 19:44
  • Did you also set: maxRequestLength? And what value did you put in for executionTimeout? (It's in seconds I believe) Commented Dec 1, 2015 at 19:46
  • 1
    Also, you can try ask same question here with configs, could that's administatrive issue serverfault.com Commented Dec 1, 2015 at 19:46
  • @teovankot I'm currently unable to try this directly in the server but however managed to add a copy of the web.config. Commented Dec 1, 2015 at 20:58

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.