Microsoft Knowledge Base Email Alertz

KBAlertz.com: 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

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




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

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://kbalertz.com/Feedback.aspx?kbNumber=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
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please