Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Can't upload files - No content type associated with "file extension"


I've just made a fresh install of EPiServer 7.5. But I can't upload files in the CMS. When I upload a file I get the status "Failed". When I hover on the status it says:

"There is no content type associated with the ".png" file extension."

No files work uploading. Anyone have a clue?

Dec 10, 2013 18:23

There is now a need to associate files with contenttypes.  Take a look at the alloy tech or below code, it needs  a contenttype with teh required extensions

 [ContentType(GUID = "0A89E464-56D4-449F-AEA8-2BF774AB8730")]
    [MediaDescriptor(ExtensionString = "jpg,jpeg,jpe,ico,gif,bmp,png")]
    public class ImageFile : ImageData 
        /// <summary>
        /// Gets or sets the copyright.
        /// </summary>
        /// <value>
        /// The copyright.
        /// </value>
        public virtual string Copyright { get; set; }


Dec 10, 2013 19:15
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.