Cannot create a new configuration database with PowerShell

Thomas Vochten
  • Cannot create a new configuration database with PowerShell Thomas Vochten

    I want to create a new SharePoint 2010 farm using PowerShell. I use the following command:


    When issuing this command (and providing the needed parameters) I get the following error:

    New-SPConfigurationDatabase : This SharePoint farm currently has pending upgrades.
    The cmdlet New-SPConfigurationDatabase cannot be executed until the upgrade is completed.

    When running the "SharePoint 2010 Products Configuration Wizard" I'm able to create a farm.

    I have a freshly installed Windows Server 2008 R2 with SQL 2008 R2 on the same box (it's a demo box) and the SharePoint 2010 binaries installed.

  • Have you tried:

    psconfig -cmd upgrade -inplace b2b -wait –force

Related questions and answers
  • Enabled named pipes on SQL Server 2008 R2 run New-SPConfigurationDatabase in previously opened powershell using this command: New-SPConfigurationDatabase -DatabaseName "Sharepoint2010Config...I'd really like to prepare development environment for Sharepoint 2010. This is what I did: I installed Windows 7 x64 I installed VMWare Workstation Created a VM domain controller based on Windows... (Windows6.1-KB974405-x64.msu) Enabled all roles indicated in the list (IIS and WCF) Installed Sharepoint Foundation 2010 didn't run the product configuration wizard (yet) created two additional domain user accounts

  • When I go to manage service applications in Central Administration and try to create a new service application like: New > Create a new service application, the link isn't active. My issue is I would like to create a Search Service Application after installing Search Server Express 2010. Do I need to run the Farm Configuration Wizard and install the below if I can create a Search Service... migrated WSS v3 to SharePoint Foundation 2010 and then installed Search Express 2010 on top of it. I am logged in with an account that has full farm administration access. Update 2: I migrated WSS

  • for each stage of ILM certificate creation failure). The system is a multi (3) server farm: WFE Windows 2008 64Bit SharePoint 2010 APP (UPS and UPS Sync Running Here) Windows 2008 64Bit SharePoint 2010 SQL (Default Instance) SQL Server 2008 R2 64 Bit All the necessary steps in Spence's guide (domain accounts, permissions, rights, etc.) have been followed. The two FIM services on the APP...After following Spence Harbar's Rational Guide to implementing SharePoint Server 2010 User Profile Synchronization ( exactly (and having it work several

  • Following the example in this blog post, I am trying to create a new Web Application with PowerShell. However, when I try the line: $WebAppBuilder.ApplicationPoolPassword = "password" I receive the following error: Exception setting "ApplicationPoolPassword": "Cannot convert the "password" value of type "System.String" to type "System.Security.SecureString"." How might I go about fixing this?

  • I'm trying to create a site collection via stsadm. I do: STSADM -o createsite ` -url "<url>" ` -title "<title>" ` -description "<desc>" ` -lcid 1033 ` -owneremail "<user email>" ` -sitetemplate "STS#1" ` -ownerlogin "<domain\>" (Sidenote: I'm in Powershell with an alias set up for stsadm.) When I run the command, at the Powershell prompt I get only the following output: User cannot be found. If I look into the ULS logs, I see the following related logs (truncated a bit for clarity): Creating site http

  • My HOST PC is Windows 7 and using VirtualBox I have setup a Virtual Machine having: Windows 2008 Server R2 Enterprise (Standalone - there is no AD/DC) SQL Server 2008 R2 Express SharePoint 2010 Server Enterprise Trial Now, I want to install SPS 2010 and make use of the existing SQL Server 2008 R2 Express. During the Installation, I selected Server Farm and then Complete option. So far, so... a Farm in such environment? 2) The StandAlone option creates its own SQL Server Express Instance. I want to avoid this and reuse the "already" installed SQL Server 208 R2 Express. Are the above tasks

  • I'm having problems installing development machine for SharePoint (Foundation) 2010. This is what I did so far on the same machine: Installed a clean Windows 7 x64 with 4GB of RAM without being part of any domain. Just a simple standalone machine. Enabled IIS related features as described here except IIS6 related ones (two of them) Installed SQL Server 2008 R2 Development Edition (DB Engine and Writer being enabled but not SQL Agent) Installed Visual Studio 2010 Premium Started installing SharePoint Foundation 2010 with first extracting files, changing config to enable Windows 7

  • when I call this piece of code Dim pubSite As New PublishingSite(_siteColl) Dim pubWeb As PublishingWeb = PublishingWeb.GetPublishingWeb(site) Dim layouts() As PageLayout = Nothing layouts...UPDATE Worth noting that this is only happening when the site definition is called from SPWebApplication.Sites.Add, if I use the UI then this works fine. My code is impersonating the system account when calling this code. Am I right in thinking that the ApplyWebTemplate() method of SPSite is asynchronous? If this is the case then my issue is probably one of timing. I.e. the required

  • Env: OS: Win2008 R2 (running inside VirtualBox) RAM: 2GB Installed all available Windows Updates My fresh SP2010 prerequisites and installation went well. Later while running the SharePoint Product...-Failed-Step8.png Event Viewer contains this entry: Log Name: Application Source: SharePoint 2010 Products Configuration Wizard Date: 2/9/2010 6:03:01 PM Event ID: 104...;Event xmlns=""> <System> <Provider Name="SharePoint 2010 Products Configuration Wizard" /> <EventID Qualifiers="0">

Data information