Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumThe specified path, file name, or both are too long.The specified path, file name, or both are too long.
Previous
 
Next
New Post
7/5/2007 6:44 PM
 

Hi all, I'm a long time DotNetNuke user however this is my first time using the forum module, and so far, I've gotten off to a rocky start. I installed a fresh copy of 04.05.03 I am using SQL Server 2005. I have the site set up to use active directory authentication. All of that is working fine. I am using the version of the forums module that came with DNN 04.05.03 I guess it’s version 03.20.09. I installed the module on a blank page, and then I made four forums in one group. Then I set up the permissions and the user roles. The last thing I did is post a welcome message and "pinned it" I did that logged in with an active directory account. This went fine for a few days I had one or two co-workers login and read my post but no one else posted. Then this morning I get this error message:

 

AssemblyVersion: 04.05.03
PortalID: 0
PortalName: Barnes, Rover & Associates, Inc. Database Test Site.
UserID: 5
UserName: BRACore\NRover
ActiveTabID: 55
ActiveTabName: Dev Forum
RawURL: /database/DevInfo/DevForum/tabid/55/Default.aspx
AbsoluteURL: /Database/Default.aspx
AbsoluteURLReferrer: http://dev.websitemakers.com/database/Home/tabid/36/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: de28b0ed-202a-4929-9502-ecaa5338cea7
InnerException: 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.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.IO.Path.NormalizePathFast
StackTrace:
Message: 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 filename, DateTime start) at System.Web.Caching.CacheDependency..ctor(String filename) at DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider.Insert(String CacheKey, Object objObject, Boolean PersistAppRestart) at DotNetNuke.Common.Utilities.DataCache.SetCache(String CacheKey, Object objObject) at DotNetNuke.Modules.Forum.DNNForum.get_Menu() at DotNetNuke.Modules.Forum.Groups.CreateChildControls() at DotNetNuke.Modules.Forum.DNNForum.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.Modules.Forum.ForumBaseControl.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: SERVER1

 

So, here is what is have tried so far.

  1. reboot server… didn’t work(same error).
  2. delete asp.net temp files… didn’t work(same error).
  3. move module to a different page… didn’t work(same error).
  4. login as admin… didn’t work(same error).
  5. login as host… worked.
  6. Install fresh copy of module on new page then test with all three accounts… worked.

 

So, It works when I’m logged in as host, and a fresh copy works. This is so confusing here are the questions I have

  1. What happened to the forum?
  2. Why did it stop working so randomly in the middle of the night?
  3. How can I fix it?
  4. What can I do to prevent this from happening in the future?

 

I’ve read through a lot of this forum and did not find anything related to this topic. I have seen this error before but not in this context. The typical response is to move the directory in to a lower position on the hard drive, so before suggesting that fix, I will tell you now that my install of DNN is located at c:\DotNetNuke. Any advice, tips, or suggestions would be appreciated, Thanks,

 

Nathan Rover

 
New Post
9/30/2012 9:01 AM
 
Long Path Tool helped me in this situation. http://PathTooDeep.com
 
New Post
5/27/2014 6:42 AM
 
Long Path Tool is surely an ideal solution to such problem.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumThe specified path, file name, or both are too long.The specified path, file name, or both are too long.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out