SQL-DMO CreateFile error when scripting database



Something strange is going on with Enterprise manager on my machine and two other developer's machines. We have SQL server developer edition, SP-3, and reporting services installed on our development machines.

Not a one of us can sucessfully script an entire database from the Enterprise manager, ie. by right clicking on the database and selecting "script database". It appears that there is a problem with the creation of scripts for the stored procedures. The scripting stops near the end with the following message:

[SQL-DMO]CreateFile error on '{Machine Name}.{Database Name}.PRC'

The script file is created, however only the tables and drop statements are in the file. Basically it looks like it's getting to the point where it would write the stored proceures out and dying.

This happens when we create a script in a single file. If we select the "file per object" option or don't select any stored procedures then the scripting completes just fine.

I haven't tried to script anything in a while so I don't know when this started happening. I attempted to generate a script on a server and it seemed to work fine. The server had SP3 and reporting services installed as well.

We can still use DTS and a "copy sql server objects" task to copy from one machine to another. Only generation of complete scripts for a database seems to be affected.

Searching Google, the Knowledgebase, etc. didn't seem to yield any help on this error either.

Any help would be appreciated.
Thanks,
Bill
.



Relevant Pages

  • Re: Cannot Open SQL Server Table in Access.ADP File.
    ... Other possiblities would be that you didn't refresh the database window ... I have an SQL Server 2005 database which functions properly with my ... the Generate Script Wizard to recreate the SQL Server Database. ... Then, If I attempt to open another table, it opens. ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Connecting to SQL Server Express 2005
    ... Microsoft KB (which was referenced in the very useful DataBase Journal ... generated script against my test database. ... The SQL server produced the following list of errors: ... Line 2: Incorrect syntax near 'GO'. ...
    (microsoft.public.sqlserver.connect)
  • Re: ALTER IDENTITY setting...
    ... Enterprise Manager would do. ... I also would suggest you use EM and save the script. ... Pro SQL Server 2000 Database Design - ... > I just need to alter column with Identity. ...
    (microsoft.public.sqlserver.programming)
  • RE: Project Server 2003
    ... when I got to the run script step, I ran the script from the copied database ... I was also wondering about the create database ... For example, type Project Server, and then click OK. ... In the left pane of SQL Server Management Studio, expand Databases, ...
    (microsoft.public.windows.server.sbs)
  • Re: Database Access
    ... Do you create the group in SQL Server on the NT Domain? ... >> from a client script to ... > the database server would not be possible from client machines. ... You will want the sqloledb connection string. ...
    (microsoft.public.scripting.jscript)