httpruntime

ASP.Net httpruntime executionTimeout not working (and yes debug=false)

百般思念 提交于 2019-11-27 02:08:29
问题 We just recently noticed that executionTimeout has stopped working on our website. It was definitely working ~last year ... hard to say when it stopped. We are currently running on: Windows-2008x64 IIS7 32bit binaries Managed Pipeline Mode = classic Framework version = v2.0 Web.Config has <compilation defaultLanguage="vb" debug="false" batch="true"> <httpRuntime executionTimeout="90" /> Any hints on why we are seeing Timetaken all the way up to ~20 minutes. Would compilation options for

ASP.NET MVC and httpRuntime executionTimeout

末鹿安然 提交于 2019-11-27 00:08:39
问题 I would like to increase the httpRuntime executionTimeout for a subsection of an ASP.NET MVC application. In a regular Web App, you could use: <configuration> <location path="UploadPage.aspx"> <httpRuntime executionTimeout="600"/> </location> </configuration> However there really is not the idea of "Folders" in ASP.NET MVC, so how would I go about doing this? Lets assume the ASP.NET MVC path is /Images/Upload with an ImagesController and Upload Action. 回答1: You can include the whole MVC path

How to prevent an ASP.NET application restarting when the web.config is modified?

和自甴很熟 提交于 2019-11-26 03:38:08
问题 I\'m hosting the ASP.NET runtime via the ApplicationHost.CreateApplicationHost method. When I modify the web.config while the application is running, i see lots of first chance ThreadAbortException s thrown. This is right before my application comes crashing down. I\'m assuming this is because the runtime has detected changes to the configuration and wants to restart. This isn\'t really a supported scenario for us, so i\'d prefer if I could just switch off the automatic reloading. Does anyone