SportScope Logo

SportScope

 

 

> Home

About Me

Our Family

My Hockey Times

Other Activities

Gandharan's JUTLA's

Field Hockey

Microsoft® Exchange

MAILSweeper 4.3

RIM - Blackberry

Contact Me

 

http://www.jutla.com/images/topright.gif

 

 




Contents

Updates page

Removing CAPS on Pearl Device

Get Software and Trial Keys location

Encryption Error on Handheld

Errors cleared by Activation

Register CDO.DLL

Vodafone Live Icon
Message Tracking on BES

Exporting CAL Keys for the BES server

Setting up personal email

Reinstall the OS on devices

How Blackberry software works

Disaster Recovery for 3.6 BES server

Disaster Recovery for 4.0 BES Server - Knife Edge Cutover Process

BES 3.6 to 4.0 upgrade

Installing BES Manager on a Workstation

Useful Information/ links

Moving BB enabled mailbox - Steps to take

Info on recommended CDO versions

Finding location of registered CDO.DLL file

Rebuild BES 3.6 and SQL DB backups

To INCREASE THE MAXIMUM SIZE of the BES database

Wireless Reconcile & On Conflicts missing

The enterprise activation process stops responding at 11%, 12%, 59%, 60% or 96%.
Permissions on Exchange for BES

Connect a computer to the Internet using a GPRS BlackBerry as a modem




Updates page

To check the latest versions goto

https://www.blackberry.com/Downloads/entry.do?code=1141938BA2C2B13F5505D7C424EBAE5F

 

Exporting CAL’s

If you would like to backup the CAL's from your BES, do the following from DOS from the SQL/MSDE server:

c:\> bcp besmgmt..licensekeys out c:\keys.txt -c –T  /* Where besmgmnt is the database name */

 

To restore the keys

c:\> bcp besmgmt..licensekeys in c:\keys.txt -c -T

This will give you a backup of the keys and save them to the root of the c drive.


Removing CAPS on Pearl Device
I see the  "ABC" or "up arrow" indicators showing caps or numbers. However, this 

blocks the view to see the GPRS signal.  To stop these from appearing at the top right on the device ?

 

Options > Language > enable Suretype. To remove the CAPS, etc, press  the CAPS key.

 

BlackBerry Enterprise Server 4.1 for Microsoft Exchange – Trial Keys I have

You can get these keys by going to https://www.blackberry.com/eBES/trialOrderEntryForm.do;jsessionid=d430c89f67153d745920TR

BBTopologysm.jpg

 

Encryption Error on Handheld

DecryptDecompress() failed Tag=<value>

This message will occur when the user's encryption key has expired and needs to be regenerated.

On the users device go to OPTIONS > SECURITY (Also GENERAL SETTINGS on new devices).

Scroll down to the "Services" area and highlight "BlackBerry [sXXXXXXXXX] (3DES)", press the track wheel and select "Regenerate Encryption Key"

OR

go to Options > Security Options > General Settings > Services: Desktop [S123456], click on Desktop and Regenerate Encryption Key.

 

 

Errors cleared by Activation

Have the users go to the EA option on the device (8700). With this option open, have the user hold down the ALT key type the following "CNFG". It takes the user into another area. Scroll down to the "Wireless Sync" option and change the value from "Yes" to "No" and save it. Repeat the above again and set the "Wireless Sync" to "Yes". This performs a simulated EA again and replaces all the service books with updated ones.

 

Register CDO.DLL

Set all BES NT services to manual
Reboot BES, ?( therefore BES wont start.
CDO is in either exhcnage BIN directory of system32 dir, if you can;t find do a windows search for CDO.dll
type regsvr32 -u cdo.dll from a run command
rename CDO to CDOold.DLL
Then copy new CDO from your exchange server to relivant dir
type regsvr32 cdo.dll (this will register the new DLL)
change servcies back to auto and restart, thats it your done
gone through this process lots of times

 

regsvr32 "c:\program files\exchsrvr\bin\cdo.dll"

 

 Vodafone Live Icon

To get this to appear vodafone support have to dual provision it and vodafone live needs to be enabled.


Message Tracking on BES
Get the Refid of the message in question. Open the message on Handheld, press ALT and type VIEW. Refid will be listed If refId is positive, it means the message was sent from HH to BES, if negative the message was sent from BES to HH .

Then use Messageflow.exe to track the message flow
MessageFlow.exe -p E -u Usersemail@address.com -L "O:\Program Files\Research In Motion\BlackBerry Enterprise Server\Logs\subfolder"


Setting up personal email

www.mobileemail.vodafone.net

 

Reinstall the OS

1.  Install JL_Cmder_v1.8.3.zip and JL_Cmder_v1.8.3_Installer.zip and wipe device

2.  Install the desktop first. Then install the OS for the HH. Plug the BB back in, and it should recognize it and ask you if you want to install the OS. You need both the DM and the OS to make this work.

 

Wireless Reconcile & On Conflicts missing
Problem:
I discovered that all Blackberry devices have had Email Reconciliation settings reset to: Delete on: Handheld & Mailbox. This also removes the options for Wireless Reconcile and On Conflicts.

Solutions: Delete the DESKTOP(CMIME) service book and resent the Service Books to devices and the ‘Wireless Reconcile’ and ‘On Conflicts’ menu items reappear.  Alternatively
delete all DESKTOP service Books and resend them then it should be fine.

 

The enterprise activation process stops responding at 11%, 12%, 59%, 60% or 96%.

 

The following entries appear in the Mail Agent (MAGT) logs:

 

[20528] (09/29 10:23:29):{0x56C} {user@domain.com} ConstructPIMFolder - Failed to open the contact folder for user (0x8004010f)

[40800] (09/29 10:26:26):{0x258C} {user@domain.com} Starting Address Book rescan

[40879] (09/29 10:26:26):{0x258C} {user@domain.com} No folders exist, rescan complete (type=1)

OR

[20530] (09/29 10:23:29):{0x56C} {user@domain.com} ConstructPIMFolder - Failed to open the memo folder for user (0x8004010f) [40856] (09/29 10:26:26):{0x56C} {user@domain.com} Starting Memos rescan

[40879] (09/29 10:26:26):{0x56C} {user@domain.com} No folders exist, rescan complete (type=3)

Note: This issue may also apply to the synchronization of contacts, tasks, or memos over the wireless network.

 

Reason

The following values do not match when viewing with a Messaging Application Programming Interface (MAPI) editor, such as Microsoft Foundations Classes MAPI (MFCMAPI), at the Root Container:

 

PR_IPM_CONTACT_FOLDER_ ENTRYID

OR

PR_IPM_NOTE_FOLDER_ ENTRYID

 

These values do not match their corresponding PR_ENTRYID at the Top of Information Store level.

 

Troubleshooting

Complete the following steps to determine if the problem is a result of PR_ENTRYID values that do not match:

On the BlackBerry user's computer, open the MAPI Editor (MFCMAPI).

Click Session and select Logon and Display Store Table.

If there are multiple MAPI profiles, select the BlackBerry smartphone user's mailbox from the list and click OK. If there is only one MAPI profile, go to step 5. 

Double-click Mailbox, and select Name.

Select Root Container and locate the PR_IPM_CONTACT_FOLDER_ ENTRYID or PR_IPM_NOTE_ENTRYID property.

Double-click PR_IPM_CONTACT_FOLDER_ ENTRYID or PR_IPM_NOTE_ENTRYID and note the binary value.

Expand Root Container.

Expand Top of Information Store.

Select Contacts or Notes and locate the PR_ENTRYID.

Note: The PR_ENTRYID is alternatively referred to as PR_ENTRYID, PR_MEMBER_ENTRYID.

Double-click the PR_ENTRYID and note the binary value.

Compare the binary values found in steps 6 and 10. If these values do not match, the BlackBerry Enterprise Server will be unable to synchronize contacts, tasks, or memos, because the value at the Root Container is used to locate the entry in the

 

Connect a computer to the Internet using a GPRS BlackBerry as a modem

You can get the weblink at http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB05178&sliceId=SAL_Public&dialogID=95516231&stateId=1%200%2095512936 but I have also listed it below incase the link stops working in the future.

 

Support for tethered modem use - ( Doc ID : KB05178)

For:

BlackBerry® Desktop Software 4.1 and later

BlackBerry® 7100 Series , BlackBerry® 7250 smartphone, BlackBerry® 7290 smartphone, BlackBerry® 8300 smartphone, BlackBerry® 8700 Series, BlackBerry® 8800 Series, BlackBerry® Pearl™ 8100 smartphone

 

OS:

Microsoft® Windows® 2000 and Windows XP

 

Details

A BlackBerry smartphone (with tethered modem capability) can be used as an external modem to connect a laptop computer to the Internet. When attempting to use a BlackBerry smartphone for this purpose, some support is available.

 

Research In Motion (RIM) supports the Standard Modem Driver. This driver is installed with BlackBerry® Desktop Manager. After installing BlackBerry Desktop Manager, the modem should appear in Windows® Device Manager. Use the steps below to check the Device Manager:

 

1.  Right-click the My Computer icon on the desktop, or go to the Start button and right-click My Computer from the Start menu.

2.  Click Properties from the menu that appears.

3.  Go to the Hardware tab in the System Properties window.

4.  Click the Device Manager button. This will open the Device Manager.

If the Standard Modem Driver is not shown in the Windows Device Manager, see KB04129

 

To connect a computer to the Internet using a GPRS, EDGE or UMTS BlackBerry smartphone as a tethered modem, see KB05196 or see the steps below

 

Connect a computer to the Internet using a GPRS, EDGE, or UMTS BlackBerry smartphone as a tethered modem

Doc ID : KB05196

 

Procedure

A BlackBerry smartphone with tethered modem capabilities can be used as an external modem to connect a computer or laptop computer to the Internet.

 

To set up a tethered modem, complete the following tasks:

 

Task 1

Install BlackBerry Desktop Software 4.1 or later on the computer.

When you install BlackBerry Desktop Software, the drivers that allow the BlackBerry smartphone to communicate through the Universal Serial Bus (USB) port and virtual COM port are installed. The Standard Modem, which is used by dial-up networking, is also installed.

 

Note: If upgrading your BlackBerry Desktop Software from version 4.0 to 4.1, the required Virtual COM Port and Standard Modem might be removed during the upgrade process. If this is the case, re-install the BlackBerry Desktop Software 4.1 or later and choose the Repair option to re-install these components.

 

Task 2

Set up an Internet APN.

Click Start > Settings > Control Panel.

Double-click Phone and Modem Options.

In the Phone and Modem Options window, click the Modems tab.

Select Standard Modem and click Properties.

Click Change Settings. 

In the Standard Modem Properties window, click the Advanced tab.

In the Extra initialization commands field, type the following:

+cgdcont=1,"IP","<your Internet APN>"

 

Note: The following is applicable for T-Mobile® customers only:  The extra initialization command is: +cgdcont=1,"IP","wap.voicestream.com"

Note: If you do not know your Internet APN, or if you do not have an Internet APN, contact your service provider.

 

Click OK.

In the Phone and Modem Options window, click OK.

 

Task 3

To configure dial-up networking, complete the procedure that is appropriate to the operating system you are using:

Microsoft Windows Vista

Click Start > Control Panel > Hardware and Sound > Phone and Modem Options

 

If you are opening Phone and Modem Options for the first time, a dialog box displays prompting you to enter an area code and access codes.

 

Windows XP operating system

Click Start > Settings > Network Connections.

Double-click New Connection Wizard. The New Connection Wizard opens.

Click Next.

Select the Connect to the Internet option. Click Next.

Select Set up my connection manually. Click Next.

Select Connect using a dial-up modem. Click Next.

If the Select a Device screen appears, select the Modem - Standard Modem check box. Click Next.

In the ISP Name field, type a name for your connection. Click Next.

In the Phone number field, type *99#. Click Next.

Indicate which users will have access to the connection. Click Next.

Type the user name and password provided by your service provider. Click Next.

Click Finish.

In the Connect window, click Properties.

In the Properties window, verify that Modem - Standard Modem appears beneath the Connect using heading, and then click Configure.

In the Modem Configuration window, clear the Enable hardware flow control check box and make sure none of the other check boxes are selected. Click OK. In the Properties window, click OK.

Microsoft Windows 2000 operating system

 

Click Start > Settings > Control Panel.

Double-click Network and Dial-up Connections.

Note: The following is applicable for T-Mobile customers only:

 

Under the networking tab in the properties window for the dial-up connection, clear the Enable LCP Extensions check box, as well as every other box beneath the PPP window.

 

Double-click Make New Connection. The Network Connection Wizard opens.

Click Next.

Choose Dial-up to private network. Click Next.

In the Phone number field, type *99#. Click Next.

Indicate which users will have access to the connection. Click Next.

Type a name for your connection. Click Finish.

In the Connect window, click Properties.

In the Properties window, verify that Modem - Standard Modem is selected, then click Configure.

In the Modem Configuration window, clear the Enable hardware flow control check box and make sure none of the other check boxes are selected. Click OK.

In the Properties window, click OK.

 

Task 4

Connect to the Internet using dial-up networking.

Note: During this procedure, do not operate the BlackBerry® Browser or any third-party applications on the BlackBerry smartphone. An active data session may interfere with the modem connection. Also, make sure an ethernet connection is not active at the same time.

1.     Connect the BlackBerry smartphone to the computer.

2.     Open BlackBerry Desktop Manager.

3.     Click Start > Settings > Network Connections > <name of your new connection>.

4.     Type the user name and password provided by your service provider.

5.     Click Dial.

 

Or to connect a computer to the Internet using a CDMA or EVDO BlackBerry smartphone as a tethered modem, then see KB04664.

 

Standard Modem device not installed with BlackBerry Desktop Software 4.0 Service Pack 1

Doc ID : KB04129

BlackBerry® Desktop Software 4.0 Service Pack 1

 

Problem

The Standard Modem device, used for internet protocol (IP) modem functionality, does not appear in Microsoft® Windows® Device Manager after installing BlackBerry Desktop Software 4.0 Service Pack 1. Normally, the Standard Modem device is created when the BlackBerry Desktop Software is installed, as shown below.

 

Resolution 1

Download BlackBerry Desktop Software 4.0 Service Pack 1 or later.

Install the software on your computer.

After installing the BlackBerry Desktop Software, verify that the Standard Modem device is installed.

 

Resolution 2

In rare circumstances, the modem driver mdmgen.inf might not be included in the installation of your Microsoft Windows operating system. This file is required for a successful installation of the Standard Modem device. To resolve this issue, check KB03981 or the steps are written below

 

The mdmgen.inf file is missing from the INF folder on your computer. This file contains driver definitions for the modem. It is required to create the Standard Modem device.

 

Resolution Summary

Perform one of the following procedures:

Copy the mdmgen.inf file from another computer.

Copy the mdmgen.inf file from the Windows XP CD.

 

Resolution 1

Copy the mdmgen.inf file from another computer. Make sure the BlackBerry device is disconnected from the computer during this process.

 

Find a computer running the same version of Windows XP, including the same service packs.

On that computer, click Start>Run and type %systemroot%\inf. Click OK.

Windows Explorer opens the INF folder.

Locate the mdmgen.inf file, then transfer it to the target computer (e.g., as an email attachment).

On the target computer, go to Start>Run and type %systemroot%\inf. Click OK.

Windows Explorer opens the INF folder.

Save the mdmgen.inf file in the INF folder.

Perform a clean uninstall of the BlackBerry desktop software. For instructions, see KB02206.

Restart the computer.

Re-install the desktop software.

Open Windows Device Manager and verify that the Standard Modem device is created.

In the Control Panel, double-clickSystem.

On the Hardware tab, click Device Manager.

Expand Modems. The Standard Modem device should appear

 

Resolution 2

Copy the mdmgen.inf file from the Windows XP CD. Make sure the BlackBerry device is disconnected from the computer during this process.

 

Insert the Windows XP CD into the computer.

Open Windows Explorer and browse to the I386 folder on the Windows XP CD.

Copy the mdmgen.inf file.

Click Start>Run and type %systemroot%\inf, then clickOK.

Windows Explorer opens the INF folder.

Paste the mdmgen.inf file into the INF folder.

Rename the mdmgen.inf file tomdmgen.cab.

Double-click the mdmgen.cab file.

Windows Explorer displays the mdmgen.inf file stored inside the mdmgen.cab file.

Copy the mdmgen.inf file and paste it in the INF folder.

Perform a clean uninstall of the BlackBerry desktop software.

Restart the computer.

Re-install the desktop software.

Open Windows Device Manager and verify that the Standard Modem device is created.

In the Control Panel, double-clickSystem.

On the Hardware tab, click Device Manager.

Expand Modems. The Standard Modem device should appear

 

Workaround

If you are unable to perform the resolution, install the Standard Modem device manually.

Note: BlackBerry Desktop Software 4.0 Service Pack 1 must already be installed on your computer.

 

Open the Control Panel and double-click the Phone and Modem Options icon.

Click the Modems tab.

Click Add. The Add Hardware Wizard window appears.

Select the Don't detect my modem, I will select it from a list check box and clickNext.

Select one of the 56000 bps modems from the Models list and click Next.

Select Selected ports.

Select the COM port where the RIM Virtual Serial COM Port is installed and click Next. This port is usually COM3.

When the modem has finished installing, click Finish.

Verify that the Standard Modem device is installed.

 

HOW BES WORKS

Email sent to Mailbox

 

The BES3.6 and earlier polls the users' mail server after X secs intervals.

 

When you increase the wait period (interval) before the BES polls the mail server again, each enabled user has received more messages in their Inbox pending redirection. The BES service has slightly more messages per user to scan than it would if at the optimized 20secs interval. Which by the way is arrived by, as was explained by a developer, a mathematical principle called "system optimization". Using 2nd/3rd order differentials.

 

The BES service also has to route these messages and check for retrys for devices not responding (similar to what the domino mail router does). Remember that each user is allowed only 5 messages on the wireless network and the queue is monitored by the BES service.

 

So if a user gets 5messages/sec in a min that user would have 300messages. Therefore, at 20sec intervals that user would have 100messages. At 30sec intervals that same user would now have 150messages. That 10secs has resulted in an extra 50messages.

 

The wireless network will only accept 5messages/user (this is to prevent spamming on the network). Messages are sequentially tagged and handled by the BES service. So later messages will never arrive before earlier ones. It's technically impossible to route 150messages as fast as 100messages...given the randomness of size differentials. Mail routing is a time dependent task.

 

How long does a scan take...depends on the amt users + amt new docs/user (in the Inbox) + no filters/user.

Hence the reason a heavy mail user would tend to notice delays more frequently than a light user (especially if they have dual access to email client).

 

If you add network latency issues to the mix, it makes it a bit worse.

 

Email sent from a handheld

 

1. Message is sent from handheld: The user sends a message from the handheld. On the handheld, the message is assigned the RefId. If the message is a meeting invitation or calendar item, the handheld appends the calendar information to the message.

2. Compresses and encrypts: The handheld compresses and encrypts the entire message.

3. Sends to the BlackBerry Enterprise Server: The message is sent to port 3101 over the wireless network to the BlackBerry Enterprise Server.

4. Decrypts and decompresses: The BlackBerry Dispatcher uses the user encryption key to decrypt and decompress the message. If the message cannot be decrypted using the unique encryption key, the BlackBerry Enterprise Server ignores the message and sends an error to the handheld.

5. Delivers to mailbox: The Messaging Agent places the message in the user's Microsoft Exchange mailbox.

6. Copied in Sent folder: The Messaging Agent places a copy of the message in the Sent Items folder in the desktop email program. This step does not take place if the Don't save a copy to the Sent Items folder option is enabled in the user settings and that setting is permitted on the BlackBerry Enterprise Server.

7. Routes to recipients: The Microsoft Exchange Server routes the message to the recipients. As a result, a message that is sent from the handheld is the same as a message that is sent from the desktop; messages originate from the user corporate email address, and, if necessary, a copy is placed in the Sent Items folder.

 

Disaster Recovery for 3.6 BES server

SUMMARY

SRP Identifier + SRP Auth Key + BES Admin Account + BES Virtual Server name

 

keep all of those the same and you won't have any issues. you can do a fresh install, upgrade to SP5, etc. without having to worry about users having to recradle. the database contains IT Policy information, so you will want to keep that, most likely.

 

IP address and server name changes won't affect it, so long as you keep the BES virtual server as the same name.. . . . . but it would be smart part to add a disclaimer stating something along the lines of 'if you do experience any issues, recradle your handheld'

 

OPTION 1

All the users are in the BES admin mailbox. If you create an identical BES server with SAME SRP name and ID using the same BES admin mailbox and fire it up, It will populate all the users. You could even do it with a new database except you would loose any IT policies you may have. The database in 3.6 is mostly used for management and historical information.

 

Here was my DR scenario for 3.6:

We had a standby server with BES installed using same SRP, BESADMIN mailbox and keys.

Don't start the services.

If the main server goes down, we just start services on the failover box and mail continues to flow, no need for anyone to cradle or anything.

 

The only difference in my scenario is I have a shared SQL database but you could have seperate MSDE databases on each server and if you wanted the Database data from the original server and where backing it up, you could just attach it to your failover server

 

OPTION 2

With BES 3.6, the user list remains intact and pulls from the BES Admin mailbox, I believe. Ask yourself one question - "Do we enable the use IT Policy on the BES?" If the answer is "No", then you do not even have to worry about backing your database up or restoring it in the event of a failure. In 3.6, it stores the IT Policy configuration and your License Keys.

 

The keys to a cutover would be SRP Identifier, SRP Authentication Key, BES Admin mailbox/account, BES Instance name (Virtual Server name). That will be all you need to bring up the BES and have no real interruption for the users (on any handheld OS version). Make sure you have all 4 items in check, though. So if your BES Instance name is PRODBES11, then make sure you put it down as PRODBES11 on the new server (by default, I believe it tries to install as SERVERNAME1, so set that portion manually).

 

If you do use IT Policy for your users, then you will need to shut down the MSDE/SQL services on the old BES and be sure to copy the MDF/LDF files to the new BES. I wouldn't worry about replicating the database unless you make changes to the IT Policy. You could alternatively recreate the policy on the new BES by hand if its not complex. Or you could just export the values and import (I believe these are on this forum somewhere).

 

OPTION 3

One way we do it is to have an image (Ghost) of the BES server. I have the DB backed up nightly. If the server were to "crash & burn" we could get the same hardware, re-image it, and restore the DB from backup. I have to export the user list every so often but, this way it is simplistic

 

DR Process for BES 4.0

The Knife Edge Cutover Process for Blackberry Enterprise Server for Disaster Recovery Purpose. The following describes how to effectively perform a cutover from a Production to the DR box in the event of DB / Hardware Failure.

 

This process does not require the users to recradle their devices, it is seamless from the users perspective.

Things to know prior to attempting Cutover

 

The current Production blackberry environment is running Blackberry Enterprise Server 4.0 with SP4.  Remote SQL DB

Exchange Server Name (BES Admin Mailbox):                 

Name of Current Blackberry Server:                                   

MAPI Mailbox Name:                                                           

BES Service Account:                                                                           

Service Account Password:                                                                 

IP address of Server:                                                                             

BES Virtual Server Name:                                                     

SRP Key:                                                                                               

SRP Authentication Key:                   

SQL Server:                                                                                          

SQL Database Name:                                                                          

CAL Authentication Key:                   

 

Failover Server

Ensure port 3101 is open to the External world and the same Firewall rules have been applied as those to the production server.

FailOver Server Name:                                         

Logon account name:                                                                          

 

Installation Process on the Failover server

·          Enter “193.109.81.33              srp.eu.blackberry.net” in the hosts file – This is to ensure you can ping the RIM Network

·          Install Exchange System Manager and Upgrade to SP2

·          Disable all the Production BES services

·          Install the New Blackberry Server using the Same Virtual Blackberry Server Name

·          Install using the default or same Installation & Log folders

·          Use the same BES Admin Account

·          Enter the DR SQL Server and DR DB names

·          Select “Test Network Connection”  and get a Successful connection

·          Validate SRP key and ID

·          Validate the MAPI Profile server name and BES Admin mailbox

·          Start All services and Finish.  Ensure all Services Running.

·          Start BES Manager, select USB port and apply.

·          Enter the same SRP Key and SRP Authentication Keys (if asked)

·          Enter all the existing CAL Keys (above)

·          Apply BES Service Pack 4, and accept all installation defaults

·          Ensure all is working OK.

·          Recover Production Server.

·          Stop and disabled these BES services here before installing BES back on the production server.

 

 

BES 3.6 to 4.0 upgrade

With any application upgrade, its always best to have a clean install. However, there is an upgrade path you can take that is painless as well.

 

If you do not use IT Policy with your corporation, then I'd suggest uninstalling and doing a clean upgrade. Its less of a headache and just easier, so long as you remember to export your user list (or atleast write down the users' names) and keep the SRP ID+SRP Auth Key+BES mailbox/svc acct+BES Virtual Server name the same on the new installation.

 

Once installed, add the users back, choosing to NOT delete any existing information/statistics - they won't even have to recradle.

summary

1) Export user list, backup management database, etc.

2) Uninstalled MSDE 7

3) Uninstalled BES 3.6

4) Installed MSDE 2000

5) Installed BES v4.0

6) Imported users

7) Installed SP1 and Hotfixes

 

Useful Info

 

1.     IT Policy Reference Guide: http://www.blackberry.com/knowledgecenterpublic/livelink.exe?func=ll&objId=1139827&objAction=browse&sort=name.

2.     For Delegate/Wireless Calendar issues, see: http://www.blackberryforums.com/general-blackberry-discussion/30045-delegate-deletes-calendar-appointments.html. Microsoft KB may be useful:

http://support.microsoft.com/?kbid=202517.

3.     Info on short cuts: http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB02867&sliceId=SAL_Public&dialogID=12616387&stateId=1%200%2012614397.

 

Product Documentation is located at: http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/8067/645045/7963/customview.html?func=ll&objId=7963&objAction=browse&sort=name.

 

Also, knowledge base articles for support can be searched from the BTSC: www.blackberry.com/btsc.

  

Some External Sites and Forums:

http://www.howardforums.com/

http://www.pinstack.com/blackberryforums/

http://www.blackberrycool.com/

http://blackberryblog.com/

http://www.ibbug.org/

http://www.blackberryforums.com/

http://www.jiveslide.com/

 

 Info on recommended CDO versions:

 Exchange 5.5

 

 

 

Mail Client

CDO Version

MAPI 32 Version

MS Article

Outlook 2003

5.5.2657.55

5.5.2653.12

Hotfix (including CDO) - 818709

 

 

 

 

Exchange 2000

 

 

 

Mail Client

CDO Version

MAPI 32 Version

MS Article

Outlook 2003

6.0.6487.2

6.0.6487.1

824282 - Post SP3 Rollup (Sept)
*No Current Issues

Outlook 2003

6.0.6556.0

6.0.6556.1

NOT RECOMMENDED!

Outlook 2003

6.0.6603.0

6.0.6603.0

870540 – Post SP3 Rollup (August)
*No current issues

 

 

 

 

Exchange 2003

 

 

 

Mail Client

CDO Version

MAPI 32 Version

MS Article

Outlook 2003

6.5.6980.3

6.5.6944.0

823343 - CDO Hotfix

Outlook 2003

6.5.7226.0

6.5.7226.0

SP1 for Exchange 2003
ISSUE: Memory leak in EMSMDB32.dll

Outlook 2003

6.5.7638.2

6.5.7638.1

SP2 for MS Exchange 2003
- Requires BES 3.6 SP7 or 4.0 SP4.

 

 Installing BES Manager on a Workstation

Here are the basic instructions on how to install the BES manager on a workstation.

 

1. Run setup.exe from  BES install files

2. In the "Setup Type" section: Select "Blackberry Manager" from the list of components to install

3. The next screen will show you a list of prereqs and will state whether you meet them or if there are some it needs to install or some that you need to install.  It should be noted here that one of these prereqs is the mapi32.dll, but if you have Outlook installed, that is sufficient and you don't need to install Exchange System Manager.

4. select install

5. Next is the Database Settings screen. It will automatically choose "Remote" and default the DB name to "BESMgmt", Port 1433. Enter the name of the server where the BB database resides. Choose the Authentication type: Windows or SQL

6. Installation complete and reboot

7. If it doesn't open automatically on reboot, Open the Blackberry manager from Start -> Programs -> Blackberry Enterprise Server -> Blackberry Manager. You will immediately get an error about the MApi profile not existing. Click OK.

8. In the profile screen, enter the Exchange server name and the blackberry mailbox name. Click Ok.

9. The Blackberry manager will then open and you now have as much access as you have assigned that for the currently logged in user account.

 

To INCREASE THE MAXIMUM SIZE of the BES database.

Do thefollowing:

1. Open a command prompt from the machine running MSDE.

2. Type osql -E and press enter; 1> is displayed.

3. Type alter database besmgmt modify file (name=besmgmt, maxsize=2gb) and press enter; 2> is displayed.

4. Type go and press enter; 1> is displayed.

5. Type exit and press enter to exit out of osql command.

6. Restart the Dispatcher service.

 

the error you will get before doing this process is:

"Failed to add user to BES serevr. Please ensure that teh exchange server that hosts the BES admin mailbox and users mailbox is running and u have sufficient permissions and no network issues"

 

Rebuild BES 3.6 and SQL DB backups

Question :

Need to totally rebuild BES 3.6 server due to problems outside of BES. How to backup all the database, rebuild and reattach all the handhelds afterwards

Soln.

Do a maintenance plan, backup the transaction logs and database.

The following is our procedure which has bee tried and tested - it includes the install of SQL 2KSp3:

Prerequisites

In order to complete this procedure, the following will/may be required:

* A server machine running an operating system capable of supporting Microsoft SQL Server 2000 SP3, e.g. Windows 2000 Server or Windows 2003 Server.

* Optionally, a existing instance of SQL Server 2000 can be used. However, please note that Mixed-mode authentication needs to be enabled, and that the sa account password may be different from that used on a BES SQL database.

* Installation sources for SQL Server 2000 SP3 (Unless an existing instance is used).

* A recent backup of the BESMgmt data (BESMgmt_db_xxxxxxxxxxxx.BAK) and transaction log (BESMgmt_tlog_xxxxxxxxxxxx.TRN).

Installing Microsoft SQL Server on the server computer

Note: if there is already a suitable SQL Server that can be used as the BES SQL Server, this stage can be omitted. A suitable server will need to have SQL Server SP3 applied and have Mixed-Mode authentication enabled.

1. Install Microsoft SQL Server on the machine hosting the server with the following options, accepting the defaults otherwise. However, depending on the server build, it may be appropriate to locate the data and log files on separate volumes.

* SQL Server (Mixed-Mode) Authentication

* The sa password should be ***********

* Service account should be domain\BESAdmin account

2. Install SQL Server Service Pack 3 on the server, accepting the defaults.

3. Check that SQL Server can be accessed remotely by creating a connection in Enterprise Manager on a remote PC, using the sa login details.

Restoring the BESMgmt database from a backup


The following procedure can be carried out either on the server itself, or from a remote machine, using the Enterprise Manager and Query Analyser software packages.

1. Copy the most recent .BAK and .TRN backup files to a location on the server that is hosting the SQL Server database.

2. Determine the location of the Data folder for SQL Server. It is normally contained in the MSSQL folder which is installed by default at C:\Program Files\Microsoft SQL Server\MSSQL\Data, but is often moved to another drive, e.g. D:\MSSQL\Data.

3. Start the Query Analyser application (part of the SQL Server Client Tools) and connect to the current SQL Server. Log in with the sa account.

4. Enter the SQL script from Appendix A into the right-hand pane of Query Analyser.

5. Replace the placeholders (identified by <>) with the correct values for the server in question, as detailed in Appendix A.

6. Click the button on the toolbar to start the script running. It may take several seconds to run.

7. When completed, it should return results like the following:

 

Processed 6936 pages for database 'BESMgmt', file 'BESMgmt' on file 1.

Processed 1 pages for database 'BESMgmt', file 'BESMgmtLog' on file 1.

RESTORE DATABASE successfully processed 6937 pages in 4.468 seconds (12.717 MB/sec).

Processed 163 pages for database 'BESMgmt', file 'BESMgmtLog' on file 1.

RESTORE LOG successfully processed 163 pages in 0.197 seconds (6.762 MB/sec).

 

8. If the script failed, double-check the file paths and the location of the Data folder and run the script again. If the script still fails, try the next most recent backup files.

 

Moving BB enabled mailbox - Steps to take

These are the steps that you will need to do to re-establish the connection between the blackberry and the mailbox again

 

1.  Remove Blackberry from the cradle

2.  Reset it the blackberry by removing the battery case and using a paper clip-> press RESET notch or by pressing ALT+Right SHIFT+BACKSPACE/SPACEBAR together

3.  Reboot your machine/workstation

4.  Log back onto the network and outlook

5.  Insert BB into cradle  - let it connect fine and synchronise

6.  unplug the BB device from the cradle

7.  send Test message to yourself from outlook (desktop) -> message should appear in BB device. ->sometimes it takes about 5-10 mins for messages to appear.

 

At this point if you receive the message on the blackberry, the test is completed successfully.

To check where the registered CDO.dll file is on BES Server
Goto Start > Run and type regedit. Click OK.
On the HKEY_CLASSES_ROOT folder to expand the folder and verify you have the following regkey:
HKEY_CLASSES_ROOT\CLSID\{3FA7DEB3-6438-101B-ACC1-00AA00423326}
If you have this registry key, the CDO.dll file is registered on the BlackBerry Enterprise Server.

To check the location for the registered CDO.dll file
Double-click the folder for the registry key.
Click the InprocServer32 folder.
Check the path beside (Default), this is the path of the registered CDO.dll file.

Assigning Permissions for BES administration account 
Microsoft® Exchange 2000, 2003 and 2007 / BlackBerry® Enterprise Server software version 3.5 and later for Microsoft®


Details

The following permissions can be assigned for the BlackBerry Enterprise Server administration account:

1.     Local Administrator rights on the BlackBerry Enterprise Server

2.     Local Security Policy permissions for the administration account

3.     Microsoft Exchange permissions at the Administrative Group level

4.     Microsoft Exchange permissions at the Microsoft Exchange Server level

5.     Send As permission at the Domain level

6.     Database permissions for managing the BlackBerry Configuration Database


To assign the appropriate permissions, complete the tasks below.

Note: The BlackBerry Enterprise Server service account should be only a Domain User, not a Domain Administrator. See KB04557 for more information.


Task 1

To assign Local Administrator rights to the BlackBerry Enterprise Server administration account, complete the following steps:


On a Domain Controller

1.     Go to Start > Programs > Administrative Tools > Active Directory Users and Computers.

2.     Select the Builtin folder.

3.     Double-click Administrators.

4.     On the Members tab, click Add.

5.     Select the BlackBerry Enterprise Server administration account name (for example, BESAdmin), and then click Add.

6.     Click OK.

7.     Click OK again.

On a Member Server

1.     Click Start > Administrative Tools > Computer Management.

2.     In the left pane, expand System Tools and click Local Users and Groups.

3.     In the right pane, double-click Groups.

4.     Right-click Administrators and click Properties.

5.     In the Select Users, Contacts, Computers, or Groups window, select the BlackBerry Enterprise Server administration account name.

6.     Click OK.


Task 2

To assign Local Security Policy permissions to the BlackBerry Enterprise Server administration account, complete the following steps:


Note: This allows the BlackBerry Enterprise Server administration account to access the local computer and run the BlackBerry Enterprise Server software as a Microsoft® Windows® Service.


1.     Click Start > Administrative Tools> Local Security Policy.

If the computer is a domain controller, click Start > Administrative Tools> Domain Controller Security Policy.

2.     In the Local Securities window, click Local Policies > User Rights Assignment.

3.     Do one of the following:

o    For Microsoft® Windows Server® 2000, double-click Log on Locally.

o    For Microsoft Windows Server® 2003, double-click Allow Log on Locally.

4.     Click Add User or Group.

5.     Select the BlackBerry Enterprise Server administration account name and click Add.

6.     Click OK.

7.     In the Local Security Settings window, double-click Log On As a Service.

8.     Click Add User and select the BlackBerry Enterprise Server administration account.

9.     Click OK.


Task 3

To assign Microsoft Exchange Server permissions at the Administrative Group level, complete the following steps for your environment:


Note: This allows a system administrator to manage BlackBerry smartphone users and groups.


On Microsoft Exchange 2000/2003

1.     Go to Start > Programs > Microsoft Exchange > System Manager.

2.     Select Administrative Groups.

3.     Right-click First Administrative Group and select Delegate Control.

4.     In the Exchange Administration Delegation Wizard, click Next, and then click Add.

5.     Click Browse and select the BlackBerry Enterprise Server administration account.

6.     Click OK.

7.     In the Role drop-down list of the Delegate Control window, select Exchange View Only Administrator.

8.     Click OK to add the BlackBerry Enterprise Server administration account to the Users and Groups list.

9.     Click Next, and then click Finish.

On Microsoft Exchange 2007

To set an Exchange View Only Administrator role

1.     Open Windows PowerShell, and then open a command prompt window.

2.     In the command prompt window, type the following line and press ENTER:

add-exchangeadministrator <BESAdmin> -role ViewOnlyAdmin

where <BESAdmin> is the name of the BlackBerry Enterprise Server administration account.


To check an Exchange View-Only Administrator role

1.     Open Windows PowerShell, and then open a command prompt window.

2.     At the command prompt window, type the following line and press ENTER:

get-exchangeadministrator | Format-List

Verify that the BlackBerry Enterprise Server administration account has a role of ViewOnlyAdmin.


Task 4

To assign Microsoft Exchange Server permissions at the Microsoft Exchange Server level, complete the following steps:

On Microsoft Exchange 2000/2003

1.     Go to Start > Programs > Microsoft Exchange > System Manager.

2.     Select Administrative Groups > First Administrative Group > Servers.

3.     Right-click the Microsoft Exchange Server name and select Properties.

4.     On the Security tab, select the BlackBerry Enterprise Server administration account.

5.     From the Permissions list, select the following permissions:

o    Administer Information Store

o    Send As

o    Receive As

6.     Click the Advanced button and ensure that the option Select the Allow inheritable permissions from parent to propagate to this object and all child objects is checked.

7.     Click OK.

Note: Repeat the above steps for each Microsoft Exchange Server within the routing group that will be hosting mailboxes for BlackBerry smartphone users who have accounts on a BlackBerry Enterprise Server.

 

On Microsoft Exchange 2007

To set Send As, Receive As, and Administer Information Store permissions

1.     Open Windows PowerShell, and then open a command prompt window.

2.     At the command prompt window, type the following line, and then press ENTER:

get-mailboxserver Exchange2007 | add-adpermission -user <BESAdmin> -accessrights GenericRead, GenericWrite -extendedrights Send-As, Receive-As, ms-Exch-Store-Admin

where Exchange 2007 is the name of the Microsoft Exchange 2007 Server and <BESAdmin> is the name of the BlackBerry Enterprise Server administration account.


To check the Send As, Receive As, and Administer Information Store permissions

1.     Open Windows PowerShell, and then open a command prompt window.

2.     At a command prompt, type the following line, and then press ENTER:

                get-mailboxserver Exchange2007 | get-ADpermission -user BESAdmin | Format-List


On Microsoft Exchange 5.5

The BlackBerry Enterprise Server administration account requires the Service Account Admin permissions on the Site container and Configuration container.


Task 5

To grant the Send As permission on a single account for all BlackBerry device users in a Microsoft® Active Directory® domain or container, complete the following steps:

1.     Open Active Directory Users and Computers.

2.     From the View menu, select the Advanced Features option.

Note: If this option is not selected, the Security page will not be visible for domain and container objects.

3.     Right-click the appropriate domain or container and click Properties.

4.     On the Security tab, click Advanced.

5.     If the BlackBerry Enterprise Server administration account that requires the Send As permission is not listed, click Add and select the BlackBerry Enterprise Server administration account name.

6.     Click OK.

7.     Double-click the BlackBerry Enterprise Server administration account name.

8.     In the Applies Onto list, select User Objects.

9.     Select the Send As check box.

10.   Click Apply, and then click OK.

11.   Close the Properties window, and then close Active Directory Users and Computers.


Note:
For additional methods of assigning the Send As permission, search for article 912918 in the Microsoft Support Knowledge Base.


Task 6

To assign the required permissions for managing the BlackBerry Configuration Database, see Task 2 in KB03112.

For additional information on the permissions that are required to manage the BlackBerry Configuration Database, see KB03633.

 


 

Additional Information

Microsoft Exchange 2007 is supported in BlackBerry Enterprise Server software version 4.1 Service Pack 3 and later.

If you have a Microsoft SQL Server, assign the Server roles by completing the following steps:


Note:
If you are using MSDE, skip this step.

1.     In the SQL Enterprise Manager, go to Microsoft SQL Servers/SQL Server Group/<SQL_server_name>.

2.     Expand the Microsoft SQL Server and expand security.

3.     Right-click Logins and click New Login.

4.     On the General tab, click the button next to the Name field.

5.     Select the new service account name from the Names list, click Add, and click OK.

6.     From the Server Roles tab, select Server Administrators and Database Creators from the Server Role list.

Note: If you are running BlackBerry Enterprise Server software version 4.1 or later, add the System Administrators role to add BlackBerry smartphone users in a role-based administration environment. For instructions, see the BlackBerry Enterprise Server for Microsoft Exchange: System Administration Guide.

7.     On the Database Access tab, select the check box for the BlackBerry Configuration Database (for example, BESMgmt).

8.     In the Database Roles for <BlackBerry_Configuration_Database_name> list, select the db_owner check box.

Refer to KB04293 for information on how to switch service accounts for BlackBerry Enterprise Server software versions 4.0 and 4.1


 

 

 

 

 

 

THIS IS FOR BES 3.6 and BES 4.0