I have created one timer job which will add SharePoint content database.
When I am running timer job manually from central admin, Content database is being created successfully.
Now I have one list and and i have added "Item Added" event receiver on that list and on that event receiver I am running above timer job programmatically and that time job throwing "Access Denied" exception while creating content data base.(I am running code with spsecurity.runwithelevatedprivileges)
I have checked following in my environment
- Application Pool account of my web application is added on "Farm Administrators"
- Application Pool account has "db_owner" rights on SharePoint config database
- I have added "Application pool" account in "Local Administrators" group.
Any suggestion what configuration I am missing?
0 commentaires:
Enregistrer un commentaire