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 ...Unique File Manager issue with v3.31 and v4.31Unique File Manager issue with v3.31 and v4.31
Previous
 
Next
New Post
6/30/2006 12:50 AM
 
I have a site currently running v3.2.2 on Asp.Net v1.1
I have this peculiar issue after upgrading to either v3.3.1 or v4.3.1 with this particular site- it is quite large and the main portal has quite a large file system.

The error appears ONLY when an Admin user is trying to view the Admin-File Manager. When a Host user accesses the Host-File Manager the error does not occur.

I have scoured these forums looking for an answer- and I am out of leads. ANY help would be appreciated.

The error that appears on the page is-
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

This is what appears in the logs-
AssemblyVersion: 03.03.01
Method: DotNetNuke.Security.Permissions.Controls.FolderPermissionsGrid.SaveViewState
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: United Nations Youth Association of New Zealand
UserID: 2
UserName: UNYANZhost
ActiveTabID: 15
ActiveTabName: File Manager
AbsoluteURL: /Unyanz/Default.aspx
AbsoluteURLReferrer: http://localhost/Unyanz/Default.aspx?tabid=157&Root=Containers&Type=G&Name=dnn-blue&Src=image%20header%20-%20color%20background.ascx
ExceptionGUID: d4bdd1a7-c02e-4912-9d34-d35ea223b916
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: 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 ---
StackTrace:
Source:
Server Name: KS-HAPPY
  6/30/2006 4:23:17 PM   Module Load Exception   UNYANZhost     ModuleId: 316; ModuleDefId: 21; FriendlyName ...
ModuleId: 316
ModuleDefId: 21
FriendlyName: File Manager
ModuleControlSource: Admin/Files/FileManager.ascx
AssemblyVersion: 03.03.01
Method: System.Security.Permissions.FileIOPermission.HasIllegalCharacters
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: United Nations Youth Association of New Zealand
UserID: 2
UserName: UNYANZhost
ActiveTabID: 15
ActiveTabName: File Manager
AbsoluteURL: /Unyanz/Default.aspx
AbsoluteURLReferrer: http://localhost/Unyanz/Default.aspx?tabid=157&Root=Containers&Type=G&Name=dnn-blue&Src=image%20header%20-%20color%20background.ascx
ExceptionGUID: 447ee47e-0125-4eab-8147-7bb38be1382c
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Illegal characters in path.
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Illegal characters in path. ---> System.ArgumentException: Illegal characters in path. at System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[] str) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) at System.IO.FileInfo..ctor(String fileName) at DotNetNuke.Modules.Admin.FileSystem.FileManager.AddFileToTable(DataTable tblFiles, FileInfo objFile) at DotNetNuke.Modules.Admin.FileSystem.FileManager.GetFilesByFolder(String strFolderName) at DotNetNuke.Modules.Admin.FileSystem.FileManager.BindFileList() at DotNetNuke.Modules.Admin.FileSystem.FileManager.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: KS-HAPPY

 
New Post
7/2/2006 8:19 PM
 

I am having this same problem on 4.3.1 after upgrading from 4.03. Admin File Manager crashes.
The server is running W2003 and Sql Server 2005.
At least we are are not alone!!
I have been readig about permission and folder sync issues - hopefully it will be fixed in 4.3.2/3.3.2 and we can just upgrade.

Here is an excerpt from my log.
Let me know if you get a fix sooner.

- Jim www.walkspoiled.com

AssemblyVersion: 04.03.01
Method: DotNetNuke.Security.Permissions.Controls.FolderPermissionsGrid.SaveViewState
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0


UserID: 1
UserName: host
ActiveTabID: 46
ActiveTabName: File Manager
AbsoluteURL: /Default.aspx


ExceptionGUID: c6309f39-0f1b-450e-9124-1a7e5b22ce08
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: 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.SaveAllState() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
StackTrace:
Source:

Jim www.walkspoiled.com
 
New Post
7/3/2006 8:48 AM
 
Is it just that error that is recorded in the logs? Or is that the 1st of 2 or 3, like mine was?

I thought I would be alone on this issue- because my site has been upgraded all the way up from the v1 days. I thought this would be down to data hang-over from all those upgrades.

Is your site an original v3- or is it older than that?
Let me know.

Cheers,

 
New Post
7/3/2006 4:22 PM
 

I get 5 errors logged when attempting to use the file manager under the admin tab.

The first two are a module load, then a page load.

The module load errors is due to a null format.

ModuleId: 358
ModuleDefId: 21
FriendlyName: File Manager
ModuleControlSource: Admin/Files/FileManager.ascx
AssemblyVersion: 04.03.02
Method: System.String.Format

Followed by a page load error,

AssemblyVersion: 04.03.02
Method: DotNetNuke.Security.Permissions.Controls.FolderPermissionsGrid.SaveViewState
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0

This pair repeats, followed by another load page.

As you can see, I just loaded 4.3.2 on top and get the same errors - so no fix there.

Time to go back to my 4.0.03 backup and wait for 4.3.3 or try a 4.0.3 to 4.3.2 upgrade.

This portal was an oringal 4.0.3 portal.

My other production site is 3.2.2 and will stay there a while.

Good luck, Jim


Jim www.walkspoiled.com
 
New Post
7/4/2006 12:30 AM
 
I can only assume this is appearing because of the changes in 3.3.x and 4.3.x in relation to secure file storage.
I was investigating whether or not my error was as a result of Folder path names had a space character, or a %20% character in it. -Hence the invalid characters in path error.

I went through and removed what I thought would be offending path names- to no avail.
Although your error with a String.Format sounds very similar.

Pity no one else has cottoned on to what the problem might be.
I may (if I get frustrated enough) use the database on a source install, and step through the code to see what is really going on.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Unique File Manager issue with v3.31 and v4.31Unique File Manager issue with v3.31 and v4.31


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