ASP.NET Core Web Application on IIS

Darren Brown 1 Reputation point
2022-01-25T14:03:44.303+00:00

I am new to setting up servers as I'm a developer.
We have recently deployed a .net core 3.1 web application to a 2019 windows server running IIS. It was been left to me to sort this out as there is no one else.
I followed all the setup I could find, the process is running OutOfProcess. There web application works fine for a while then stops, a restart of the website seems to solve the issue.

Now the IIS site is https only.

Can anyone help me as to why this might be happening.
I was thinking it might be something to do with the kestrel server but not sure.

Thanks
Darren

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,364 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,137 questions
{count} votes

6 answers

Sort by: Most helpful
  1. Darren Brown 1 Reputation point
    2022-01-25T14:14:43.657+00:00

    i didn't write the code, but the same code has been running on a 2012 server without an issue. Nothing I can see in logs


  2. Darren Brown 1 Reputation point
    2022-01-25T14:45:02.517+00:00

    WE are getting a 503 from the website. This is a production server for which we can do very little modifying.
    I've looked in the log created by kestrel, I've looked in the IIS logs and the application logging.

    I'm not really sure I know what I'm doing, the last time I did IIS management it was IIS 5 , I'm not convinced we have a performance monitor installed on the server and would have to go through a change control process to install. As to logging, as far as I know it does but I didn't write the application and have struggled to find time to look at the code as this is not my normal job

    0 comments No comments

  3. AgaveJoe 27,581 Reputation points
    2022-01-25T15:12:58.203+00:00

    I'm not convinced we have a performance monitor installed on the server.

    You have not logged in to the server and looked? In my experience every default server installation has performance monitor installed. Certainly task monitor is installed.

    As to logging, as far as I know it does but I didn't write the application and have struggled to find time to look at the code as this is not my normal job

    Logging in .NET Core and ASP.NET Core

    Your responses indicate your heart is not committed to troubleshooting this issue. Perhaps someone else on your team is can help?

    0 comments No comments

  4. Darren Brown 1 Reputation point
    2022-01-25T15:26:28.967+00:00

    you are correct but we don't really have a team, i did ask someone and they came back with

    Task manager shows that mainly CPU usage is < 1% for .NET Core Host and about 0% fro IIS Worker Process

    The problem is we don't really have anyone who knows about this.


  5. Darren Brown 1 Reputation point
    2022-01-26T06:32:25.64+00:00

    Thanks for this, I found some more logs that the developer had added.
    Seems like an out of memory error and the class that seems to be referenced is the error logging class.