I dont Know This Make sense Or Not But Yeah Its True I'm Stuck and spent over 4 hours To resolve This issue but i surrender Now .
I made login page Evry thing is working fine But on web.config file when i put <autherization> <deny users="?"/></autherization> This Tag tottaly destroy my login page Layout . I tried differnet page as login page in Form authentication but every loginurl=""
page is reformatted by <deny users="?"/> attribute .
2nd problem Is if I put Absolute Url path loginUrl="http://localhost/*/.aspx" To LoginUlr property and default page property. Then I'm denied to access any page Including login page . i have to use relative loginUrl="~/abc.aspx"
Web.config file
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http: ...
Go to the complete details ...