Search code examples
.nettiers

How to set CommandTimeout or ConnectionTimeout in NetTiers ?


Does anyone know how to set the ConnectionTimeout and/or CommandTimeout in NetTiers as I have a long running query that is timing out. I expect the query to be long running, its not a performance problem as such, I just need to know if anyone knows how to set this value.


Solution

  • You need to add it to the Web.config for the generated site. Its the defaultCommandTimeout provider in the Provider setting.