ASP .NET application hangs with IIS 8 and Windows server 2012 R2

Jasser RAHALI 1 Reputation point
2022-06-09T09:04:10.157+00:00

Hello Microsoft Community ,

I have an issue that i can't identify it from where it's happening , so let me introduce the issue in bullet points format :

Am deploying a .NET Framework application , separated into frontend and backend part into iis in a windows 2012 server .

The frontend part is communicating with backend via API's ; ( the frontend part is built using eviromnement to refer the backend like http://myapp.domain.com/api ... ) , so everything was running smoothly

I tried to migrate to HTTPS for the endpoints ; so i made a new frontend build ( Angular ) that points to https://myapp.domain.com/api ... of course with making successefully an SSL certificate to establish communication .

The app is working smoothly , but suddenly , i see hangs , and exactly from from worker processes , and for the appropriate app pool for backend part , i see the accumlation of request and not connecting anymore , i can't get any response from the deployed backend any more , even seperately when using POSTMAN !

The app can get back working only if i restart the server , note that The CPU is not full , and memory also ; so threads of the app can find place to continue and have place to be executed.

Am using iis 8 and windows server 2012 R2 , and i would be so gratefull , if i get clear explanation about the root cause , contributing to the hangs and stopping backend.

Internet Information Services
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,682 questions
Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,527 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,351 Reputation points
    2022-06-10T08:58:13.543+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having issues related to ASP .NET application hangs .

    1. Please disable any Antivirus program or Windows firewall you may have for temporary purpose.
    2. Please check IIS Storage Pool and try to Increase its time out limits and resources.
    3. Please check event logs and your Applications debug logs for advanced troubleshooting.
    4. As you mentioned it was working earlier hence please try to Uninstall any Windows updates and reboot your Server.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments