System Nullreferenceexception While Initializing Microsoft Applicationinsights Aspnetcore

System Nullreferenceexception While Initializing Microsoft Applicationinsights Aspnetcore