Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

BES Server 5.04 Phone Not Receiving Messages

Posted on 2014-01-27
23
Medium Priority
?
607 Views
Last Modified: 2014-01-31
just completed SBS migration from 2003 to 2011; thanks again ALL for the help in resolving the issues we ran into
we have removed the old BES server that was working with the SBS2003 server
added the new BES server (separate from the SBS2011 and Exchange box)
setup users on the BES and all looked good up until a few hours ago! now the user mailbox is functioning without problems, we are getting all mail going to the mailbox and able to send and receive without issue
we checked the BES server and it showed last communication with the just minutes ago! but nothing is showing up on the phone but getting messages that were sent from the phone
I need help trying to find where the break is as I have restarted the BES server and still nothing
Need Help! All help is greatly appreciated! I will keep trying on my end to find resolution
thank you
delebute
0
Comment
Question by:David Elebute
  • 15
  • 8
23 Comments
 

Author Comment

by:David Elebute
ID: 39813465
added info
after BES server was restarted we saw a few messages
then it stopped working!
checking firewall settings etc. too; but strange that it only happened today at around noon for the blackberry phone to stop functioning properly after receiving a few messages
0
 
LVL 14

Assisted Solution

by:Mike Sullivan
Mike Sullivan earned 2000 total points
ID: 39813529
Hi delebute,

Have you used the IEMSTEST.EXE utility? You can find it in the Utility folder in the installation path. Open a command prompt, run IEMSTEST, accept the BlackBerry Server profile then select an affected user. Post the results in here.

Regards,

Mike
0
 

Author Comment

by:David Elebute
ID: 39813722
sorry mike was looking into the logs from the BES
where do I find the utility? in the BES or Exchange install path?
delebute
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 

Author Comment

by:David Elebute
ID: 39813912
disregard Mike my bad; wasn't thinking properly

here is the output

User: Mailbox opened successfully
User: Root Folder opened successfully
User: Folder created successfully
User: Test folder deleted successfully
User: MAPI test completed successfully
User: CDO Server Name: SERVER
User: CDO logon successful
User: Get default calendar folder successful
User: Get calendar folder name successful: 'Calendar'
User:CDO test completed successfully
User: No Send As permission for the {DOMAIN\BESAdmin} account operator.
User: Initializing EWS Proxy... successful
User: Configuring User... successful
User: EWS calendar find request... failed

I see the two problems
tackling the first via EMC and manually adding the BESAdmin account to User mailbox; with full mailbox and send as permissions
searching for EWS settings now

thanks again and sorry being so stupid with the previous post!
delebute
0
 
LVL 14

Accepted Solution

by:
Mike Sullivan earned 2000 total points
ID: 39814249
Hi delebute,

Use this command to set the Send As permissions.

Now you need to set the 'Send As' permissions using the command below:

Add-ADPermission -InheritedObjectType User -InheritanceType Descendents -ExtendedRights Send-As -User "BESAdmin" -Identity "CN=Users,DC=<domain_1>,DC=<domain_2>,DC=<domain_3>"

Example:
Add-ADPermission -InheritedObjectType User -InheritanceType Descendents -ExtendedRights Send-As -User "BESAdmin" -Identity "CN=Users,DC=Experts-Exchange,DC=local"

Regards,

Mike
0
 
LVL 14

Assisted Solution

by:Mike Sullivan
Mike Sullivan earned 2000 total points
ID: 39814251
You have the ability to allow the BES to use Exchange Web Services to manage calendars on the devices, in order to utilize this service you need to configure a management role by running the following command from the Exchange Management Shell:

New-ManagementRoleAssignment -Name "BES Admin EWS" -Role ApplicationImpersonation -User "BESAdmin"

Get-Mailbox -Server "<messaging_server_name>" | Set-CalendarProcessing -ProcessExternalMeetingMessages $true

Copy and paste this into Notepad and change the BES Service account name if required and replace <messaging_server_name> with the internal DNS name for your Exchange server.
0
 

Author Comment

by:David Elebute
ID: 39816699
ok here is where I am at tonight with this Mike
yesterday I tried what you sent but was getting some syntax errors, cleared them and added a MaxSessionsPerUser = 100000 line in a config file from my searches via the experts-exchange database
rebooted the servers and called it a night
well this morning the BEs and Exchange seemed to working well; email and calendars were flowing no problem; then all stopped around noon and hasn't worked again since

did all the above but getting the following error:

Get-Mailbox -Server "<SERVER01.local" | Set-CalendarProcessing -ProcessExternalMeetingMessages $true


Cannot process argument transformation on parameter 'Server'. Cannot convert value "<SERVER01.local" to type "Microsoft.Exchange.Configuration.Tasks.ServerIdParameter". Error: "'<SERVER01.local' is not a valid value for the identity.
Parameter name: identity"
    + CategoryInfo          : InvalidData: (:) [Get-Mailbox], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-Mailbox

[PS] C:\Windows\system32>

I have tried without the .local and still same error

all help is greatly appreciated
delebute
0
 
LVL 14

Assisted Solution

by:Mike Sullivan
Mike Sullivan earned 2000 total points
ID: 39817099
Hi delebute,

Firstly, are you entering that command into the Exchange Command Shell or just into Powershell? It should be going into the Exchange Shell.

Secondly, does your server name have a < sign in front of it or should it just read SERVER01.local ?

Finally, this sound more like a throttling issue. Have you set the throttling policies correctly? Have a look at this article that I wrote for Exchange 2010 installations.

http://www.experts-exchange.com/Hardware/Handhelds_-_PDAs/Blackberry/A_6369-Installing-BES-5-in-an-Exchange-2010-environment.html

Look at Step 5. The section on 'If you have Service Pack 1 installed' also applies to Exchange 2013.

Regards,

Mike
0
 

Author Comment

by:David Elebute
ID: 39817771
thanks again Mike
I am in the process of checking and rechecking the settings and permissions as per your previous question referenced above
it happened again last night; left the server as is and found that it seemed to function again until this morning again at 8am stopped getting messages to phone
I have even tried stopping and disabling the throttling service for exchange
we have exchange 2010 no SP
delebute
0
 

Author Comment

by:David Elebute
ID: 39817909
sorry using the Exchange Shell
removed the < in front of the server name and that finally worked
but still no messages
on my exchange server the MaxSessionsPerUser = 100000 l
 From your previous question concerning:
"\Program Files\Microsoft\Exchange Server\V14\Bin" and open the microsoft.exchange.addressbook.service.exe.config file with Notepad

in the file when in Notepad did not see a MaxSessionsPerUser field so I added it manually
here is what the file looks like currently

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <runtime>
        <gcServer enabled="true" />
        <generatePublisherEvidence enabled="false"/>
    </runtime>
    <appSettings>
        <!-- Enables and disables the logging for the address book service. -->
        <add key="ProtocolLoggingEnabled" value="true" />

        <!-- Specifies the folder in which log files will be generated. -->
        <add key="LogFilePath" value="C:\Program Files\Microsoft\Exchange Server\V14\Logging\AddressBook Service\" />

        <!-- Specifies the max size that a single log file can grow to before a new one is generated. -->
        <add key="PerFileMaxSize" value="100MB" />

        <!-- Specifies the max size that the entire directory of logs can grow to before the oldest log is deleted. -->
        <add key="MaxDirectorySize" value="20GB" />

      <!-- Added By D.Tech. -->
        <add key="MaxSessionsPerUser" value="100000" />

        <!-- Specifies length of time in hours log files will be retained before being deleted. -->
        <add key="MaxRetentionPeriod" value="720" />

        <!-- Specifies if we need to switch log file each hour. -->
        <add key="ApplyHourPrecision" value="true" />
    </appSettings>
</configuration>

I also did some digging and there is a utility bbsrptest.exe that is used to test these type of problems; the file does not exist on BES server installation, have you used this before?
getting frustrated without a way to pinpoint exactly where it is failing, when and how to mitigate this behavior
I have been thinking of periodic server reboots as this seems to get things going for a few hours before we crash to a halt again
All help is needed and GREATLY appreciated
delebute
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 39818172
Hi delebute,

Did you go through the process of implementing the changes to Throttling policies?

Mike
0
 

Author Comment

by:David Elebute
ID: 39818433
Yes I did
still same behavior, should I delete them and recreate them?

delebute
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 39818454
Hi delebute,

Did you use the pre-Service Pack 1 process or the post-SP1 process?

Mike
0
 

Author Comment

by:David Elebute
ID: 39818678
Hi Mike,

pre service pack 1 process
haven't had this server running for more than a week
wanted to wait before I did the exchange SP
SBS2011 has a windows 2008 SP install in windows update, but I haven't installed that yet either

delebute
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 39818869
OK, so to recap:

When the server first starts, the BES works perfectly well for a period of time. Handsets can send and receive without a problem. Then, after a period of time, all handsets appear to stop receiving incoming mail even though the mail server is still receiving correctly. The handsets are still able to send emails without a problem.

Is that correct?

Mike
0
 

Author Comment

by:David Elebute
ID: 39818909
Almost
we setup one handset and communication fine
ran for several hours then stopped
began the troubleshooting process and made changes from BB install guide KB and from EE - Mike
then I would reboot both BES and SBS 2011 servers and nothing would happen then after several hours we were able to send and receive emails, calendar was in sync, contacts etc.
then would stop again and more troubleshooting
now I have rebooted both server after the issues today and now I cannot get phone to work at all

delebute
0
 

Author Comment

by:David Elebute
ID: 39818996
happened again just now!
rebooted BES after SBS2011 and Exchange 2010 (same box) running for a while, Outlook mailbox are all good for BB phone user
after reboot nothing happening, for giggles I reseated the battery on the BB phone
all of a sudden all messages are coming through!
but then as I am still writing this, no more phone updates
just forwarded a message from the phone to a user on exchange but not BB device
nothing, not even a bounce back
internal email message should be other users mailbox immediately, nothing in outlook for either (check sent items for sent message from BB phone and nothing)
well ok now; getting mail back to phone!
email from phone to local user just received (15-20 minute delay)
messages seem to be trickling in again
I am so upset right now; this should be the easy part!

delebute
0
 

Author Comment

by:David Elebute
ID: 39819101
at this time 3:47pm EST January 29th 2014
all working to BB device and mail flowing

keeping an eye and log to see if/when fails again
Mike I wanted to thank you again directly on this post
your review and replies are well received and appreciated!
thanks again!

delebute
0
 

Author Comment

by:David Elebute
ID: 39819168
4:07pm EST no communication with BB phone!
event viewer shows router error
restarted BB router
restarted BB controller, BB mail store and BB dispatcher
getting BIPP connection error in event viewer calling localhost (127.0.0.1)
nothing from phone
4:12pm nothing to phone yet, removing and reseating BB phone battery
event viewer BIPP using default BIPP shared secret

delebute
0
 

Author Comment

by:David Elebute
ID: 39819233
4:20PM rebooted phone and still nothing
checking event viewer on exchange server
nothing jumping out at me
going to take a break for a bit this is driving me out of my to find and resolve

delebute
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 39819482
This is going to turn into a request for a zipped copy of today's BES logs. That way I can search for errors. The BIPP message is irrelevant.

Do you know where the full BES logs are kept? Can you zip up all of the logs for today and post them in here?

Mike
0
 

Author Comment

by:David Elebute
ID: 39819697
ok will work on that
but scenario currently is if I reboot the BES I get approx. 3 hours of functionality
then I am seeing BB Router Event Viewer Errors right around the time things stop working

delebute
0
 

Author Closing Comment

by:David Elebute
ID: 39823583
Ended up blowing out the BES Box and recreating using MikeTheRelic's posts
all working now
thanks again Mike for ALL your help!

delebute
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
Eseutil Hard Recovery is part of exchange tool and ensures Exchange mailbox data recovery when mailbox gets corrupt due to some problem on Exchange server.
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question