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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...File Manager error File Manager error
Previous
 
Next
New Post
7/18/2011 8:21 AM
 
That is what I was expecting too but the line numbers are not filled in


ModuleId
: 2282
ModuleDefId: 21
FriendlyName: File Manager
ModuleControlSource: DesktopModules/Admin/FileManager/FileManager.ascx
AssemblyVersion: 5.6.2
PortalID: 11
PortalName: Department of Youth and Young Adult Ministry
UserID: 1
UserName: host
ActiveTabID: 1044
ActiveTabName: File Manager
RawURL: /Admin/FileManager/tabid/1044/portalid/11/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.dobyouth.org/Admin/FileManager/tabid/1044/portalid/11/Default.aspx
UserAgent: Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 9a64d68d-a3e5-4c00-b6f5-2f805576d5da
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Admin.FileManager.FileManager.GeneratePermissionsGrid
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Admin.FileManager.FileManager.GeneratePermissionsGrid() at DotNetNuke.Modules.Admin.FileMana
 
New Post
7/19/2011 4:59 AM
 
i took a look at the GeneratePermissionsGrid method and it seems the likely error is an assumption that a folder exists (the DestPath value) - im not sure why this would happen as the folders should all be there - please check that you have a portals folder with subfolders for _default and any other portals (all portals will have a number -the default one being 0)- also please check that the folders all have at least read (and ideally modify) permissions for the asp.net user running under IIS (typically networkservice)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
7/19/2011 11:34 AM
 
Yes there is an _default folder and then all the portals listed. The file manager works fine in every portal BUT this one. They are all child portals of the main one. Yes permissions are set correctly.
 
New Post
7/19/2011 1:19 PM
 
without seeing the install or attaching a debugger theres not much more I can think of now - theres clearly something different about that portal and it's hard to guess what it could be e.g. perhaps the folder name is causing issues (e.g. does it start with a period) or perhaps the length of the path is an issue (.net has problems beyond a certain file path). My recommendation would be to attach a debugger and see where the issue is and what values are triggering it.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
9/19/2011 2:10 PM
 
Hi Cathal,

I'm trying to give a hand here to Renee. Here is what we were able to find out up to this point:

1 - Just for this particular portal the event DNNTree_NodeClick doesn't seems to get triggered when a tree node gets clicked;
2 - Because of that, SetFolder sub doesn't get fired
3 - which in turn doesn't get the "DestPath" variable set in the __dnnVariable;

So right now it is boiling down to the fact that "DestPath" in the __dnnVariable doesn't exist after clicking a tree node. That generates an error with GeneratePermissionsGrid() which tries tries to get the value for "DestPath" when the following line runs:

Dim folderPath As String = FileSystemUtils.StripFolderPath(DestPath).Replace("\", "/")

but as "DestPath" is not there, then the error comes up.

Again, all other portals are fine. Just this one.

Any thoughts?

Thanks,
-Aderson

Aderson Oliveira
Your DNN Wingman
DeskPal.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...File Manager error File Manager error


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