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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...4.0.2 - File Manager Error - Key is not a member........4.0.2 - File Manager Error - Key is not a member........
Previous
 
Next
New Post
5/15/2006 8:49 AM
 

Can people with the problem try and provide a bit more detail please. The filemanager works for many thousands of users, there are only a few reporting issues, and I don't know of any coreteam member who's recreated this problem. The error "Object reference not set to an instance of an object" at times is virtually useless in providing a way to diagnose problems, as often all it indicates is that the application expected to find a value in a variable, but the variable was unitialised. This indicates a problem where an eventuality that hasn't been factored into the code happens e.g. the following code works fine, except when intBottom is zero

Dim intResult As Integer = intTop \ intBottom

Typically these problems are mssing expected resources (files/database connections),edge cases and overflows. I know of one with the filemanager where the variable assigned to hold the portal size is an integer, which can hold a maximum size of 2147483647, so if a portal is larger than 2GB it overflows and causes an error. This has been fixed for the next version. Can you check and see if your portal falls into this category?

If this is not the issue, take a look and see if you have unusual files/folders e.g. exceptionally long filenames/foldernames may be the issue. Ideally if you could attach a debugger then you can step through the code and see what the issue is - we would be grateful if you could post back the details if you work out what it is - as I mentioned, it's hard to fix something when you can't recreate it.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
5/15/2006 9:38 AM
 
How do i set in a debugger?
 
New Post
5/15/2006 1:38 PM
 

I'm presuming you don't have vs.net installed on the same machine as the site - if you do, use it. If not, you can use either DbgClr or Cordbg (I'd recommend DbgClr )

using Dbgclr
http://www.mdibb.net/net/debugging_aspnet_without_visual_studio_using_dbgclr/ and http://msdn2.microsoft.com/en-US/library/7zxbks7z.aspx

use Cordbg.exe
http://windowssdk.msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_winfxdevtools/html/990785ba-e310-4a68-8a64-a2b658949dae.asp

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
5/15/2006 6:30 PM
 

I've done a bit of checking and some users have had problems when they created directories with non-alphanumeric characters in them e.g. ~ or ' , it may be an idea to check your sites for these characters. If thats the case please let me know, I suspect the javascript that the filemanager emits may not be escaping these characters correctly.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
5/15/2006 7:18 PM
 

Thanks for getting us some information Cathal. Below is the error that I have been receiving each time I visit the File Manager page as both Admin and Host using DNN 4.0.3.

Module Load Exception #1 (File Manager)

ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 04.00.03
Method: System.Web.Compilation.BuildManager.CompileWebFile
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: Oswego Speedway
UserID: 2
UserName: admin
ActiveTabID: 46
ActiveTabName: File Manager
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: 3b9cd63b-2439-4115-bb04-9f0ae74ad998
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: C:\Inetpub\DotNetNuke_4\Admin\Files\FileManager.ascx.vb(314): error BC30456: 'Key' is not a member of

'System.Web.UI.WebControls.TreeNode'.
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: C:\Inetpub\DotNetNuke_4\Admin\Files\FileManager.ascx.vb(314):

error BC30456: 'Key' is not a member of 'System.Web.UI.WebControls.TreeNode'. ---> System.Web.HttpCompileException:

C:\Inetpub\DotNetNuke_4\Admin\Files\FileManager.ascx.vb(314): error BC30456: 'Key' is not a member of

'System.Web.UI.WebControls.TreeNode'. 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.UI.TemplateControl.LoadControl(VirtualPath

virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at

DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of

inner exception stack trace ---

Module Load Exception #2 (File Manager)

ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 04.00.03
Method: System.Web.UI.UserControl.get_Request
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: Oswego Speedway
UserID: 2
UserName: admin
ActiveTabID: 46
ActiveTabName: File Manager
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: 3232f0d7-0b4f-49bd-a476-18958f6d1e52
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
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

System.Web.UI.UserControl.get_Request() at DotNetNuke.Entities.Modules.PortalModuleBase.get_IsEditable() at

DotNetNuke.UI.Containers.Title.CanEditModule() at DotNetNuke.UI.Containers.Title.Page_Load(Object sender, EventArgs e) ---

End of inner exception stack trace ---

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...4.0.2 - File Manager Error - Key is not a member........4.0.2 - File Manager Error - Key is not a member........


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