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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Error on installing any module in DotNetNuke 5.6.3Error on installing any module in DotNetNuke 5.6.3
Previous
 
Next
New Post
3/13/2012 3:54 AM
 

Hi everyone!

When I upload any module in System->Extensions in DotNetNuke 5.6.3, running on a Windows 2008 R2 server, IIS 7.5, after the correct module information is displayed and I hit next, I receive the error message

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.UI.WebControls.FieldEditorControl.CreateEditor()at DotNetNuke.UI.WebControls.FieldEditorControl.DataBind()at DotNetNuke.UI.WebControls.PropertyEditorControl.AddFields(Table tbl)at DotNetNuke.UI.WebControls.PropertyEditorControl.CreateEditor() [...]

and the module is not installed. The file system of the web has not been touched, so I thought it was a permission problem, but even allowing user Everyone to do everything doesn't help (after making sure the ApplicationPoolIdentity user has been allowed full access as well).

The manifest of the module is valid (it's Dynamic Registration 4.1).

My installation steps are (note: I am using a German installation of Windows 2008, so some translations might not be accurate)

  1. Log in as Hosts Super User (Admin)
  2. Either navigate to System->Extensions or System->Module Definitions (System might be identical toHosts) - I tried both
  3. In System->Extensions, click Installation assistant for extensions
  4. Select file to upload
  5. Click next
  6. Description of uploading package appears correctly - click next
  7. Error message Object reference not set to an instance of an object. appears on top of the page. Log View shows stack trace as partly displayed above.

What can cause an error in DotNetNuke.UI.WebControls.FieldEditorControl.CreateEditor()?

Any hint is greatly appreciated. Thanks!

 
New Post
3/14/2012 2:28 AM
 

It's a ViewState issue.

The page's viewstate is lost in DesktopModules\Admin\Extensions\Install.aspx.vb. Simply replacing ViewState by Session works (but this workaround may be lost after the next DNN update). 

Why this happens: I have no idea.

 
New Post
3/20/2012 8:47 AM
 
please check you host setting for viewstate maintanance - it should be on the page, not in memory.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/30/2012 8:37 AM
 
Thanks, but it is. However, I found the reason: the viewstate of parts of the container skin has been disabled, probably in order to minimize the page size. After enabling every viewstate along the line, everything worked.

It is interesting that only a few admin functions (and none in the public part of the site) rely on the container skin viewstate - that made the error hard to track.
 
New Post
3/30/2012 8:41 AM
 
Thanks, but that was already set in that way. 

However, I found the reason: the viewstate of the container skin was partly disabled, probably to minimize the page size. Re-enabling every viewstate along the line did the job.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Error on installing any module in DotNetNuke 5.6.3Error on installing any module in DotNetNuke 5.6.3


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