Server Error in '/Customer' Application

Posted by Naga116 under ASP.NET MVC on 8/19/2015 | Points: 10 | Views : 1405 | Status : [Member] | Replies : 2
Hi team

I hosted a web application in IIS which is developed in MVC. While browsing the portal it is giving below error.

I increased connetionTimeout to 50000 from 5000 in appsetting.config file. I kept abortConnect=false also. Still it is giving below error.

Server Error in '/Customer' Application.

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond XXX.XX.XXX.XXX:XXX



Posted by: Sheonarayan on: 8/19/2015 [Administrator] HonoraryPlatinum | Points: 25

Ensure that your connectingString settings in web.config of your application is targeting to the correct server. This error generally occurs when you are trying to connect to a server that is not in the network of the server. May be you forgot to change the connectionString settings of your web.config to live database when you moved your file to the server.

If you have kept the connectionString in appSetting, change in the appSetting.


Sheo Narayan

Naga116, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naga116 on: 8/20/2015 [Member] Starter | Points: 25

There is no change at all in the connection strings. I compared my previous version of appSettings and webconfig files in TFS before error and current version. No change in the files.. Other team members able to browse from the IIS except me..


Naga116, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response