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...Upgrading DNN P...Upgrading DNN P...File manager not working after upgrade to 6.01File manager not working after upgrade to 6.01
Previous
 
Next
New Post
9/28/2011 4:26 PM
 
It appears that I am having the same or similar problem 563 to 6.01 File manager now displays the following error.

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 ---


Any ideas?
 
New Post
9/28/2011 4:30 PM
 
Hi there

I had the same problem.

This post resoved the issue for me:

http://www.dotnetnuke.com/Resources/Forums/forumid/108/postid/430425/scope/posts.aspx

Greetings

Gerrit
 
New Post
9/28/2011 11:51 PM
 

Thanks! Sadly that doesn't fix it.

Adjusting the code to
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{}
   }
        }

results in:

Error: File Manager is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: c:\inetpub\vhosts\d13cgaux.com\httpdocs\sites\DesktopModules\Admin\FileManager\FileManager.ascx.cs(825): error CS1002: ; expected ---> System.Web.HttpCompileException: c:\inetpub\vhosts\d13cgaux.com\httpdocs\sites\DesktopModules\Admin\FileManager\FileManager.ascx.cs(825): error CS1002: ; expected at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.WebFormsModuleControlFactory.CreateModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) at DotNetNuke.UI.Modules.ModuleControlFactory.LoadModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---


Other ideas?

 
New Post
11/8/2011 6:28 AM
 
Try this code


try{
    folderMappingInfo = folderMappingController.GetFolderMapping(folderMapping.Key);
    imageUrl = folderMappingInfo.ImageUrl;
    DNNTree.ImageList.Add(imageUrl);
}catch (Exception ex){}
 
New Post
1/8/2012 12:29 AM
 

Thank you,

This work for me, But just in Host/FileManager.
I have Problem in Admin/FileManager. (object reference).

do you have any idea??

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...File manager not working after upgrade to 6.01File manager not working after upgrade to 6.01


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