Failed to upload .exe file in DAM | Community
Skip to main content
ranadyutis95334
Level 3
September 2, 2016

Failed to upload .exe file in DAM

  • September 2, 2016
  • 5 replies
  • 8544 views

Whenever I am trying to upload a .exe file after it has completed uploading I get the error failed to upload the file. Is this a known issue? Product version is AEM 6.1.

 

Getting the below error in DAM log :

 POST /content/dam/lexmark/documents/filedownloads/y2016.createasset.html HTTP/1.1] com.day.cq.dam.core.impl.DamAdapterFactory Unable to adapt resource of sling:OrderedFolder to type com.day.cq.dam.api.Asset

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

antoniom5495929
Level 7
September 2, 2016

I think exe is not a supported format for DAM.

Here the lists of supported format: https://docs.adobe.com/docs/en/cq/5-6-1/dam/documented_platforms.html

smacdonald2008
Level 10
September 2, 2016

The DAM conrains assets like images and videos. An EXE file is not a supported file.

antoniom5495929
Level 7
September 2, 2016
ranadyutis95334
Level 3
September 2, 2016

But we uploaded it in the past but for some reason it is failing.

antoniom5495929
Level 7
September 2, 2016

Probably you have all launcher disabled in the past and for this reason you can uploaded it.

But as i already say the exe is not supported.

https://docs.adobe.com/docs/en/aem/6-1/administer/content/assets/assets-formats.html

joerghoh
Adobe Employee
Adobe Employee
September 2, 2016

This only indicates that the upload failed. Have you checked the error.log for relevant messages?

Jörg

ranadyutis95334
Level 3
September 6, 2016

I am getting the error 

 

 POST /content/dam/lexmark/documents/filedownloads/y2016.createasset.html HTTP/1.1] com.day.cq.dam.core.impl.DamAdapterFactory Unable to adapt resource of sling:OrderedFolder to type com.day.cq.dam.api.Asset

smacdonald2008
Level 10
September 6, 2016

How are you trying to upload this file? 

kautuk_sahni
Community Manager
Community Manager
September 5, 2016

Hi 

Can please explain the use-case of having .exe file in DAM ?

Coming back to the solution, as mentioned by "Jörg Hoh" please check the error in error.log file.

If the use-case it just to keep exe file in DAM and make it downloadable by providing download link to the page, then i would suggest you to make Zip file of exe and upload it in DAM. 

This is reduce the size of the file and also zip is supported in AEM.

Docs link:- https://docs.adobe.com/docs/en/aem/6-2/administer/content/assets/assets-formats.html

 

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni

Kautuk Sahni
smacdonald2008
Level 10
September 7, 2016

I am using Classic View and successfully uploaded a EXE: 

Here you can see in the JCR: 

However - from a functionality point of view - uploading EXE in the AEM DAM is not recommended. 

ranadyutis95334
Level 3
September 7, 2016

Even in My local I am able to upload it. But it is not happening in other test and Prod environment. 

joerghoh
Adobe Employee
Adobe Employee
September 7, 2016

Please make sure that you have the same hotfix level on your local instance as on the higher stages.

Jörg