Timeout error in ASP.NET mvc
<p>I am facing a weird issue, I am running Quartz jobs to fetch data from 2 different URL, but getting timeout error on one, another is working just fine. The inner exception of error that I get says 'The operation has timed out'.</p>

<p>One more interesting thing is that I am not getting this error on my local system, on my local, both the jobs are fetching data correctly, but on server one fails.</p>

<p>I also spoke to the team of the website from which I am fetching data, they told me that their configuration for both urls are same, so there is no issue at their end.</p>

<p>I have made some changes in my webconfig file while trying to fix this issue by reading online, but no luck yet.</p>

<p>I have added this line in the appSettings tag in web.config</p>

<pre><code>&lt;add key="SqlCommandTimeOut" value="10000000" /&gt;
</code></pre>

<p>My connection string looks like:</p>

<pre><code>&lt;add name="xyzDBEntities" connectionString="metadata=res://*/xyzDB.csdl|res://*/xyzDBEntities.ssdl|res://*/xyzDBEntities.msl;provider=System.Data.SqlClient;provider connection string=&amp;quot;data source=SQL1234.xyzsite.com;initial catalog=xyzDB;User Id=xyzDB_admin;Password=xyzpassword;App=EntityFramework&amp;quot;" providerName="System.Data.EntityClient" /&gt;
</code></pre>

<p>It would be great if someone can help me in sorting this out. Please let me know if more details are needed. Thanks!</p>