Site redirect to "login?returnurl=%2F" in dnn
Last Post 09/05/2014 3:42 PM by Joseph Craig. 1 Replies.
Author Messages
Himanshu Jain
Posts:


--
08/19/2014 6:03 AM  
​I have configure DNN 7.1.1 site on internal server with window authentication and disabled anonymous access in IIS. Site requires only windows Authentication using Active Directory and if user provide correct credentials, then to display Site Home page. We don't want user registration and logged on site using Active Directory Authentication.

Site hosted on Window Server 2008 R2 Standard, IIS 7.5 running in Integrated mode, Two-Level Authentication with Forms Authentication and Windows Authentication. Problem is that when i browse site first time with correct window authentication it redirect user on login page ie. http://sitedev/login.aspx?ReturnUrl=%2f instead of http://sitedev, and when again hit the same url then it working fine. and if i click ctrl + F5 also it redirect to login page.

I goggled for it but didn't get any proper solution. Please help me out on this issue.

Thanks in advance
Himanshu Jain
Joseph Craig
DNN MVP
Posts:11667


--
09/05/2014 3:42 PM  
If this is redirecting to the login page, it is because the site is expecting you to login. Are you going to a page that requires you to be logged in?

(Note that it's possible that your configuration of IIS interferes with DNN's internal authentication/permission system. You might want to make the IIS setup more "standard" and see if the site works that way. Then, you can turn on your configuration options to try to identify where things begin to fail.)

Joe Craig, Patapsco Research Group
Complete DNN Support


---