Latest version of DNN. I initially tried to just set up a portal alias but it didn't seem to respond to the URL ... it just kept defaulting to the first URL. After that I tried to set up a separate Portal with the new URL but it still defaulted to the 0 portal URL.
Now when I tried to delete the new portal I get this error.
Error: Portals is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. ---> System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. at System.IO.Path.SafeSetStackPointerValue(Char* buffer, Int32 index, Char value) at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) at System.IO.Path.NormalizePath(String path, Boolean fullCheck) at System.IO.Path.GetDirectoryName(String path) at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption) at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption) at DotNetNuke.Common.Globals.DeleteFilesRecursive(String strRoot, String filter) at DotNetNuke.Common.Globals.DeleteFilesRecursive(String strRoot, String filter) at DotNetNuke.Common.Globals.DeleteFilesRecursive(String strRoot, String filter) at DotNetNuke.Common.Globals.DeleteFilesRecursive(String strRoot, String filter) at DotNetNuke.Common.Globals.DeleteFilesRecursive(String strRoot, String filter) at DotNetNuke.Common.Globals.DeleteFilesRecursive(String strRoot, String filter) at DotNetNuke.Common.Globals.DeleteFilesRecursive(String strRoot, String filter) at DotNetNuke.Entities.Portals.PortalController.DeletePortal(PortalInfo portal, String serverPath) at DotNetNuke.Modules.Admin.Portals.Portals.grdPortals_DeleteCommand(Object source, DataGridCommandEventArgs e) --- End of inner exception stack trace ---