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 ManagerFile Manager
Previous
 
Next
New Post
8/21/2011 9:59 AM
 

I upgraded from DNN 5.6.3 to DNN 6.0.0 and all seemed to be working fine until I went to any of our links that used the new links module...tried uninstalling and then reinstalling the new links module but it didn't help.  Anyway...while troubleshooting I found that I also cannot get the file manager to come up either...not as an administrator or as the host.  I've tried just about everything I can think of...to include setting the skin to the DNN provided minimalextropy but get the same problem...file manager is currently unavailable...the following is the error and log from the event viewer...anyone have a suggestion???

Error: File Manager is currently unavailable. 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.Services.FileSystem.FolderProvider.Instance(String friendlyName) at DotNetNuke.Services.FileSystem.FolderMappingInfo.get_ImageUrl() at DotNetNuke.Modules.Admin.FileManager.FileManager.PreloadFolderImages() at DotNetNuke.Modules.Admin.FileManager.FileManager.InitializeTree() at DotNetNuke.Modules.Admin.FileManager.FileManager.OnLoad(EventArgs e) --- End of inner exception stack trace ---


ModuleId: 323
ModuleDefId: 21
FriendlyName: File Manager
ModuleControlSource: DesktopModules/Admin/FileManager/FileManager.ascx
AssemblyVersion: 6.0.0
PortalID: 0
PortalName: Placeholder
UserID: 3
UserName: MySitesHostUserName
ActiveTabID: 19
ActiveTabName: File Manager
RawURL: /Host/FileManager/tabid/19/portalid/0/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.mysitesurl.com/Host/tabid/7/portalid/0/Default.aspx
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 6a13fdb0-f1d4-4751-9ca0-65ce0a779c70
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Services.FileSystem.FolderProvider.Instance
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.Services.FileSystem.FolderProvider.Instance(String friendlyName) at DotNetNuke.Services.FileSystem.FolderMappingInfo.get_ImageUrl() at DotNetNuke.Modules.Admin.FileManager.FileManager.PreloadFolderImages() at DotNetNuke.Modules.Admin.FileManager.FileManager.InitializeTree() at DotNetNuke.Modules.Admin.FileManager.FileManager.OnLoad(EventArgs e) --- End of inner exception stack trace ---

 
New Post
8/24/2011 10:26 PM
 
Ok...so I upgraded to 6.0.1 tonight and almost everything is working correctly now except the file Manager...I'm still getting a similar error in the event log.  Does anyone have any ideas?

ModuleId: 480
ModuleDefId: 21
FriendlyName
: File Manager
ModuleControlSource
: DesktopModules/Admin/FileManager/FileManager.ascx
AssemblyVersion
: 6.0.1
PortalID
: 3
PortalName
: Families of Cocodrie Bayou
UserID
: 39
UserName
: My UserID
ActiveTabID
: 118
ActiveTabName
: File Manager
RawURL
: /Admin/FileManager/tabid/118/Default.aspx
AbsoluteURL
: /Default.aspx
AbsoluteURLReferrer
: http://www.mysitesurl.com/Admin/tabid/110/Default.aspx
UserAgent
: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0
DefaultDataProvider
: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID
: f82edf66-2f14-45ef-852d-7d5a8a9d3dc7
InnerException
: Object reference not set to an instance of an object.
FileName
:
FileLineNumber
: 0
FileColumnNumber
: 0
Method
: DotNetNuke.Services.FileSystem.FolderProvider.Instance
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.Services.FileSystem.FolderProvider.Instance(String friendlyName) at DotNetNuke.Services.FileSystem.FolderMappingInfo.get_ImageUrl() at DotNetNuke.Modules.Admin.FileManager.FileManager.PreloadFolderImages() at DotNetNuke.Modules.Admin.FileManager.FileManager.InitializeTree() at DotNetNuke.Modules.Admin.FileManager.FileManager.OnLoad(EventArgs e) --- End of inner exception stack trace ---
Source
:
Server Name
: GENERIC74

 
New Post
9/1/2011 5:54 PM
 
I have the same error. Did you have found a solution ?
 
New Post
9/1/2011 6:18 PM
 
The problem is in the file :
DesktopModules/Admin/FileManager/FileManager.aspx.cs

Locate the function : PreloadFolderImages()

Not time to debug what's happening, but if you add a try catch it will resolve the problem :

private void PreloadFolderImages()
        {
            IFolderMappingController folderMappingController = FolderMappingController.Instance;
            FolderMappingInfo folderMappingInfo = null;
            string imageUrl = String.Empty;

            foreach (var folderMapping in FolderMappings)
            {
                try
                {

                folderMappingInfo = folderMappingController.GetFolderMapping(folderMapping.Key);
                imageUrl = folderMappingInfo.ImageUrl;
                DNNTree.ImageList.Add(imageUrl);
                }
                catch {}

            }
        }
 
New Post
9/1/2011 6:29 PM
 
on my side, the bug is coming from 2 keys below :

folderMapping.Key=2
folderMapping.Value="Secure"

and

folderMapping.Key=3
folderMapping.Value="Database"



 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...File ManagerFile Manager


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.

Copyright 2014 by DNN Corp Terms of Use Privacy
Request
a Demo
See Evoq Live
Latest Blog
How to Make Advocate Marketing Work for You
Read It
Watch the Replay
Top 5 Reasons to Consider a Branded Online Community
Watch