This article was previously published under Q245662
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 56166 (SQLBUG_70)
In SQL Server Enterprise Manager, when you use the Generate Sql Scripts... menu item to generate scripts for all objects in a database with both Script Full Text Indexes and Create one File per Object selected from the Options tab, you may receive the following error message:
An error occurred during scripting. ERROR 5: [SQL-DMO]Code execution exception: EXCEPTION_ACCESS_VIOLATION
To work around this problem, clear either Script Full Text Indexes or Create one File per Object.
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
254561 INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.