MVC 5 Owin Facebook Auth results in Null Reference Exception

后端 未结 11 1147
忘了有多久
忘了有多久 2020-12-01 11:52

I\'m trying to setup integrated OWIN Facebook authentication in a new MVC 5 project in Visual Studio 2013. I have configured apps and keys as per this tutorial:

http

11条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-01 12:45

    I had exactly the same problem by following the same tutorial. I solved it by doing the following two steps: 1> Visual Studio Menu->Tools->Library Package Manager->Manage NuGet Packages for Solution..., then install package: Microsoft.Owin.Host.SystemWeb 2> In the same window, click Update (left bar) and then update all the packages.

    Hope this answer will help other people who have the same problem.

提交回复
热议问题