Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A AutoSPInstallerGUI
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 46
    • Issues 46
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CodePlex
  • AutoSPInstallerGUI
  • Issues
  • #50

Closed
Open
Created Feb 09, 2019 by Laurent Sittler@lsittler©Owner

script halts when creating new content database

Hello,

First off, this project is fantastic - this is my 4th test stab at creating SharePoint, and I am sure this will make the installation process EASILY recreate-able. I have a little problem though. My script runs through all the way to creating a new content database, and this is the output I am getting:

  • Creating new content database "PROD_MySiteHost"...

    Get-SPWebApplication : Cannot find an SPWebApplication object with Name, Id, or Url: http://VM-SPWEB.

    At C:\SP\Autoinstaller\AutoSPInstallerFunctions.ps1:2635 char:80

  • New-SPContentDatabase -Name $siteDatabase -WebApplication (G ...

    • CategoryInfo : InvalidData: (Microsoft.Share...tWebApplication:SpCmdletGetWebApplication) [Get-SPWebApplication], SPCmdletPipeBindException
    • FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SpCmdletGetWebApplication

  • Script halted!

Please let me know if there is anything more I should post, but if there is anything simple I ought to be checking. Thanks!

Assignee
Assign to
Time tracking