Products

Solutions

Resources

Partners

Community

About

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 ...DNN 5.1.4 Admin Filemanager returns errorDNN 5.1.4 Admin Filemanager returns error
Previous
 
Next
New Post
11/13/2009 3:55 PM
 

Hi all,

I've tried looking around the forums to find a solution to my issue and haven't found one yet. I'm hoping that someone will have the exact answer I need to solve my problem.

We were developing a site for a client using DNN 5.1.1 on a domain that wasn't being used while the client continued using their existing site.  I was tasked with the job of moving the site from the development domain to another development domain on the client's webserver.  The move went find except for one thing.  Anytime someone tries to view the Admin | File Manager function the following error is returned:

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.Modules.Admin.FileManager.FileManager.get_HasPermission(String permissionKey) at DotNetNuke.Modules.Admin.FileManager.FileManager.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

The error message would suggest there is something wrong with the file permissions for the files in the /Portals/0/ directory, but I have checked them all (and reset them all) so that the Network Service has Full Control over all the files.  It should be noted that the Host | File Manager function works just fine.

In an effort to fix the problem I upgraded the site to DNN 5.1.4 but the problem persists.

Can anyone think of anything else that may cause this error to be thrown?  The only other recourse I will have will be to build a new site from scratch using DNN 5.1.4 and then rebuilding all of the tables through SQL scripts to rebuild all of the tables.  I'm not relishing the thought of doing this because it is very time consuming to write the SQL scripts to accomplish this.

Any ideas would save me a lot of time in trying to rebuild the site.


Raymond Weiler
Technical Support
Commerce Technology International

 
New Post
11/14/2009 5:09 AM
 

please enter page settings and save it, same with module settings. There might be permission records missing which should be fixed by saving settings.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/14/2009 2:57 PM
 

I am having the same problem, for the HOST it works fine but for the portals it doesn't I've tried what you said to do it still doesn't work. My case is that we installed DNN on a remote server and realized how much we were using it and writing our own stuff and decided to replicate it on a local server, everything works but this so think it is a directory permission setting or something?

Any help would be much appreciated - I am so lost on this...

Kriston Anthony Pohl

 
New Post
11/16/2009 12:52 PM
 

Sebastian Leupold wrote

please enter page settings and save it, same with module settings. There might be permission records missing which should be fixed by saving settings.

Thanks for the suggestion Sebastian, but unfortunately it didn't work.

I carried the idea one step further though, I changed the page permissions so that all users could view the page.  I unclicked the inherit permissions for the module and also allowed the module to be viewed by all users.  When logged in as someone in the Administrators role or logged in as host, I still get the same error when trying to view the Admin | File Manager module.  But when I am logged out, I can see the module just fine and can browse through all of the directories listed in the Portal Root.  This doesn't make sense to me at all.

I think you were right in your supposition that maybe the permission records weren't written to the tables.  When I looked at the tables after following your suggestion, the TabPermissionID and the ModulePermissionID were numbered such that it looks like these entries were just added.

Here are the Tab Permissions for TabID=52 (the File Manager page) from the dbo.TabPermissions table (ORDERed BY TabID, PermissionID):

TabPermissionID TabID PermissionID AllowAccess RoleID UserID  CreatedByUserID      
12179 52 3 True 0 NULL 1 11/16/2009 11:19:19 AM 1 11/16/2009 11:19:19 AM
12181 52 3 True -1 NULL 1 11/16/2009 11:19:19 AM 1 11/16/2009 11:19:19 AM
12180 52 4 True -1 NULL 1 11/16/2009 11:19:19 AM 1

11/16/2009 11:19:19 AM

Here are the Module Permissions for ModuleID=369 (the File Manager module on the File Manager page) from the dbo.ModulePermissions table (ORDERed BY ModuleID, PermissionID):

ModulePermissionID ModuleID PermissionID AllowAccess RoleID UserID CreatedbyUserID      
15240 369 1 True 0 NULL 1 11/16/2009 11:26:55 AM

1

11/16/2009 11:26:55 AM
15242 369 1 True -1 NULL 1 11/16/2009 11:26:55 AM 1 11/16/2009 11:26:55 AM
15241 369 2 True -1 NULL 1 11/16/2009 11:26:55 AM 1 11/16/2009 11:26:55 AM

As you can see I have both tables ORDERed so that I know I am seeing all the records for the Tab and the Module.  It makes no sense to me why it works fine for All Users, but won't display for Adminsitrators or hosts.

Any further insight would be appreciated.

Raymond Weiler
Technical Support
Commerce Technology International

 
New Post
2/11/2010 5:32 PM
 

This threed is also having the same issue

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/107/threadid/349965/scope/posts/threadpage/2/Default.aspx

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN 5.1.4 Admin Filemanager returns errorDNN 5.1.4 Admin Filemanager returns 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