A timer job runs in a specific Windows service for SharePoint Server to automate common SharePoint tasks.

learn more… | top users | synonyms (1)

0
votes
2answers
239 views

Can't get the user email from user info when code executing in timer job

SPList resourceList = SiteProvisioningProvider.GetListReference(web, "Lists/list"); foreach (SPFieldUserValue admin in adminCollection) { SPListItem ...
0
votes
1answer
431 views

Debugging a Timer Job

I was not able to do something a little more elaborate with my timer job so I decided to check if something basic works. So I tried the code below - but it keeps giving me this error - why? UPDATE ...
0
votes
1answer
2k views

Object reference not set to an instance of an object when Updating a Timer JOB?

This is really weird. The exception is thrown in the FeatureActivated event exactly in the line job.Update(). There is no way to debug any further because that method is from the framework. Maybe I ...
0
votes
1answer
244 views

Problem registering new timer job

I have the following problem when trying to create a timer job I created my job based on this article: http://msdn.microsoft.com/en-us/library/hh528519.aspx However, debugging the feature activated ...
0
votes
2answers
4k views

Restore-SPSite reports “No content databases are available for this operation…”

I've run a site collection backup using Backup-SPSite. I then deleted the Site Collection using CA. Then tried to restore is using Restore-SPSite. Got the error "No content databases are available ...
0
votes
2answers
580 views

Timer Job Installation Error - Error obtaining reference to Site

I Have weird problem intalling custom timer job definition to specific webapplication. Environment is 2x wfe + 1x application server. Development and staging works fine (single server boxes) ...
-1
votes
2answers
31 views

Define a backup job on daily basis

I usually run the following three statements manually inside SharePoint power shell :- Backup-spsite -identity http://tgvsps01 -path T:\back\Team.bak –force Backup-spsite -identity ...