Search code examples
asp.net-mvcweb-servicesazure-sql-databaseninject.web.mvcninject-interception

Web API sometime working some time failed in Windows Azure "NetworkError": 500 Internal Server Error


We Have Deployed our first application on Windows azure with Windows SQL Azure Database. In my application we facing sometime to execute Web services to complete implementation.

We Configured all required setting and web site working properly but some time User Registration failed sometime not with same valid input. Please help me I am in new in Windows Azure. See Error and Success

This working on staging server properly.


Solution

  • After long effort I analyse that: My application was hosted in West US Region in Azure Cloud and database was in Central US region that's why system take too much time to load data. After change database region to West US means Application and database on same region. Now execution speed become fast and no 500 error.

    • Issue might be connection time out