BlackBerry Desktop software closes during startup

Article ID: KB27542

Type: Support Content

Last Modified: 01-13-2012


Product(s) Affected:

  • BlackBerry Desktop Software 6.0
  • BlackBerry Desktop Software 6.1
  • BlackBerry Media Sync
  • BlackBerry® Desktop software 6.0.2 and 6.1 
  • BlackBerry® Media Sync

When starting up the BlackBerry® Desktop software, the application can close out due to different reasons which can be investigated by obtaining the BlackBerry Desktop logs. With a default installation of the BlackBerry Desktop software, the logs can be found in the C:\Documents and Settings\<user>\Application Data directory labeled Rim.Desktop.Exception.log.


During the startup of the BlackBerry® Desktop software, BlackBerry Media Sync attempts to verify the folder location for media files that it syncs to. If the folder or folders are missing, this will cause the application to halt and close out in the process. The following lines can be seen in the log:

Microsoft.Practices.Composite.Modularity.ModuleInitializeException: An exception occurred while initializing module 'MediaSyncApplication'.

    - The exception message was: The type initializer for 'Rim.Application.Utilities.Constants.ConstantFolders' threw an exception.

    - The Assembly that the module was trying to be loaded from was:Rim.Desktop.Media, Version=, Culture=neutral, PublicKeyToken=null

    Check the InnerException property of the exception for more information. If the exception occurred while creating an object in a DI container, you can exception.GetRootException() to help locate the root cause of the problem.

   ---> System.TypeInitializationException: The type initializer for 'Rim.Application.Utilities.Constants.ConstantFolders' threw an exception. ---> System.UnauthorizedAccessException: Access to the path 'C:\Music' is denied.


 Create the folder that is indicated it is searching for in the logs.


By downloading, accessing or otherwise using the Knowledge Base documents you agree:

   (a) that the terms of use for the documents found at apply to your use or reference to these documents; and

   (b) not to copy, distribute, disclose or reproduce, in full or in part any of the documents without the express written consent of RIM.

Visit the BlackBerry Technical Solution Center at