OWIN middleware not working after upgrading app to Windows Server 2016

talal shoaib 1 Reputation point
2021-03-11T21:12:37.023+00:00

Hi, We have written a custom (public) Shopify app to be deployed to the Shopify stores by the store owners. The app is using Microsoft.Owin.Security Nuget package version 3.0.1. The app was working on Windows Server 2008 and Windows 10. But its raising the NullReferenceException as shown in the attached screenshot. The app was written in 2015 and is using Owin for external login. We almost followed the below article when creating the app: https://learn.microsoft.com/en-us/aspnet/mvc/overview/security/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on Do we need to configure the extra steps to configure OWIN in Windows server 2016? ![76814-error.png][1] [1]: /api/attachments/76814-error.png?platform=QnA

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,240 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,117 questions
0 comments No comments
{count} votes