none
Error retrieving content deployment jobs RRS feed

  • Question

  • Hi,

    We are trying to get the content deployment jobs using the ContentDeploymentJobs.GetAllJobs() method but we are getting an error, "the user is not part of the server farm administrators". We have tried to get the content deployment jobs by using RunWithElevatedPrevileges as well as RevertToSelf() but still the same error persists.

    We are using the same account to run the timer service as well as for the application pool of the web app hosting the above code.

    Funnily, the same code runs without any problem in a console application, but not from web application. Any pointers would be highly appreciated.

    Thanks,

    Amarnath


    Amarnath

    Wednesday, November 21, 2012 4:11 PM

Answers