Can’t delete messages on Blackberry Device

Posted on June 30th, 2008 in Black Berry by Gil Kreslavsky

I had this problem, and I didn’t want to wipe my device and run activation again ..

So why it happens?
The message list corrupts from some reason and as result BB OS cannot reference the message ID and delete the message.

Solution:

Conect your device with USB cable , run BB desctop Manager and select backup and restore.
Press on Backup , save the file on your local computer.
Then Pres Advanced on backup menu , select messages on Handheld DB and press Clear
Now the corupted messages list is cleared .
All you need to do is to restore it back.

Outlook status shows disconnected.

Posted on June 25th, 2008 in Excahnge 2003, Microsoft, Other, Outlook 2002 XP, Outlook 2003 by Gil Kreslavsky

On errors:

Mapi session “/o=COMPANY/ou=Europe/cn=Recipients/cn=User1? exceeded the maximum of 32 objects of type “session”.

Task “Microsoft Exchange Server” reported error (0×80040115): “The
connection to the Microsoft Exchange Server is unavailable. Outlook must be
online or connected to complete this action.”

Task ‘Microsoft Exchange Server’ reported error (0×8004011d): ‘The server is
not available. Contact your administrator if this condition persists.’

Don’t waste your time on profile recreation … It doesn’t help!!!

Things to check .

1.      Ping to exchange server by short name and FQDN

a. If no ping check connectivity and name resolution.

b. Consider adding exchange name/ip to hosts file

2.      Go to file and check if “Work Offline” is not checked

a. If it is uncheck it.

3.      If you have check point client try to

a. Disable security policy

b. Stop Vpn client

c. Remove checkpoint secure remote “v” on local area connection properties ( do it only for testing – remember if you remove the “v” user will be not able to dial VPN.

4.      Run Outlook.exe with rpcdiag switch “outlook.exe /rpcdiag” see where is hanging

5.      On exchange system manger open user related mailbox store in logons section check if user exceeded maximum of 32 connections to the store.

a. If do : To solve this problem for this user, download the sysinternals tool called TCPView and run it on your Exchange server. You will see a whole bunch of connections. Work out the IP address of user, and then using TCP view terminate all sessions to that IP address.

b. Other option is to mount / unmount store – not recommended

6.      In order to Increase default 32 MAPI connections limit do the following things

a. Click Start, click Run, type regedit in the Open box, and then click OK.

Locate and then click the following registry sub key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem

If the Maximum Allowed Sessions Per User entry does not exist, do the following:

On the Edit menu, point to New, and then click DWORD Value.

Type Maximum Allowed Sessions Per User as the entry name, and then press ENTER.

Right-click the Maximum Allowed Sessions Per User entry, and then click Modify

Click decimal, type the value that you want to set in the Value data box, and then click OK.

Exit Registry Editor.

Click Start, click Run, type services.msc in the Open box, and then click OK.

Click the MSExchange Information Store service, and then click Restart Service.

Didn’t solve the problem ? Read Related Microsoft solutions

http://support.microsoft.com/kb/842022

http://support.microsoft.com/kb/830836

http://support.microsoft.com/kb/840835

http://support.microsoft.com/kb/821188

http://support.microsoft.com/kb/821188

http://support.microsoft.com/default.aspx?scid=898060

How to clean duplicate mailboxes with red X ( Error ID no. c1034ad6)

Posted on June 19th, 2008 in Excahnge 2003, Microsoft by Gil Kreslavsky

First let’s understand when it happens. After move of mailboxes between 2 exchange stores some times duplicate mailboxes remain .. When you try to delete them you receive error “The operation cannot be performed because this mailbox was already reconnected to an existing user.” ID no. c1034ad6.
So to delete the annoying mailbox go to active directory users and computers , select the user that holds both mailboxes run “exchange tasks” and select “remove exchange attributes” then go to duplicate mailbox with red X and reconnect the mailbox. When duplicate mailbox is connected you can delete him. After successful delete purge the red X mailbox and reconnect the old mailbox back..

I also found Microsoft Article related to this issue , seems that the problem is related to Exchange 2003 sp2  installation. You need to obtain hotfix in order to resolve the problem. http://support.microsoft.com/kb/940012

Configure BlackBerry Enterprise Server to work with LDAP instead MAPI

Posted on June 18th, 2008 in BES Server, Black Berry by Gil Kreslavsky

Reasons to do do the update.

If you receive errors

  1. Unable to initialize the MAPI using profile BlackBerry Server Management! Please contact your BlackBerry administrator.
  2. Unable to initialize the RIMDatabase class
  3. Unable to save configuration settings or statistics

If you are moving mailboxes across information stores and you don’t want to reboot server or restart services.

And if you are using multiple domains

Procedure

The LDAPDomain , LDAPSearch , LDAPport , LDApssl , LDAPALPSearch registry entries are used to configure the Lightweight Directory Access Protocol (LDAP) for the BlackBerry Enterprise Server. These registry entries allow the BlackBerry Enterprise Server to use LDAP instead of the default Messaging Application Programming Interface (MAPI) for specific functions.


LDAPDomain

The LDAPDomain entry configures the BlackBerry Enterprise Server to use a specific domain when performing LDAP searches.

Note: In an environment with multiple domains, the LDAPDomain key is required.

  1. Open the Registry Editor by clicking Start > Run . Type regedit and click OK .
  2. Go to the following path in the registry:
    • For BlackBerry Enterprise Server software version 4.0 and laterHKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Agents
    • For BlackBerry Enterprise Server software versions 3.5 and 3.6HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Servers\
  3. Create a new String Value called LDAPDomain and change the entry in the Value data field to the Global Catalog and Port that the BlackBerry Enterprise Server will use. If the BlackBerry Enterprise Server must connect to multiple Global Catalogs for name resolution, specify all of them in this value with their fully qualified domain names (FQDNs) as follows:: : :

Example : dc01.domain.com:389
<!– /* Font Definitions */ @font-face {font-family:”Cambria Math”; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:”"; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; font-size:11.0pt; font-family:”Calibri”,”sans-serif”; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:Arial; mso-bidi-theme-font:minor-bidi;} span.paracode {mso-style-name:paracode; mso-style-unhide:no;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:Arial; mso-bidi-theme-font:minor-bidi;} .MsoPapDefault {mso-style-type:export-only; mso-margin-top-alt:auto; mso-margin-bottom-alt:auto;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} –>

  1. Press ENTER .
  2. If you are not configuring other entries, close the Registry Editor.

LDAPSearch

The LDAPSearch entry is used for address resolution only.

  1. Go to the following path in the registry:
    • For BlackBerry Enterprise Server software version 4.0 and laterHKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Agents
    • For BlackBerry Enterprise Server software versions 3.5 and 3.6HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Servers\
  2. Create a new DWORD Value called LDAPSearch and change the entry in the Value data field to 1 .
  3. Select the Hexadecimal option and press ENTER .
  4. If you are not configuring other entries, close the Registry Editor.

LDAPport

The LDAPport entry configures the BlackBerry Enterprise Server to use a specific LDAP port for searches.

  1. Go to the following path in the registry:
    • For BlackBerry Enterprise Server software version 4.0 and laterHKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Agents
    • For BlackBerry Enterprise Server software versions 3.5 and 3.6HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Servers\
  2. Create a new DWORD Value called LDAPport and change the entry in the Value data field to the specific LDAP port that will be used.
  3. Press ENTER .
  4. If you are not configuring other entries, close the Registry Editor.

LDAPssl

The LDAPssl entry enables the use of LDAP over Secure Sockets Layer (SSL) for searches or lookups.

  1. Go to the following path in the registry:
    • For BlackBerry Enterprise Server software version 4.0 and laterGo to HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Agents
    • BlackBerry Enterprise Server software versions 3.5 and 3.6Go to HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Servers\
  2. Create a new DWORD Value called LDAPssl and change the entry in the Value data field to 1 .
  3. Select the Hexadecimal option and press ENTER .
  4. If you are not configuring other entries, close the Registry Editor.

LDAPALPSearch

The LDAPALPSearch entry is used for address lookups from the BlackBerry smartphone.

Note: This entry only applies to BlackBerry Enterprise Server software version 4.1.

  1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Agents .
  2. Create a new DWORD Value called LDAPALPSearch and change the entry in the Value data field to 1 .
  3. Select the Hexadecimal option and press ENTER .
  4. Close the Registry Editor.