In order to authenticate on my system I am using the [Authorize]
attribute I placed this code below in Web.Config in> that is related to non-authentication it redirects itself to my login page.
<customErrors defaultRedirect="GenericError.html" mode="RemoteOnly">
<error statusCode="401" redirect="Login/Login"/>
But it is not redirecting or generating error.