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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...filemanager errorfilemanager error
Previous
 
Next
New Post
11/9/2006 5:23 AM
 

Peter,

check the folders and files tables in your database for orphaned entries - and filenames with apostrophs, colons or other critical characters. That's the only idea I have atm. HTH


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/15/2006 1:32 AM
 
Ok, i finally found out what the problem was. I deleted the orphan files in the database manually. I found the way to do this  in another thread. This is how they described it (with thanx to Fabian):
To find out which files are in the db and not in the file system (otphans) is to access the file manager, of course you'll get the error message, then you go to the logs and check the reported errors. In one of the last 4 errors you'll find the folder (or file ?) that is missing somewhere in the message. Then you might apply the following sql query :

DELETE dbo.Files WHERE FolderID in ( FolderID FROM dbo.Folders WHERE FolderPath = 'FolderPathToDeleteHere')
DELETE dbo.Folders WHERE FolderPath = 'FolderPathToDeleteHere'

Be carfull about what you do, be sure that you understand this query. Also backup you db (at least the tables Files and Folders) before doing this.
 
New Post
11/28/2006 12:46 PM
 

PZijlstra wrote
All of a sudden, i get an error in my filemanager
An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Security.Permissions.Controls.FolderPermissionsGrid.SaveViewState() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Page.SavePageViewState() at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---

What is wrong here, and what can i do to resolve this problem?

I would like to comment on this error.

IF you see this error it is very unlikely that it is actually caused by the Permissions Grid itself.  This error is most likely caused by an earlier error in the Page_Load method of the File Manager.  At the end of the Page Load method is the following block of code:

                If LastFolderPath <> DestPath Then
                    PageIndex = 0
                    GeneratePermissionsGrid()
                End If
                LastFolderPath = DestPath

            Catch exc As Exception    'Module failed to load
                ProcessModuleLoadException(Me, exc)
            End Try

The two important lines are in red.  IF an error happens in Page Load before the first red line, then the code will be trapped by the Catch block, and the permissions grid will NEVER be initialised.

So if you see this error - it is 99% certain that you have an exception in Page_load, which may occur for a number of reasons (mostly poor synchronisation between File System and Database), but in 4.3.6 we have made an effort to fix most of these issues.


Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...filemanager errorfilemanager 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