BUG: Generating Scripts to Multiple Files May Yield Error 20524

ID: Q247107


The information in this article applies to:
  • Microsoft SQL Server version 7.0

BUG #: 54812 (SQLBUG_70)

SYMPTOMS

Enterprise Manager may return the SQL Distributed Management Objects (DMO) error 20524 when generating database scripts:

Error 20524:[SQL-DMO] ScriptMode specified as ToFileOnly, but no filename specified -- recheck parameters.
This behavior has been observed when choosing these scripting options:
  1. Script database users and database roles.


  2. Create one file per object.



WORKAROUND

Generate the entire script to a single file.


STATUS

Microsoft has confirmed this to be a problem in SQL Server version 7.0.

Additional query words: SSEM SEM Enterprise Manager DMO script generate

Keywords : kbSQLServ700bug
Version : winnt:7.0
Platform : winnt
Issue type : kbbug


Last Reviewed: December 28, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.