This project has moved and is read-only. For the latest updates, please go here.

How to create top level/root site collection?

Topics: Support
Nov 25, 2014 at 10:42 AM
Edited Nov 25, 2014 at 11:44 AM
I've got a web app URL of and I'm trying to create a root site collection so for the Managed PAth and URL i have set "/"

For the Site Collection and Site URL I have left these blank as effectively I just want a root site collection so the internal URL would be

However it now throws an error and when i try to enter "/" in the Site Collection and URL boxes after saving the xml file it wipes out the"/"

Any ideas?
Thanks :)

- Creating Site Collection ""...

  • Script halted!
Exception : System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to
                    parameter 'Url' because it is an empty string.
                       at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext
                    funcContext, Exception exception)
                       at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame
Nov 25, 2014 at 12:31 PM
This appears to be working now by specifying / I n the managed path and URL section, then also adding the fll URL from web app url to the site url field.

I've got past that error and now onto the next! Hope this is worth all of the time after all :)