Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only

MAS 9.1 Maximo Application Framework Configuration Tool - Error during ZIP file upload action

  • 1.  MAS 9.1 Maximo Application Framework Configuration Tool - Error during ZIP file upload action

    Posted 10 hours ago

    Hi,

    I encountered an issue when trying to upload a ZIP file containing a mobile application definition in the Maximo Application Framework Configuration Tool for MAS v9.1.2 using the "Upload file" action. Each time I attempted to upload a ZIP file with customizations (e.g., app.xml, AppCustomizations.js), the system returned the following error:

    TECHMOBILE.zip is not an accepted file type

    Please see the screen below.

    The problem occurred for all mobile application definitions. 

    The root cause was the Content Type associated with .zip files in Windows. To resolve the issue, the Content Type for the .zip file type must be updated in the Windows Registry to:

    application/zip

    In my case, the value had been set to:

    application/x-zip-compressed

    There are two ways to correct this. If you have sufficient privileges on the Windows server, you can modify the value directly in the following location:

    HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.zip

    In my scenario it wasn't possible so I had to create new .zip definition in: 

    HKEY_CURRENT_USER\Software\Classes

    Steps:

    1. Open Registry Editor
    2. Navigate to the key: HKEY_CURRENT_USER\Software\Classes
    3. Create the .zip key
      1. Right-click the Classes folder
      2. Choose New -> Key
      3. Name it exactly: .zip
    4. Add the Content Type string
      1. Select the newly created .zip key
      2. In the right pane -> right-click -> New -> String Value
      3. Name it: Content Type
      4. Double-click it and set the value to: application/zip
    5. Close Registry Editor

    After completing these steps, I was able to successfully upload the ZIP file to the Maximo Application Framework Configuration Tool.



    ------------------------------
    Bartosz Marchewka
    IBM Maximo Consultant
    AFRY
    ------------------------------