Share via

Azure Web App is returning HTTP 500 error

Sajith Gopalakrishnan Hema 1,056 Reputation points
2021-07-29T07:24:11.67+00:00

HTTP Error 500.30 - ANCM In-Process Start Failure - The Project is Asp.net core 3.1

• Category: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer
• EventId: 2
• RequestId: 80003143-0000-e600-b63f-84710c7967bb
• RequestPath: /
• SpanId: 0adfa77900585d42
• TraceId: 1e2f3d6255feef40b0d3d3dce5982f55
• ParentId: 0000000000000000

• Connection ID "16573246630334050626", Request ID "80003143-0000-e600-b63f-84710c7967bb": An unhandled exception was thrown by the application.

• Exception:
• System.NullReferenceException: Object reference not set to an instance of an object.
• at ......Infrastructure.SmartSearchIndexRebuildMiddleware.InvokeAsync(HttpContext context) in .../SmartSearchIndexRebuildMiddleware.cs:line 79
• at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()

Developer technologies | .NET | Blazor
Developer technologies | .NET | .NET Runtime
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.


Answer accepted by question author

Ken Tucker 5,866 Reputation points
2021-07-29T09:41:13.277+00:00

The error is saying that on line 79 of your class SmartSearchIndexRebuildMiddleware you are getting an object refence error. Basically you are trying to use something that is null

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.