Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Error uploading powerpoint file
Last Post 06/14/2013 7:35 PM by owlss. 7 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
owlss
New Member
New Member
Posts:6


--
06/14/2013 2:45 PM
I have a user trying to upload a powerpoint file to one of my document portals and it won't let them. It says "An Error has occured". It is only for a powerpoint file. Word Documents and PDF's are no problem?? It there a setting in the system where you can specify what file type are allowed ? I can't seem to find it if there is.

Thanks,

Dan
Rob Ralston
Basic Member
Basic Member
Posts:164


--
06/14/2013 3:36 PM
As a Host user, go to host settings, advanced settings and Allowable File extensions to make certain ppt and pptx are listed.

Not sure if the location of that setting has changed with more recent version of DNN, but what you likely need to do is the same.

Rob Ralston
owlss
New Member
New Member
Posts:6


--
06/14/2013 3:51 PM
Thanks for the quick reply. ppt and pptx are listed as allowable file types. Other things I have tried: cleared cache, restarted Aplication even went as far as resatring IIS no luck.

Dan
owlss
New Member
New Member
Posts:6


--
06/14/2013 4:03 PM
Here is some more info..... logged in at host when I try to upload the file I get this:

An error has occurred. DotNetNuke.Services.Exceptions.PageLoadException: Maximum request length exceeded. ---> System.Web.HttpException: Maximum request length exceeded. at System.Web.HttpRequest.GetEntireRawContent() at System.Web.HttpRequest.GetMultipartContent() at System.Web.HttpRequest.FillInFormCollection() at System.Web.HttpRequest.get_Form() at System.Web.HttpRequest.get_HasForm() at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) at System.Web.UI.Page.DeterminePostBackMode() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---


I am using DNN communtiy edition 06.01.01 (12)

Dan
Rob Ralston
Basic Member
Basic Member
Posts:164


--
06/14/2013 4:16 PM Accepted Answer
Oh, that's a different problem. Should have thought of that as well.

You are running into a basic IIS web site configuration setting in web.config that determine both how large a file can be uploaded, as well as how long the request can take to upload the file.

In web.config, find the httpRuntime section. You likely need to increase the maxRequestLength parameter from its default of 8192 (KB) as well as add the parameter executionTimeout if it is not already there. This parameter is in seconds, so executionTimeout="600" would allow 10 minutes.

Hope this helps

Rob Ralston

owlss
New Member
New Member
Posts:6


--
06/14/2013 4:55 PM
Determined that the file is to large? What is the file upload limit for DNN. Where would you find where to find this setting?
Rob Ralston
Basic Member
Basic Member
Posts:164


--
06/14/2013 4:58 PM
Dan, did you read my last post? I gave you exactly the information you need to check and modify for DNN.

Rob
owlss
New Member
New Member
Posts:6


--
06/14/2013 7:35 PM
Yes. We deduced it was the web.conifg file. The DMX module will let you change the max upload size for the uploader it without having to manually edit the web.config file. I found it just after I wrote my last post. Thanks for all your help!

Dan
You are not authorized to post a reply.