c# - Deploy ASP.net MVC project to IIS and redirect to login.aspx -


i have asp.net mvc 4 project deployed iis. when tried browse web iis, redirect login.aspx (which believe have no such file on project, tried search login.aspx file on project , found none). got error message:

404 - file or directory not found. resource looking might have been removed, had name changed, or temporarily unavailable. 

i know there questions out there similar mine, none of solution provided work on mine. can please? thank you!

more info: btw, i'm using windows authentication. here code in web.config file:

<authentication mode="windows"/>     <identity impersonate="true"/>     <authorization>       <deny users="?"/>     </authorization> 

check out - http://adilmughal.com/blog/2013/02/asp-net-mvc-4-redirects-incorrect-login-url-login-aspx/

also, if using sts or single sign on, please make sure remove webmatrix.dll , webmatrix.data.dll project. fix this. check out @ here - https://meethrishi.wordpress.com/2015/03/29/sts-configuration-mvc-project-takes-you-to-unknow-login-aspx/


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

java.util.scanner - How to read and add only numbers to array from a text file -

iphone - Three second countdown in cocos2d -