Hi, using DNN 4.3.7 and also 4.4.1 I sometimes get the folowing error:
An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: The specified path, file name, or both are too long.
...
One example I get this error is when I click "Install New Features" in host mode. I have set up a local develop environment in DNN 4.3.7 and upgraded this to 4.4.1. A fresh setup of 4.4.1 gives the same problems.
What is causing this error? What path is it talking about? Does this mean I can't install DNN under a longer local base path? I currently have this base path:
"C:\Documents and Settings\pieter\My Documents\Visual Studio 2005 Projects\2007\CS\01 - ene\PietSiegDNN437WebApp"
I'll replace the site in a direct folder under C:\ and report back about it.
The full error is shown below. TIA!
An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: 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.NormalizePathFast(String path, Boolean fullCheck) at System.IO.Path.GetFullPathInternal(String path) at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Web.InternalSecurityPermissions.PathDiscovery(String path) at System.Web.Caching.CacheDependency.Init(Boolean isPublic, String[] filenamesArg, String[] cachekeysArg, CacheDependency dependency, DateTime utcStart) at System.Web.Caching.CacheDependency..ctor(String[] filenames, String[] cachekeys, CacheDependency dependency) at DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider.Insert(String CacheKey, Object objObject, CacheDependency objDependency, DateTime AbsoluteExpiration, TimeSpan SlidingExpiration, Boolean PersistAppRestart) at DotNetNuke.Common.Utilities.DataCache.SetCache(String CacheKey, Object objObject, CacheDependency objDependency, DateTime AbsoluteExpiration, TimeSpan SlidingExpiration, Boolean PersistAppRestart) at DotNetNuke.Common.Utilities.DataCache.SetCache(String CacheKey, Object objObject, CacheDependency objDependency, DateTime AbsoluteExpiration, TimeSpan SlidingExpiration) at DotNetNuke.Services.Localization.Localization.LoadResource(Hashtable target, String language, String cacheKey, String ResourceFile, CustomizedLocale CheckCustomCulture, PortalSettings objPortalSettings) at DotNetNuke.Services.Localization.Localization.GetResource(String ResourceFileRoot, PortalSettings objPortalSettings, String strLanguage) at DotNetNuke.Services.Localization.Localization.GetString(String name, String ResourceFileRoot, PortalSettings objPortalSettings, String strLanguage, Boolean disableShowMissingKeys) at DotNetNuke.Services.Localization.Localization.GetString(String name, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.ProcessControl(Control c, ArrayList affectedControls, Boolean includeChildren, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.IterateControls(ControlCollection controls, ArrayList affectedControls, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.ProcessControl(Control c, ArrayList affectedControls, Boolean includeChildren, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.IterateControls(ControlCollection controls, ArrayList affectedControls, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.ProcessControl(Control c, ArrayList affectedControls, Boolean includeChildren, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.IterateControls(ControlCollection controls, ArrayList affectedControls, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.ProcessControl(Control c, ArrayList affectedControls, Boolean includeChildren, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.IterateControls(ControlCollection controls, ArrayList affectedControls, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.ProcessControl(Control c, ArrayList affectedControls, Boolean includeChildren, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.IterateControls(ControlCollection controls, ArrayList affectedControls, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.ProcessControl(Control c, ArrayList affectedControls, Boolean includeChildren, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.IterateControls(ControlCollection controls, ArrayList affectedControls, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.ProcessControl(Control c, ArrayList affectedControls, Boolean includeChildren, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.IterateControls(ControlCollection controls, ArrayList affectedControls, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.ProcessControl(Control c, ArrayList affectedControls, Boolean includeChildren, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.IterateControls(ControlCollection controls, ArrayList affectedControls, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.ProcessControl(Control c, ArrayList affectedControls, Boolean includeChildren, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.IterateControls(ControlCollection controls, ArrayList affectedControls, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.ProcessControl(Control c, ArrayList affectedControls, Boolean includeChildren, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.IterateControls(ControlCollection controls, ArrayList affectedControls, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.ProcessControl(Control c, ArrayList affectedControls, Boolean includeChildren, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.IterateControls(ControlCollection controls, ArrayList affectedControls, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.ProcessControl(Control c, ArrayList affectedControls, Boolean includeChildren, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.IterateControls(ControlCollection controls, ArrayList affectedControls, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.ProcessControl(Control c, ArrayList affectedControls, Boolean includeChildren, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.IterateControls(ControlCollection controls, ArrayList affectedControls, String ResourceFileRoot) at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---