Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

ASP.NET Core Authentication problem on Windows Server 2008

$
0
0

After publishing an ASP.NET Core MVC app to a Windows Server 2008 host and trying to authenticate in I get a "This page can’t be found".

The guide I've used to set it up: https://docs.microsoft.com/en-us/aspnet/core/publishing/iis

On a local machine everything's perfect but on production server it just won't authenticate even though it's pointing to the same database.

Logging doesn't help much, all I get is:

No webpage was found for the web address: http://servername/TestApp/Account/Login?returnurl=%2FTestApp%2F

Log:

2017-08-07 09:24:37 10.202.17.20 POST /TestApp/Account/Login returnurl=%2FTestApp%2F 80 - 10.202.18.175 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/60.0.3112.90+Safari/537.36 http://servername/TestApp/Account/Login?ReturnUrl=%2FTestApp%2F 404 0 0 2234

I'm using AspNetCore 1.1.0 and AspNetCore.Identity.EntityFrameworkCore 1.1.0

I suspect something related to Identity is not working on live server but how can I diagnose it? Stdout is enabled in web.config but I'm not getting any error logs.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>