EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB46836: "com.microstrategy.webapi.MSTRWebAPIException: (UnpackBinarySize has failed.)" or "There was no file uploaded for this Task invocation." errors appears when uploading a file in MicroStrategy Web 9.4.1 and 10.x


Community Admin

• Strategy


"com.microstrategy.webapi.MSTRWebAPIException: (UnpackBinarySize has failed.)" or "There was no file uploaded for this Task invocation." errors appears when uploading a file in MicroStrategy Web 9.4.1 and 10.x

SYMPTOM:
When importing a file anywhere in Strategy Web, an error message similar to the following is seen:
In 9.4.1:

ka04W000000OhlsQAC_0EM44000000266O.png

Sample Code/Error


com.Strategy.webapi.MSTRWebAPIException: (UnpackBinarySize has failed.)

In 10.x:

ka04W000000OhlsQAC_0EM440000002JXs.png

 


undefined
There was no file uploaded for this Task invocation.

 
The Web log from Strategy/WEB-INF/Log, contains the following error message:
Sample Code/Error

java.io.IOException: The system cannot find the path specified

CAUSE:
By default a directory named "temp", within the Tomcat installation directory, is used as a temporary location when uploading files:
 

ka04W000000OhlsQAC_0EM44000000266N.png

 
This "temp" folder is missing in the Tomcat installation directory, causing the above errors when uploading any files to Strategy Web, as the required temporary files cannot be created during the upload.
 
ACTION:
Verify that this directory exists. If it is missing, create this "temp" folder again and restart the Web server.
 
Third Party Software Warning:
The third-party product(s) discussed in this technical note are manufactured by vendors independent of Strategy. Strategy makes no warranty, express, implied or otherwise, regarding these products, including their performance or reliability.


Comment

0 comments

Details

Knowledge Article

Published:

April 14, 2017

Last Updated:

April 14, 2017