Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

Reply
New Contributor
Posts: 8
Registered: ‎05-20-2013
My Device: Z10
My Carrier: O2
Accepted Solution

EWS is not working on single CAS server in NLB cluster

Hi guys,

 

we have BES 5.0.4 MR3 with Exchange 2007 SP3 UR10. There are 2 CAS servers in NLB. 

 

EWS is configured based on KB20157 (http://www.blackberry.com/btsc/KB20157). besadmin account has ExtendedRights ms-Exch-EPI-May-Impersonate, ms-Exch-EPI-Impersonation on mail server and ms-Exch-EPI-Impersonation on each CAS in NLB cluster. Windows authentication for EWS folder and correct permissions for besadmin are set up.

 

Problem is: BB users don't receive meeting request on her devices only when BES is using EWS from second CAS server (CAS2)

 

In CALH there are many errors like:

 

[30587] (06/07 11:45:08.214):{0x1A2C} {user2@company.com} CBBCalendar::FilterChangeNotification - COM Exception: Code = 80131501, WCode = 0000, Code meaning = Unknown error 0x80131501, Source = <none>
[30588] (06/07 11:45:08.214):{0x1A2C} {user2@company.com} CBBCalendar::FilterChangeNotification - Description = <none>
[30587] (06/07 11:45:08.712):{0x1AFC} {user3@company.com} CBBCalendar::FilterChangeNotification - COM Exception: Code = 80131501, WCode = 0000, Code meaning = Unknown error 0x80131501, Source = <none>
[30588] (06/07 11:45:08.712):{0x1AFC} {user3@company.com} CBBCalendar::FilterChangeNotification - Description = <none>

 

In MAGT:

 

rQueuedStateRecord - COM Exception: Code = 80131501, WCode = 0000, Code meaning = Unknown error 0x80131501, Source = System.Web.Services
[30588] (06/07 11:45:07.388):{0x185C} {user2@company.com} EwsOperations::FilterQueuedStateRecord - Description = An internal server error occurred.
[30587] (06/07 11:45:07.404):{0x17F0} {user3@company.com} EwsOperations::FilterQueuedStateRecord - COM Exception: Code = 80131501, WCode = 0000, Code meaning = Unknown error 0x80131501, Source = System.Web.Services
[30588] (06/07 11:45:07.404):{0x17F0} {user3@company.com} EwsOperations::FilterQueuedStateRecord - Description = An internal server error occurred.

 

With IE from BES I can connect to https://<cas server>/ews/exchange.asmx to both CAS servers by name and by cluster name.

 

I thought that that such errors might occur after recent UR10 installation, but both CAS are running the same Exchaneg version.

 

When I remove second CAS from NLB and CAS1 becomes primary node, eveything seems to be ok.

 

From CALH:

 

[20750] (06/07 15:25:46.824):{0xB84} {user1@company.com} CBBCalendar::smileytongue:rocessRequest - Cannot find or process meeting message
[30577] (06/07 15:25:47.043):{0x25FC} {user2@company.com} WSRIMEvent::smileytongue:repareMeetingRequest - New Appointment RefID=-740296126
[30592] (06/07 15:25:47.199):{0x25FC} {user2@company.com} Meeting Request to device [Parent Id=-740296126, RefId=-740296126, Seq=0, Rev=0, StateSeq=0, StateRev=1]
[30592] (06/07 15:26:53.147):{0x25FC} {user3@company.com} Meeting Response to device [Parent Id=-619322469, RefId=-619322469, Seq=0, Rev=0, StateSeq=0, StateRev=1]
[30578] (06/07 15:36:47.185):{0x1A68} {user3@company.com} WSRIMEvent::smileytongue:repareMeetingRequest - New Exception Appointment RefID=-630895934, Parent RefID=0
[30000] (06/07 15:36:47.294):{0x1A68} {user3@company.com}-WSRIMEvent::smileytongue:repareMeetingRequest- Parent sync state does not exist for RefId: -630895934
[30592] (06/07 15:36:47.294):{0x1A68} {user3@company.com} Meeting Request to device [Parent Id=0, RefId=-630895934, Seq=0, Rev=0, StateSeq=0, StateRev=1]
[30592] (06/07 15:46:05.802):{0x1A68} {user4@company.com} Meeting Response to device [Parent Id=-461434365, RefId=-1385233274, Seq=0, Rev=0, StateSeq=0, StateRev=3]

 

No errors in MAGT logs.

 

Any idea what's wrong with CAS2 server?

New Contributor
Posts: 8
Registered: ‎05-20-2013
My Device: Z10
My Carrier: O2

Re: EWS is not working on single CAS server in NLB cluster

I've recreated EWS directory on CAS2 Remove-WebServicesVirtualDirectory/New-WebServicesVirtualDirectory CMDlets, however, I still have errors when my besadmin account accesses EWS directory on CAS2:

 

2013-06-10 09:45:57 10.xx.1.19 POST /EWS/Exchange.asmx SoapAction=GetItem;Version=1;RpcC=67;RpcL=405;LdapC=7;LdapL=16; 443 domain.local\besadmin 10.xx.1.10 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.4234) 500 0 0 670

 

Important this is, Only Getitem doesn't work. Everything else seems ok.

 

2013-06-10 09:45:57 10.xx.1.19 POST /EWS/Exchange.asmx SoapAction=ConvertId;Version=1;RpcC=0;RpcL=0;LdapC=8;LdapL=32; 443 domain.local\besadmin 10.xx.1.10 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.4234) 200 0 0 62
2013-06-10 09:45:57 10.xx.1.19 POST /EWS/Exchange.asmx SoapAction=FindItem;Version=1;RpcC=12;RpcL=62;LdapC=6;LdapL=31; 443 domain.local\besadmin 10.xx.1.10 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.4234) 200 0 0 93
2013-06-10 09:45:57 10.xx.1.19 POST /EWS/Exchange.asmx SoapAction=ConvertId;Version=1;RpcC=0;RpcL=0;LdapC=5;LdapL=15; 443 domain.local\besadmin 10.xx.1.10 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.4234) 200 0 0 15

Retired
Posts: 166
Registered: ‎04-25-2013
My Device: BlackBerry Z10, BlackBerry Q10, Bold 9900

Re: EWS is not working on single CAS server in NLB cluster

Hello anazarov,

Thank you for your question regarding EWS not working on a specific CAS server.

 

Can you please confirm if the Throttling Policy is applied to the CAS2 server? You can verify it by following the below KB article. Please reference step 6.

 

Assigning service account permissions for a BlackBerry Enterprise Server for Microsoft Exchange


Let me know if you have any other questions.

- LW

 

Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp

Be sure to click Kudos! for those who have helped you.

Click Accept as Solution for posts that have solved your issue(s)!

New Contributor
Posts: 8
Registered: ‎05-20-2013
My Device: Z10
My Carrier: O2

Re: EWS is not working on single CAS server in NLB cluster

He LoneWolf902,

 

thanks for your guess. 

 

I review KB02276 you sent me and I confirm that all required rights for besadmin account are set up.

 

What exactly do you mean by Throttling Policy for CAS2? I have Exchange 2007 SP3, not 2010.

New Contributor
Posts: 8
Registered: ‎05-20-2013
My Device: Z10
My Carrier: O2

Re: EWS is not working on single CAS server in NLB cluster

Issue was caused by Performance Counters corruption. "Microsoft Exchange Server 2007 Service Pack 2 introduces a dependency that requires reading the value of a performance counter. If the performance counters are corrupted, this dependency will cause a GetItem call made to Exchange Web Services to fail."

 

Resolution: http://support.microsoft.com/kb/2264110

Guru III
Posts: 31,275
Registered: ‎06-25-2008
My Device:

I'm rockin the BlackBerry Passport, Z30, Z10, Q10, BlackBerry Mini Stereo Speaker, 64 gig PlayBook, BlackBerry Wireless Headset HS-700

My Carrier: I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier

Re: EWS is not working on single CAS server in NLB cluster

thanks for sharing your solution with us

 




Click here to Backup the data on your BlackBerry Device! It's important, and FREE!


Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals

BESAdmin's, please make a signature with your BES environment info.


SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope


Want to thank me? Buy my KnottyRope App here


BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V