none
New-SPProjectWebInstance : Database validation failed. Reason: DatabaseInUse RRS feed

  • Question

  • I am trying to do a restore of databases from a production environment into a development environment.

    Project Server 2010 SP1 with June CU.

    Now, provisioning a PWA instance using Central Admin fails (there is a known issue), so I am using Powershell.

    I have restored 5 databases from prod to dev:

    1. Published
    2. Draft
    3. Reporting
    4. Archive
    5. Content_DB

    In Dev, restoring (attaching) Content_DB to a webapp where http://site/PWA is not provisioned, so wont cause conflict. I am reusing the same /PWA path as exists in production.

    Using the New-SPProjectWebInstance, I try to provision a PWA to resuse the 4 databases and I get this error

    New-SPProjectWebInstance : Database validation failed. Reason: DatabaseInUse

    Any pointers?


    Nilesh Kelkar | nkelkar.wordpress.com

    Wednesday, February 8, 2012 6:24 PM

Answers

All replies