November Happy Hour will be moved to Thursday December 5th.

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

Vote:
 

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?

#79188
Dec 10, 2013 18:23
Vote:
 

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; }
    }

    

#79189
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.