Sharepoint 2010 moving site collection to different database errorMoving a SharePoint site to a new...

Minkowski space

LaTeX closing $ signs makes cursor jump

tikz: show 0 at the axis origin

Has the BBC provided arguments for saying Brexit being cancelled is unlikely?

Writing rule stating superpower from different root cause is bad writing

How old can references or sources in a thesis be?

Do VLANs within a subnet need to have their own subnet for router on a stick?

Can divisibility rules for digits be generalized to sum of digits

Is it unprofessional to ask if a job posting on GlassDoor is real?

Why was the small council so happy for Tyrion to become the Master of Coin?

Can a Warlock become Neutral Good?

Did Shadowfax go to Valinor?

How to find program name(s) of an installed package?

Have astronauts in space suits ever taken selfies? If so, how?

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

Font hinting is lost in Chrome-like browsers (for some languages )

How to format long polynomial?

What's the point of deactivating Num Lock on login screens?

Mathematical cryptic clues

Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?

Risk of getting Chronic Wasting Disease (CWD) in the United States?

Can I make popcorn with any corn?

Today is the Center

What does it mean to describe someone as a butt steak?



Sharepoint 2010 moving site collection to different database error


Moving a SharePoint site to a new server/farmrestore content database in sharepoint server 2007“Error in the Site Data Web Service.” when performing crawlsharepoint crawl not indexing main siteForefront Identity Manager errors when starting the SharePoint 2010 User Profile Synchronization Service ApplicationUnable to see Document IDs in a SharePoint 2010 site collectionSharePoint 2010 Search Error 0x800703faMoving SharePoint 2010 to a new domainUse backup restore then attach in Sharepoint 2007 to 2010 migrationSharePoint 2010 Server Configuration Error -> “Cannot connect to database master”






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







2















I am trying to move a site collection from one content database to another content database. First I used the following PowerShell command:



New-SPContentDatabase -Name New_DB -WebApplication http://portal/


I confirmed that this did in fact create the DB in the SQL Server.



I then used the following command:



Move-SPSite http://portal/sites/hr -DestinationDatabase New_DB


This generates an error stating that the "Operation is not valid due to the current state of the object"



Can anyone help point me in the right direction with this?



Thanks










share|improve this question
















bumped to the homepage by Community 10 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    2















    I am trying to move a site collection from one content database to another content database. First I used the following PowerShell command:



    New-SPContentDatabase -Name New_DB -WebApplication http://portal/


    I confirmed that this did in fact create the DB in the SQL Server.



    I then used the following command:



    Move-SPSite http://portal/sites/hr -DestinationDatabase New_DB


    This generates an error stating that the "Operation is not valid due to the current state of the object"



    Can anyone help point me in the right direction with this?



    Thanks










    share|improve this question
















    bumped to the homepage by Community 10 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      2












      2








      2








      I am trying to move a site collection from one content database to another content database. First I used the following PowerShell command:



      New-SPContentDatabase -Name New_DB -WebApplication http://portal/


      I confirmed that this did in fact create the DB in the SQL Server.



      I then used the following command:



      Move-SPSite http://portal/sites/hr -DestinationDatabase New_DB


      This generates an error stating that the "Operation is not valid due to the current state of the object"



      Can anyone help point me in the right direction with this?



      Thanks










      share|improve this question
















      I am trying to move a site collection from one content database to another content database. First I used the following PowerShell command:



      New-SPContentDatabase -Name New_DB -WebApplication http://portal/


      I confirmed that this did in fact create the DB in the SQL Server.



      I then used the following command:



      Move-SPSite http://portal/sites/hr -DestinationDatabase New_DB


      This generates an error stating that the "Operation is not valid due to the current state of the object"



      Can anyone help point me in the right direction with this?



      Thanks







      sharepoint-2010 sharepoint






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 15 '14 at 1:51









      HopelessN00b

      48.5k24116194




      48.5k24116194










      asked Oct 23 '12 at 21:25









      Brandon UlasiewiczBrandon Ulasiewicz

      111




      111





      bumped to the homepage by Community 10 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 10 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Try disabling all the Sharepoint services before moving the database.






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "2"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f441547%2fsharepoint-2010-moving-site-collection-to-different-database-error%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Try disabling all the Sharepoint services before moving the database.






            share|improve this answer




























              0














              Try disabling all the Sharepoint services before moving the database.






              share|improve this answer


























                0












                0








                0







                Try disabling all the Sharepoint services before moving the database.






                share|improve this answer













                Try disabling all the Sharepoint services before moving the database.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 23 '12 at 22:18









                HopelessN00bHopelessN00b

                48.5k24116194




                48.5k24116194






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f441547%2fsharepoint-2010-moving-site-collection-to-different-database-error%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    117736 Шеррод Примітки | Див. також | Посилання | Навігаційне...

                    As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

                    Маріан Котлеба Зміст Життєпис | Політичні погляди |...