When first published on server the MVC has been Anonymous. then changed to windows Authentication caused
The resource cannot be found.
The url has been the standart need one but – /login.aspx?ReturnUrl=%2fEgged.Tnua.TimeTable%2fHome
The solution is :
adding the following lines to the AppSettings section of my web.config file in appSettings:
<add key="autoFormsAuthentication" value="false" /> <add key="enableSimpleMembership" value="false"/>
Weirdly enough – solved the problem!
Found it here