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...Administration ...Administration ...Problem with "Install Extension Wizard" after upgrade to DNN6.0.1Problem with "Install Extension Wizard" after upgrade to DNN6.0.1
Previous
 
Next
New Post
9/11/2011 11:16 PM
 
After upgrading to DNN 6.0.1, my "Install Extension Wizard" seems to be broken.  Doesn't matter whether I try the wizard from either the Admin or Host menus.  Here's what's in my Event Log:

ModuleId: -1

ModuleDefId: -1

FriendlyName:

ModuleControlSource: DesktopModules/Admin/Extensions/Install.ascx

AssemblyVersion: 6.0.1

PortalID: 0

PortalName: Scarborough Chess Club

UserID: 3

UserName: karpiks

ActiveTabID: 46

ActiveTabName: Extensions

RawURL: /Admin/Extensions/tabid/46/ctl/Install/rtab/46/Default.aspx?popUp=true

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://www.scarboroughchessclub.ca/Admin/Extensions.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: b8820255-c34c-4ee3-8cae-14fedd0992ee

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: DotNetNuke.Common.Utilities.Config.GetMaxUploadSize

StackTrace:

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 DotNetNuke.Common.Utilities.Config.GetMaxUploadSize() at DotNetNuke.Modules.Admin.Extensions.Install.OnLoad(EventArgs e) --- End of inner exception stack trace ---

Source:

Server Name: WSH-009


Can anyone suggest what might be wrong?  I can install extensions by dropping the modules in the /install folder and running a bulk extension installation, there's nothing wrong with my sites ability to ingest new extensions.  It just can't do it through the wizard.

Any and all advice gratefully received.

 
New Post
9/13/2011 7:56 PM
 
please check your web.config and make sure that the maxRequestLength attribute has been set e.g. it should look like

<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" requestLengthDiskThreshold="8192"/>

If it looks like that then please check for any additional <location> tags -you may have to add the declaration there also (though that would be a bug as we should handle web.config's with multiple location tags)


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
9/14/2011 11:23 PM
 
Thanks for your reply.  After much head scratching (and a bit of luck), I came up with the same answer as you.  I had forgotten that my ISP locks the httpRuntime setting.  See this short note:  https://support.isqsolutions.com/arti...  I dealt with this issue several years ago by commenting out the line:

<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" requestLengthDiskThreshold="8192" />

in my web.config but I had long since forgotten doing so.

Is there anything that I can change in my DNN setup get around this?  I've sent a question to my ISP about this limitation but I doubt they will bend on this (but I've got my fingers crossed).

Is this a problem that would have just come up with DNN6 or has it been a long time since I've tried to upload a new skin to my site and I just haven't stumbled upon this problem?

Right now it is a bit awkward with losing the ability to upload modules or skins.  I can just stick with doing bulk installs but it would be nice to deal with the problem directly.


 
New Post
9/15/2011 11:00 AM
 
My ISP got back to me on the httpRuntime issue.  Here's what they had to say:

"The maximum file size upload through HTTP is set to 20 MB.

If your application is designed in .Net, do not try to set the httpRuntime in the webconfig file of the application. This tag is locked at the machine level.

The web server where http://scarboroughchessclub.ca/ is hosted is running IIS 7.

I found this article talking about this in DNN: http://www.dotnetnuke.com/Resources/Wiki/loc/print/Page/Working-with-large-files.aspx"


So it looks like I'm stuck with the restriction on httpRuntime (i.e. I cannot set it in my web.config).  Does the article that my ISP references above provide any help to me?

If DotNetNuke needs to know the maximum permissible upload size, can it access the value of maxRequestLength that is set at the machine level? 
 
New Post
9/16/2011 1:32 PM
 
the problem here is that DotNetNuke tries to read the value based on the existance of the attribute - and if it's missing there is a problem. We could make this code more defensive to ensure that it works in cases such as this -please log a bug at support.dotnetnuke.com (and make sure and reference this forum thread) so we can fix it in a future release.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Problem with "Install Extension Wizard" after upgrade to DNN6.0.1Problem with "Install Extension Wizard" after upgrade to DNN6.0.1


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