An error was encountered while generating create scripts.
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

An error was encountered while generating create scripts.

Visual Database Tools was unable to generate a create script. There are many possible reasons for this error. You can try any of the following remedial actions:

  • Make sure there is sufficient disk space to write the new file. Consider using the Disk Cleanup and Disk Defragmenter options on the System Tools menu.
  • Make sure the directory path where the file should be written still exists. It might be helpful to use a path that you know works for an existing file. You can view how paths for similar files are constructed by right-clicking other script files and in Solution Explorer and choosing Properties on the shortcut menu.
  • Generate the create script again.
  • Check the Microsoft Knowledge Base for any available new information on generate create script errors with the Visual Database Tools. See;E N-US;KBHOWTO.
© 2016 Microsoft