Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jason Espin 368 posts 1335 karma points
    Jul 31, 2014 @ 11:43
    Jason Espin
    0

    Cannot upload .pdf files to Umbraco

    Hi all,

    I'm having some issues uploading .pdf files to Umbraco. I have tried uploading a .pdf file into a folder via the media section as well as uploading one directly from a field with an upload data type on one of my content pages. Both times I am presented with the following message:

    Umbraco Error

    There is nothing that appears in the Stack Trace but I have noticed that if I have Firebug open, the following error is displayed:

    "NetworkError: 500 Internal Server Error - http://localhost:50804/umbraco/backoffice/UmbracoApi/Media/PostSave"
    

    Does anyone know why this is occuring and how I would get around it? I need to be able to allow my users to upload PDF files that are then downloadable through an Umbraco page.

    Any help would be greatly appreciated.

    I'm running the latest version of Umbraco on IIS Express under a development environment.

  • Jason Espin 368 posts 1335 karma points
    Jul 31, 2014 @ 12:02
    Jason Espin
    1

    This turned out to be an issue with my Web.config file more than anything. I needed to add the following inside the HttpRuntime tag:

    maxRequestLength="204800" executionTimeout="99999"

Please Sign in or register to post replies

Write your reply to:

Draft