Skip to main content
Nintex Community Menu Bar

DetachDatabase finds more than one matching database

  • March 26, 2021
  • 0 replies
  • 107 views
  • Translate

Forum|alt.badge.img+9

Issue


When attempting to detach a Nintex content database using the NWAdmin.exe -o DetachDatabase command, more than one matching database is found.

 

Error Code

 

More than one matching content databases were found. Please specify database name using -databaseName parameter.

 

Resolution

  1. Open SQL Management Studio on the database server.
  2. Perform a select query on the 'dbo.Databases' table in the Nintex configuration database.
  3. Compare the database name entries in the table to identify the duplicate entries.
  4. The database name with the highest Database ID is most likely the duplicate database.
  5. Perform a SELECT query on the 'dbo.Storage' table. Make sure the Database ID identified as the duplicate entry is not being used by a Site Collection.
  6. Once the Database Id has been identified, perform the below command.

 

DELETE FROM database WHERE DatabaseID = <Insert DatabaseID here>

 

Once the entry is removed from the table, disconnect and remove the database from SQL Management Studio.

 

 

Related Links

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings