Knowledgebase: BlackBerry
Attachments can not be opened after they have been downloaded
Posted by - NA - on 30 June 2009 10:58 AM
BlackBerry:

Both NotifySync and NotifyLink use the same technologies with respect to downloading and viewing native attachments and therefore this document applies equally to both products.

Behavior

Attachments can be downloaded to the device but they can not be opened for viewing. Attempts to view the attachment result in an error message.

Error Message(s)

There is no application installed to view the selected attachment.

An error occurred attempting to open the selected attachment (AttachmentIOException).

Information

NotifyLink/NotifySync is able to open any attachment type for which there is an application installed on the device to handle the file type. Applications must register with the system as "content handlers" and NotifyLink/NotifySync queries the system for these content handlers when attempting to view attachments that have been downloaded.

Possible Causes and Solutions

1. Your BlackBerry device software is too old.
You need to have BlackBerry device software 4.3 or later to be able to launch applications directly from NotifyLink/NotifySync for viewing attachments. Device software updates can be obtained from your mobile carrier's web site.
2. You do not have the latest updates to NotifyLink/NotifySync or the Notify Core Library.
There have been updates to both of the NotifyLink/NotifySync components that address problems specifically related to this problem. Use the Notify BlackBerry Installer or download the latest version of the BlackBerry Desktop Manager installation files to make sure that you have the newest version of both NotifyLink/NotifySync and the Notify Core Library.
3. You do not have an application installed that supports the type of file that you are trying to open.
You must have an application installed on the device that supports the file type you are trying to open. Not all devices will have the same applications installed and therefore not all devices will have the same capabilities with respect to supported file types. The BlackBerry media applications support many different media types and, as of the BlackBerry Device Software 4.5, Dataviz's Documents to Go software is shipping with devices to add support for Microsoft Office document types. You can consult your device user-guide or the appropriate documentation for any third party software installed to find out what file types are supported by certain applications.
4. The content type associated with the file is incomplete or invalid and there is no file extension in the file name.
The file type of an attachment is identified using the content type of the file (which is identified by EAS server) and/or the file extension in the attachment file name. It is possible that the content type was set incorrectly by the sending mail client or that it was identified improperly by the EAS server you are using with NotifyLink/NotifySync. The content type should be displayed in parenthesis at the end of the error message that is displayed when NotifyLink/NotifySync is unable to find a handler for a particular attachment type. If you see this error message, NotifyLink/NotifySync was unable to find a handler using the content type as well as the file extension in the file name. Consult your device user-guide or documentation for any third party software installed to find out the content type and/or file extension appropriate for the file type and application you are trying to use. If you identify a problem with the content type your EAS server is using for a particular file type, you will need to consult documentation or support for your EAS server concerning the errant value.
5. You are missing the application module (net_notify_lib_attach_jsr211) from the Notify Core Library that is required to interface with the system to query for content handlers.
You can view installed modules by going to Options -> Advanced Options -> Applications, highlighting Notify Core Library, and selecting the "Modules" menu item. If you find that the necessary module is missing you can use the Notify BlackBerry Installer or download the latest version of the BlackBerry Desktop Manager installation files to make sure that you have the newest version of both NotifyLink/NotifySync and the Notify Core Library.
6. You do not have enough free flash memory on your device or storage card.
Associated error message details: "AttachmentIOException: Not enough free space"

The attachment must be written to a temporary file on the device file system before it can be opened by the appropriate application. The temporary file will be written to an SD card when one is present to avoid taking up device memory whenever possible. If there is not enough free space between these two locations, the temporary file will not be written and the attachment will not be viewable.

The solution for this case is to add more storage space by adding a new or larger SD card to the device or to free up memory from existing local drive or SD card.