I have a backup of content database (*.bak) file. I have one web application running it now. However I have restored it again under different name on my SQL Server. I would like to create another web application using a copy of the same content database. It however comes up with an error
"The attach operation cannot continue because another object in this farm already contains the same ID. Each object in a farm must have a unique ID. In order to proceed with the attach operation you must assign a new ID to this database. To attach this database with a new ID, use the Mount-SPContentDatabase command with the -AssignNewDatabaseId parameter. Note that if this new database and an existing database contain the same site collections, attaching this database will likely result in orphaned site collections due to conflicts between the two databases."
I have tried using -AssignNewDatabaseId however when It attached my content database it was showing that there are 0 Current Number of Site Collections.
I thought it might be good idea to change existing content's database GUID so that I can create new web application with backup.
Is that even possible?