Article ID: 129302, created on Aug 23, 2016, last review on Aug 23, 2016

  • Applies to:
  • Operations Automation


BlackBerry related tasks fail with the following error:

Provisioning request failed. Error in 'BESProvider.addUser'. The request failed with HTTP status 401: Unauthorized. Type: System.Net.WebException.

The following error can be found in Event Viewer on the BlackBerry server:

Log Name:      Application
Source:        BlackBerry Dispatcher SERVER01
{ConnectionItem::ConnectToDB} Failed to connect.  Connection string is Provider=SQLNCLI10.1;Server=serverbes01,1433;Database=BESMgmt;Network=dbmssocn;Trusted_Connection=Yes
Event Xml:
<Event xmlns="">
<Provider Name="BlackBerry Dispatcher SERVER01" />
<EventID Qualifiers="45055">25137</EventID>
<TimeCreated SystemTime="2014-06-10T19:49:24.000Z" />
<Security />
    <Data>{ConnectionItem::ConnectToDB} Failed to connect.  Connection string is Provider=SQLNCLI10.1;Server=serverbes01,1433;Database=BESMgmt;Network=dbmssocn;Trusted_Connection=Yes</Data>


Connection issues between BES servers and MSSQL database or pem_admin user authentication issue.


Please check the following:

  1. Verify connection from BES server to MSSQL database server on TCP port 1433.
  2. Try to access MSSQL database using pem_admin account. If it is not accessible, troubleshoot what is the reason - e.g. pem_admin account can be locked out.

Search Words

Unknown namespace BESProvider

User not authorized to perform the operation

BlackBerry failed task

destroy blackberry account


failed task

Delete Bes user

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF