Friday, 27 April 2012 5:35 PMI provisioned a PWA site on a restored content database. However, while opening the site it gives me error "The base type 'Microsoft.Office.Project.PWA.PJBaseWebPartPage' is not allowed for this page. The type is not registered as safe." If I want to add it as safe control which configuration file should I use and where is the location of that. Any other suggestion to resolve it is also welcome.
Friday, 27 April 2012 6:57 PM
Friday, 27 April 2012 7:27 PM
I am using Project server 2010. I restored the 5 databases from production to a test environment and created a new web application. I attached the restored content database to the new web application and created a PWA with all the restored database. The PWA provisioned fine but when I try to open it through Central Admin I get SharePoint error message "The base type 'Microsoft.Office.Project.PWA.PJBaseWebPartPage' is not allowed for this page. The type is not registered as safe." Not sure why this message and which web configuration to modify to register it as safe. Some urgent tests are to be carried out so we restored the data to a new instance of SQL Server. The old web application with the old instance is working fine.
Friday, 27 April 2012 7:40 PM
Friday, 27 April 2012 8:06 PMI created the new PWA in the new web application only. Sould I delete the new web application and recreate it? Thanks.
Friday, 27 April 2012 8:16 PM
- Proposed As Answer by Christophe FiessingerMicrosoft Employee, Owner Saturday, 28 April 2012 12:39 AM
Saturday, 28 April 2012 7:22 AMI deleted the newly created web application. Unfortunately I had created a new PWA also there, which got deleted from web application but not from database. When I create another web application it did not allow me to provision a new PWA there with messsage that databases are already attached to another project server application. On creating another Project Server application it asked me to change the name of PWA, which I can't do else I will not get the production data. What could be done now? Thanks.
Sunday, 29 April 2012 5:36 AM
You don’t have to create another Project Server service application.
Here are the steps
- Delete PWA site (Uncheck “Delete site collection from SharePoint) this will retain PWA site collection
- Detach content database
- Delete web application
- create another web application using old content database
- Provision PWA site with restored project database
If you have original back up 5 databases you can restore then and use with above steps (Step 4 & 5)
- Marked As Answer by geeam Tuesday, 1 May 2012 12:08 AM