[Mono-aspnet-list] How to backup PostgreSql database from browser in MVC2 application on Mono in Linux

Andrus kobruleht2 at hot.ee
Sat Mar 24 07:16:29 UTC 2012


>You are getting a timeout because backing up the DB takes longer than
>the default 100s (or is it 120?). You can either increase the
>ScriptTimeout property or run this asychronously and report the
>status/result in a different way.

web.config contains

<compilation debug="true">

from

http://msdn.microsoft.com/en-us/library/we0yhay6(v=vs.110).aspx

If you set the debug attribute of the compilation element to true in the 
Web.config file, the value of ScriptTimeout will be ignored.

So it looks like this cannot used.

Using

<system.web>
    <httpRuntime executionTimeout="86400" />

seems to work but how to set this timeout for backup controller only, not 
for whole application ?

A. 



More information about the Mono-aspnet-list mailing list