SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

run a powershell command for compling the audience(audience.exe xxxxxx 0/1) we receive the following error

ORGLE_Job_End =>close down the job, Application id=xxxx xxx xxx

Can't log into SQL, site=xxx xxx, exception error=object not set to instance of an object

Thanks P.Mohan

share|improve this question

SharePoint databases are pretty well locked down so only a few IDs can access them. This sounds an awful lot like a case where the identity that the powershell command is running as is not one of the ones that can access the site.

If you are querying global audiences then you also need to make sure that the identity running the script has permissions at that level as well. Or, simply run the script using an identity that you know has permissions.

share|improve this answer
Can you explain DB name and permssion details where i can give the permission Please assist US.please assist me – Mohan Periyasamy Jan 26 '12 at 16:19
It is far easier to simply run the powershell script using an identity that you know has permissions, such as the application pool account. – Dave Wise Jan 26 '12 at 19:57
Thanks..Working fine – Mohan Periyasamy Jan 27 '12 at 0:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.