Article ID: 942029 - Last Review: October 9, 2007 - Revision: 1.1

Error message when you try to use the Exchange Server ActiveSync Web Administration tool to delete a partnership or to perform a Remote Wipe operation in Exchange Server 2003 Service Pack 2: "(401) Unauthorized"

On This Page

Expand all | Collapse all

SYMPTOMS

When you try to use the Microsoft Exchange Server ActiveSync Web Administration tool to delete a partnership with a mobile device or to perform a Remote Wipe operation on a mobile device, you receive the following error message:
Failed to access user's Mailbox, verify that the mailbox and user account are enabled and functional.
Server Error in '/MobileAdmin' Application.
--------------------------------------------------------------------------------
The remote server returned an error: (401) Unauthorized.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The remote server returned an error: (401) Unauthorized.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:
[WebException: The remote server returned an error: (401) Unauthorized.] 
System.Net.HttpWebRequest.CheckFinalStatus() +680 
System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult) +74 
System.Net.HttpWebRequest.GetRequestStream() +234 
Microsoft.Exchange.AirSync.Admin.Mailbox.propFindRequest(String deviceUri) +240 
Microsoft.Exchange.AirSync.Admin.Mailbox.getDevices() +194 
Microsoft.Exchange.AirSync.Admin.Devices.refreshDevicesTable() +135 
Microsoft.Exchange.AirSync.Admin.Devices.Page_Load(Object sender, EventArgs e) +190 
System.Web.UI.Control.OnLoad(EventArgs e) +67 
System.Web.UI.Control.LoadRecursive() +35 
System.Web.UI.Page.ProcessRequestMain() +750
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
Even after you try the resolution that is described in Microsoft Knowledge Base article 916960, you still receive this error message.

CAUSE

This problem occurs because the authentication method of the Web server is not configured correctly.

RESOLUTION

To resolve this problem, follow these steps:
  1. Start Internet Information Services (IIS) Manager. To do this, click Start, click Run, type inetmgr.exe, and then click OK.
  2. In IIS Manager, expand the server, expand Web sites, expand Default Web Site, right-click MobileAdmin, and then click Properties.
  3. In the MobileAdmin Properties dialog box, click the Directory Security tab.
  4. In the Authentication and access control area, click Edit.
  5. In the Authentication Methods dialog box, type a slash mark (/) in the Default Domain box, and then click OK.
  6. In the Secure communications section, click Edit.
  7. Verify the Secure Sockets Layer (SSL) settings, and then click OK.
  8. In the MobileAdmin Properties dialog box, click OK.
  9. Right-click Default Web Site, and then click Stop.
  10. Right-click Default Web Site, and then click Start.
  11. Click Start, click Run, type iisreset, and then click OK.
  12. In Windows Internet Explorer, open the following Web page:
    https://server_name/mobileadmin
  13. Enter the mobile user alias, and then click Search.
You can see the device in the list. If you still experience the problem, verify the settings in the ExAdmin Properties dialog box. To do this, follow these steps:
  1. Start IIS Manager. To do this, click Start, click Run, type inetmgr.exe, and then click OK.
  2. In IIS Manager, expand the server, expand Web sites, expand Default Web Site, right-click ExAdmin, and then click Properties.
  3. In the ExAdmin Properties dialog box, click the Directory Security tab.
  4. In the Secure communications section, click Edit.
  5. Click to clear the Require secure channel (SSL) check box.
  6. Right-click Default Web Site, and then click Stop.
  7. Right-click Default Web Site, and then click Start.

    Note You do not have to restart IIS.

MORE INFORMATION

Steps to reproduce the problem

  1. Install Microsoft Windows Small Business Server 2003 (Windows SBS) and Microsoft Exchange Server 2003 Service Pack 2.
  2. Download the Microsoft Exchange Server ActiveSync Web Administration Tool. To do this, visit the following Microsoft Web site:
    http://www.microsoft.com/downloads/details.aspx?familyid=e6851d23-d145-4dbf-a2cc-e0b4c6301453&displaylang=en (http://www.microsoft.com/downloads/details.aspx?familyid=e6851d23-d145-4dbf-a2cc-e0b4c6301453&displaylang=en)
    Then, install the software.
  3. In Windows Internet Explorer, open the following Web page :
    https://server_name/mobileadmin
  4. Enter the mobile user alias, and then click Search.

REFERENCES

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
916960  (http://support.microsoft.com/kb/916960/ ) Error message when you try to use the Microsoft Exchange Server ActiveSync Web Administration tool to delete a partnership or to perform a Remote Wipe operation on a mobile device in Exchange Server 2003 S: "(401) Unauthorized"

APPLIES TO
  • Microsoft Internet Information Services 6.0
Keywords: 
kbtshoot kbprb kbexpertiseadvanced KB942029
 

Article Translations

 

Related Support Centers