lundi 16 mars 2015

Access denied while creating content database from event receiver



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



  1. Application Pool account of my web application is added on "Farm Administrators"

  2. Application Pool account has "db_owner" rights on SharePoint config database

  3. I have added "Application pool" account in "Local Administrators" group.


Any suggestion what configuration I am missing?








0 commentaires:

Enregistrer un commentaire