At a customer, we have done a test upgrade from Nintex Workflow 2007 to 2010 using the attach approach.
Both the database servername and the database names are changed.
This has been done by changing the servername and database name in the Nintex configuration database in table 'Databases'
Attaching the Nintex database went fine, also attaching the SP content database afterwards, went fine.
However, in the last step, activating Nintex on the web application, we get an error:
Nintex Workflow Management -> Web Application Activation Clicking 'Activate' on any web application gives:Warning: Unable to add the application pool account to the Nintex Workflow database. If you have permissions problems, contact Nintex support for assistance in configuring your environment.
We have two account names involved:
The application pool runs under the account: xx-ap01
Central admin application & SP Timer service under: xx-sys
Both above accounts has been made member of wss_content_application_pools for the Nintex configuration and content databases.
We also tried to add them to group db_admin and db_securityadmin. We still get the error.
In SQL Profiler, we can see the following statement:
exec sp_adduser @loginame=N'xx\xx-ap01',@name_in_db=N'xx\xx-ap01',@grpname=N'WSS_Content_Application_Pools'
which runs in the context of the xx-sys user (part of the name has beeen remove in above, hence the x'es)
In the SP log, it says:
Nintex.Workflow.NWException: Failed to add application pool identity to Nintex databases. Web application: SharePoint - XXX ---> System.Data.SqlClient.SqlException: User does not have permission to perform this action. ..
We have read the whitepaper: 'Configuring application pool account.pdf' about adding the app pool user to the WSS_Content_Application_Pools role. Any suggestions are very welcome