HomeHomeUsing DotNetNuk...Using DotNetNuk...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 DotNetNuk...Using DotNetNuk...Administration ...Administration ...File ManagerFile Manager


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.