We just recently migrated all of our projects to ALM11.52 and now cannot create new ones.
Question ID: 105182
0
0

I am unable to create new project from a copy of existing project and getting error "Failed to create project" and "Failed to set project properties. the migrated/upgraded projects work fine, but we need to create new projects after this migration.

Marked as spam
Posted by (Questions: 193, Answers: 14)
Asked on December 11, 2013 10:47 pm
27 views
Answers (1)
1
Private answer

Here are some things to keep in mind about SQL-Server Rights/Roles used with QC when using SQL-authentication

There are two SQL-Server users in SQL-Server used by QC.

* The database administrative user (can be ''sa'' or a ''proxy'' or service user you create for the purpose) - often called something like ''Td_db_admin''. This user is used when in Site Admin and trying to CREATE, DELETE or UPGRADE a project (and it's DB).

*** Sometimes, your DBA will assign ''roles'' to your DB-Admin user for the migration, then will revoke them later.

* The ''td'' user - this user is used day-to-day within project DB's when QC users work in QC.

Make sure ''Td_db_admin'' has these Server ROLES (do not assign other roles):

* dbcreator

* (public)

* Securityadmin

(these roles are REQUIRED when CREATING, DELETING, or UPGRADING projects in QC)

OPTIONAL when doing upgrades - you need:

* Sysadmin

(this role is REQUIRED only when UPGRADING projects in QC)

If you look at various projects in the User Mapping, you see ''dbo'' for the User and Default Schema columns.
Database Roles are set to (do not assign other roles):

* db_owner

* public

Make sure ''td'' does NOT have any Server ROLES (do not assign other roles):

* (public) is OK

If you look at various projects in the User Mapping, you see ''td'' for the User and Default Schema columns.
Database Roles are set to (do not assign other roles):

* ddladmin

* public

Marked as spam
Posted by (Questions: 4, Answers: 509)
Answered on December 11, 2013 10:55 pm
0
That was it! The SQL server DBA changed the roles and re-added securityadmin role to the td_db_admin. Now I am able to create project. Now you can close this case. Thanks for your help and your time.
( at December 11, 2013 10:57 pm)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top