Microsoft KB Archive/323554

= DOC: &quot;412 (Precondition Failed)&quot; Error Message When You Use LOCK Method Sample in Exchange 2000 Server SDK March 2002 Edition =

PSS ID Number: 323554

Article Last Modified on 6/26/2002

-

The information in this article applies to:


 * Microsoft Exchange 2000 Server

-



This article was previously published under Q323554



SUMMARY
In the Microsoft Exchange 2000 Server Software Development Kit (SDK) March 2002 Edition documentation, the World Wide Web Distributed Authoring and Versioning (WebDAV) LOCK method sample is incorrect. When you use the sample, you receive the following error message:

&quot;412 (Precondition Failed)&quot;

The LOCK method sample is located under the following topics in the Exchange 2000 Server SDK March 2002 Edition documentation:
 * Reference
 * ** Exchange Store
 * *** WebDAV Reference
 * **** Exchange Store WebDAV Protocol
 * ***** WebDAV Methods
 * ****** LOCK Method



MORE INFORMATION
The sample in the &quot;Transactions&quot; section of the LOCK method documentation appears as follows:        http://www.contoso.com/public/contact.html </D:owner> </D:lockinfo> You receive the error message that is listed in the &quot;Summary&quot; section because the only transaction locktype that is supported is groupoperation. To correct this problem, use the following code: <?xml version=&quot;1.0&quot; ?> <D:lockinfo xmlns:D=&quot;DAV:&quot;> <D:local/></D:lockscope>  <D:groupoperation/></D:transaction> </D:locktype> <D:owner> http://www.contoso.com/public/contact.html</D:href> </D:owner> </D:lockinfo> The fifth line of code is incorrect in the Exchange 2000 Server SDK March 2002 Edition documentation: <D:local/></D:transaction> The correct code is as follows: <D:groupoperation/></D:transaction> This error occurs again two times in the third sample: first in the &quot;Request&quot; section, and then again in the &quot;Response&quot; section.

This bug is fixed in the Microsoft Exchange 2000 Server SDK June 2002 Edition.

Keywords: kbbug kbdocerr KB323554

Technology: kbExchange2000Search kbExchange2000Serv kbExchangeSearch

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.