Menu

An invalid character was found in text content

Reading 0:00
15s threshold

Is anyone else on Azure App Service (Windows) getting things like

Message

Hosting failed to start

Exception

System.Runtime.InteropServices.COMException (0x80004005): An invalid character was found in text content.

at Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)

at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)

at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__14_1(IHostedService service, CancellationToken token)

at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)

when it boots you to a new host?

And everything goes sideways for a few minutes but recovers.

I use Local Cache and Application Initialization and it worked fine for years.

The stack trace seems like a low level infrastructure problem…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.