Tip

Why HTTP can hurt Exchange ActiveSync attachments

Exchange Server ActiveSync uses certain custom extensions on the HTTP protocol -- called HTTP "verb" commands -- that are sent in the context of an HTTP request to tell the server what the mobile client

    Requires Free Membership to View

is trying to accomplish.

Most of us are familiar with the more commonly used HTTP verbs GET, POST and HEAD, which make up the vast majority of requests. But many people are unfamiliar with the custom HTTP verbs that SharePoint (and a number of other Microsoft products) use.

One such verb is X-MS-ENUMATTS -- meaning "enumerate attachments," with the X-MS- being a way to designate the verb as a custom Microsoft creation. (It's considered good Internet form to prefix a custom header of any kind with an X- as a way of distinguishing it from RFC-standard headers.)

The X-MS-ENUMATTS HTTP verb is used to enumerate all attachments in a given message. If it's blocked by a proxy, firewall or server-side constraint, any attempts to synchronize attachments to a mobile device via Exchange ActiveSync will fail with a cryptic error.

The same issue also appears in Windows SharePoint Services or SharePoint Portal Server if you configure a document library to allow e-mail insertion, but have X-MS-ENUMATTS blocked. The SharePoint server will throw a "503 Service Unavailable" error.

X-MS-ENUMATTS commonly winds up being locked down on the server side when Microsoft's UrlScan security tool is used, because it restricts the types of verbs that can be used with Internet Information Server (IIS).

If you place too much restriction on the verbs that IIS can handle, Exchange ActiveSync and other functions might break, so too much restriction can be as bad as too little.

Microsoft Knowledge Base article 823175, Fine-tuning and known issues when you use the UrlScan utility in an Exchange 2003 environment explains how to avoid issues when using UrlScan in conjunction with other applications.

About the author: Serdar Yegulalp is editor of the Windows Power Users Newsletter.

Do you have comments on this tip? Let us know.

Related information from SearchExchange.com:

  • Tip: The Exchange Server ActiveSync Web Administration Tool
  • Tip: Unicode attachments don't work with OWA and BlackBerrys
  • Expert Advice: Strip attachments to emails forwarded to mobile devices
  • Reference Center: Exchange Server mobile and wireless tips
  • Reference Center: SharePoint tips and resources

    Please let others know how useful this tip was via the rating scale below. Do you have a useful Exchange Server or Microsoft Outlook tip, timesaver or workaround to share? Submit it to SearchExchange.com. If we publish it, we'll send you a nifty thank-you gift.

    This was first published in July 2006

  • There are Comments. Add yours.

     
    TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

    REGISTER or login:

    Forgot Password?
    By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
    Sort by: OldestNewest

    Forgot Password?

    No problem! Submit your e-mail address below. We'll send you an email containing your password.

    Your password has been sent to:

    Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.