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:
- Open Registry Editor
- Navigate to the key:
HKEY_CURRENT_USER\Software\Classes
- Create the
.zip key
- Right-click the Classes folder
- Choose New -> Key
- Name it exactly: .zip
- Add the
Content Type string
- Select the newly created .zip key
- In the right pane -> right-click -> New -> String Value
- Name it:
Content Type
- Double-click it and set the value to:
application/zip
- 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
------------------------------