Owin Middleware results in 404 on server

前端 未结 1 825
旧巷少年郎
旧巷少年郎 2021-01-06 04:30

I have a owin middle ware it works on my IIS7 on my dev machine (win7). But when deployed to a 2008 server the page returns 404

I hook up the middleware like this

1条回答
  •  一整个雨季
    2021-01-06 04:54

    A few common reasons for a OWIN middleware not working as expected in IIS integrated pipeline.

    1. Check if you have Microsoft.Owin.Host.SystemWeb nuget package installed in your project and its in the bin folder of your app.
    2. Is your app pool a v4.0 Integrated mode one (most probably this one?)

    This article can be of help. Also this question I believe is similar to yours.

    0 讨论(0)
提交回复
热议问题