DNN Hosting Register Login
 
Latest Discussions Minimize
Comments by userID by daviking
Thank you for a great product! I am really enjoying working with the new UMG5 ga...
users add albums by OKCChopper
I want my users to be able to add there own albums but not delete others.. can t...
UVG Videos to play in Smart Phones by Ibbs
HiIs it possible for UVG videos to be played on Smart phones. e.g black berry or...
Copy to another page by OKCChopper
I want to copy the module to another page and also have access to the same album...
How to add a link to view all videos? by anthonyar
Sorry this is a newbie question...i want to add a link to the menu to VIEW ALL t...
Personal vs Profile mode by coolvibe
I carefully read the description for both modes. but, I'm not exactly sure which...
Permission Check Failed by tbredweb
I am getting the message: The binary pack is not installed, or ASPNET/Network_Se...
Furniture Showroom major crash by myearwood
Hi PengstenI sent you an email via service@bizmodules.net. It concerns the furni...
Top photos windows size restriction by OKCChopper
I have it so that i can restrict the size of the photos. However since some arn...
Users add photos by OKCChopper
Is there a way for users to add images to the correct album with out having acce...
Our Partnership Minimize
If you are looking for good DNN hosting, then PowerDNN is the best DNN host around!
Support Forum Minimize
Subject: Error: is currently unavailable.
Prev Next
You are not authorized to post a reply.

Author Messages
Rob Wheeler
Posts:1
New Member

11/21/2006 12:14 PM  
Hi,

Im receiving the following error when adding photos:

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.

Does anyone know if this is a limitation of the module or of DNN, or even of Windows?  There is no way that I can reduce the path its out of my control with the hosting company.

Any help would be great.

Cheers

Rob Wheeler


Pengtsen R
Posts:5179


11/22/2006 7:26 AM  
We handled this problem by email, please let me know if you are still in trouble.

Thanks.

Pengtsen R
http://www.bizmodules.net
kwgainey
Posts:0
New Member

01/04/2008 2:06 AM  
I am also getting this error in a hosted environment, so I have no control over shortening the file path. What is the solution provided via email for Rob? Thanks in advance for your help!

Regards,
Kevin Gainey
Pengtsen R
Posts:5179


01/06/2008 3:35 PM  
well, I can't find these emails, but I remember rob must managed to short have root path. what is the root of your website?

Pengtsen R
http://www.bizmodules.net
kwgainey
Posts:0
New Member

01/07/2008 7:13 AM  
By root, I'm assuming you mean the domain name?  It's www.piedmontadventureclub.org.  It's hosted with Mosso, so I don't have a lot of control to modify the path they give it.  On their servers it's located at \\fsvs02\target02\xxxxxx\yyyyyy\www.piedmontadventureclub.org\web\content\

Thanks for your help! 


Pengtsen R
Posts:5179


01/10/2008 9:46 AM  
no, I meant the root folder of your website, can you find out the detailed path?

Pengtsen R
http://www.bizmodules.net
kwgainey
Posts:0
New Member

01/10/2008 10:28 AM  
As mentioned in the last post, it's:

\\fsvs02\target02\xxxxxx\yyyyyy\www.piedmontadventureclub.org\web\content\
kwgainey
Posts:0
New Member

01/10/2008 10:29 AM  
Forgot to mention that the XXXXXX and YYYYYY are just placeholders for my customer and client ids. 
Pengtsen R
Posts:5179


01/10/2008 8:41 PM  
so how many charactors are there in your root folder?

Pengtsen R
http://www.bizmodules.net
kwgainey
Posts:0
New Member

01/11/2008 7:42 AM  
The root path of \\fsvs02\target02\xxxxxx\yyyyyy\www.piedmontadventureclub.org\web\content\ is 74 characters.
Pengtsen R
Posts:5179


01/11/2008 7:28 PM  
can you mange to short it?

Pengtsen R
http://www.bizmodules.net
kwgainey
Posts:0
New Member

01/12/2008 5:55 AM  
I can't shorten it any. It's in a shared hosting environment. The limit .NET is 248 chars for directory and 260 for full path. Are you adding stuff to the path to make it longer than the limits? I'm also a .NET developer, so I'm interested in what the code is doing to make it throw this exception. Thanks.
Pengtsen R
Posts:5179


01/13/2008 7:29 PM  
Ultra Media Gallery create some folders on your server, for example, the folder to store large pictures is:

/portals/0/ultraphotogallery///large, but it shoudn't exceed 248.

now can you find more detailed error message in your event viewer?

Pengtsen R
http://www.bizmodules.net
kwgainey
Posts:0
New Member

01/14/2008 11:52 AM  
Here's the detailed message from Event Viewer:

ModuleId: 581
ModuleDefId: 100
FriendlyName:
ModuleControlSource: DesktopModules/BizModules - UltraPhotoGallery/UltraPhotoGallery.ascx
AssemblyVersion: 04.05.05
PortalID: 0
PortalName: Piedmont Adventure Club
UserID: 14
UserName: XXXXXXXXX
ActiveTabID: 30
ActiveTabName: Photos
RawURL: /Default.aspx?tabid=30&mid=581&adminCtl=EditPhoto
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.piedmontadventureclub.org/Default.aspx?tabid=30&mid=581&adminCtl=MyPhotos
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 805b1325-18e8-4f3d-bae3-08945dd49556
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.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.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 BizModules.UltraPhotoGallery.GlbControlBase.get_IsLicenced() at BizModules.UltraPhotoGallery.ucEditPhoto.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: LBWIN5-5
Pengtsen R
Posts:5179


01/14/2008 4:07 PM  
as a developer you can read the trace list, the last entrance in UMG is BizModules.UltraPhotoGallery.GlbControlBase.get_IsLicenced(), then this metho(property) try to set a cache then fires the error. so I guess you must choose to use FileBasedCachingProvider, which generate a lone file name of path.

you should get this error in other places of your DNN as well.

now can you try to use other cache providers?

Pengtsen R
http://www.bizmodules.net
kwgainey
Posts:0
New Member

01/26/2008 5:04 AM  
I changed the caching provider to Memory, cleared the cache and still receive the same result.  However, I'm only getting it when I go to the Module Settings page.  I'm not seeing this on any other page or module within this portal or others that are running on the same shared server.

The module is working and my clients are happy with the slideshows.  They are just a little worried when they go to the module settings page and see the error icon at the bottom of the page. 

Thanks for all your help!
Pengtsen R
Posts:5179


01/26/2008 8:03 AM  
can you take a look at this thread?

http://www.ventrian.com/Support/ProductForums/tabid/118/forumid/4/postid/17849/view/topic/Default.aspx

Pengtsen R
http://www.bizmodules.net
You are not authorized to post a reply.
Forums > Other Products > Personal Gallery > Error: is currently unavailable.

Enterprise level DotNetNuke Solutions Copyright © 2005-2008 BizModules   |  Contact Us  |  Terms Of Use  |  Privacy Statement