Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. SQL 2008 SQLPUBWIZ Command Line Failure

SQL 2008 SQLPUBWIZ Command Line Failure

Scheduled Pinned Locked Moved Database
databasetoolshelpsql-serversysadmin
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 4001120
    wrote on last edited by
    #1

    I'm running sqlpubWiz from the command line to script my database. This command line worked with SQL 2005 - I have changed to 2008 and have got the latest version of SqlPubWiz (as far as I know - it's in the folder C:\Program Files\Microsoft SQL Server\90\Tools\Publishing\1.2 I run sqlpubwiz script -d mydatabsename-S localhost\mydatabase -f test.sql -targetserver 2008 All looks well - it starts with "Gathering List of Objects to Script" then changes to "Scripting Objects" and starts printing dots to show progress... then stops with Error: Operation is not valid due to the current state of the object. Funny thing is that it works fine if run through the GUI. I'm all out of ideas..... Help

    .\\axxx

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups