Hi,
I wanted to make the admin portal only accessible from the clients network.
I logged in as host - went to Host - Host Settings - Tab 'Advanced Settings'
Under: Membership Management I enabled 'Enable IP Address Checking'
Under: Login IP Filter: I added a new filter: to allow from 10.x.x.x (where x is the correct number from the computer I'm logged in)
I removed the * rule.
I saved all that. To be sure I tried to remove my new filter, which was not possible. (hence: When configuring IP addresses to filter, users cannot edit/delete an entry that would lock out their current IP address.)
When I logged out en logged back in, I got the message: You cannot login to the site from this IP address.
What am I doing wrong? Or is this a bug?
In my log file I have to following:
2016-09-07 14:00:01,323 [SERVERNAME][Thread:31][FATAL] DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication - DotNetNuke.Services.Exceptions.PageLoadException: An invalid IP address was specified. ---> System.FormatException: An invalid IP address was specified.
at System.Net.IPAddress.InternalParse(String ipString, Boolean tryParse)
at DotNetNuke.Common.Utils.NetworkUtils.FormatAsCidr(String startIP, String subnetMask)
at ASP.desktopmodules_admin_hostsettings_ipfilters_ascx.__DataBind__control15(Object sender, EventArgs e)
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.WebControls.DataGrid.CreateItem(Int32 itemIndex, Int32 dataSourceIndex, ListItemType itemType, Boolean dataBind, Object dataItem, DataGridColumn[] columns, TableRowCollection rows, PagedDataSource pagedDataSource)
at System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean useDataSource)
at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e)
at DotNetNuke.Modules.Admin.Host.IPFilters. (EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()