Err Msg: The LsaCreateSecret Call Failed

Last reviewed: September 7, 1996
Article ID: Q154933
The information in this article applies to:
  • Microsoft Windows NT Workstation versions 3.5 and 3.51
  • Microsoft Windows NT Server versions 3.5 and 3.51

SYMPTOMS

Error 1057 is reported when you select the startup option Log On As This Account for a Windows NT Service.

The following is written to the system log:

   Event ID#: 7005
   The LsaCreateSecret call failed with the following error: C0000035

CAUSE

You can manage trusted domains and associated passwords programmatically by using the Windows NT local security authority (LSA) API. However, LSA secrets are limited to 256. The client side of a trust relationship consumes one LSA secret. LSA secrets are used for other purposes (most notably, trust relationships and for saving service passwords). As a result, LSA API in your program or service may fail because you have reached the 256 limit.

RESOLUTION

Use the updated Lsasrv.dll file.

STATUS

Microsoft has confirmed this to be a problem in Windows NT version 3.51. This problem was corrected in the latest Windows NT 3.51 U.S. Service Pack. For information on obtaining the Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

   S E R V P A C K


KBCategory: kbnetwork
KBSubcategory: ntnetserv
Additional reference words: prodnt 3.50 3.51


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 7, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.