‘Database ‘sc9_Xdb.Collection.Shard1′ does not exist. Make sure that the name is entered correctly.’

I got this error while the post installation steps were running. So this one was particularly annoying as I was so confident that I did everything right.

I was getting the below error when running post installation sql script - 'Database 'sc9_Xdb.Collection.Shard1' does not exist. Make sure that the name is entered correctly.'

Solution

It turns out I didn't install a pre-requisite of Sitecore 9. Microsoft SQL Server Transact-SQL ScriptDom to be particular

Check out our Sitecore 9 Pre-requisites to download Microsoft SQL Server Transact-SQL ScriptDom: Sitecore 9 Pre-requisites

Source: Sitecore Community

Leave a Reply

Your email address will not be published. Required fields are marked *