.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Custom Timer Jobs in Farm Features but not Job Definitions.

Posted By:      Posted Date: September 22, 2010    Points: 0   Category :SharePoint
I have 2 custom jobs activated in MOSS 2007. They both show up in CA under Manage Farm Features but they do not show up in Timer Job Definitions.  One of the jobs are the MSDN SharePoint Warmup Job and the other is a custom one I wrote. I thought that my code was wrong but I downloaded the warmup job and installed/activated it. and it is the same way. Any Suggestions?

View Complete Post

More Related Resource Links

Custom Timer Job not working on multi-server farm


I created a timer job based on Andrew Connell's tutorial. I ran this timer job on my development server, and it works perfectly. When I deployed it to our testing server, which is a multi-server farm with one wfe, it doesn't seem to work.

Here is what I have tried so far to get the timer job to work on our test server, based on other posts in this forum, and other tutorials I read on the web.

  • I made sure to stop and restart the timer job every time I change the solution
  • I have logged-in with the farm account on my test server to deploy and activate the feature
  • I have checked the timer job status in Central Admin, it says the timer job ran on the wfe with a status of Succeeded, and a progress of 100%
  • I have checked the SharePoint logs, I see "Start invoke timer job" with my timer job name, and usually the next line or two reads "End invoke timer job"
  • In the execute method, I am now telling it to write to the Sharepoint Logs that it has started, but this line never appears in the logs

I assume that since this is the first time writing a timer job, I am obviously missing something that my solution needs to run on a multi-server farm. I even played with the SPJobLockType, but no luck, it is currently set to ContentDatabase. Do I need to add code that tells my timer jo

Timer jobs not running in QA farm



I created a custom timer job. I deployed it and tried it in my dev farm and everything runs fine. However,  the job doesn't do anything in the QA farm. I say this because in Central Admin, the status of the job is succeeded, but I have no entries in the logs and the list that this job is supposed to fill is empty. I thought it was something with that specific job. So, I created a new one that only has an assert to false so it displays a pop up as soon as it runs. Guess what? The job says initialized ans its completeness is set to 0%. No pop up shown.  


For soem reason this Farm is not running custom timer jobs. This is in MOSS 2007


Custom Timer Job deploying at Farm level



I am trying to develop a timer job that is deployed at Farm Level. can anyone point me to an example of how to deploy it?

(I am looking for code in FeatureActivated and deactivated event)



Custom Cultures: Extend Your Code's Global Reach With New Features In The .NET Framework 2.0


The upcoming Microsoft .NET Framework 2.0 adds a number of globalization features that address the important issues of extensibility, standards support, and migration. Here authors Michael Kaplan and Cathy Wissink explain what these features mean to your globalization effort.

Michael Kaplan and Cathy Wissink

MSDN Magazine October 2005

Quick Note: Create Custom List Definitions in SharePoint 2010

In this exercise, you create a custom list definition in Microsoft SharePoint 2010 and then create an event receiver that is triggered when the list is used.

Creating List Definitions with Custom List Columns for SharePoint Server 2007

Learn to use Visual Studio 2008 Extensions for Windows SharePoint Services to create a SharePoint list definition that implements custom list columns.

Custom SharePoint Timer Job doesn't run after changing code and restart timer services.

Hi We are facing an issue that our custom SharePonit Timer Job doesn't run after a changing the code. First, we developed and deployed a timer job. It worked fine for a few days, then we detected a memory leak and killed the OWSTIMER.EXE. (Maybe we should uninstall the timer job and restart the timer services nicely). We fixed the problem, redeployed the fix as a feature (assemblies are re-GACed ...) to our small SharePoint farm (one web server, one services server), restarted the SharePonit Timer Services. Now we can see the time job in Timer Job Definition in Central Admin but the job never runs (Since it doesn't run, the timer job status page doesn't have any info about it). We tried the same process in a dev environment with SharePoint signle box installation. The timer job just works fine. I did some search on Internet and followed some instruction to clear the cache from "C:\ProgramData\Microsoft\SharePoint\Config\1d50d73c-9bf1-4444-85a9-910ed050d1bf" by 1. Remove all the xml2. Clear the cache.ini with "1".3. restart the timer services. It still doesn't fix the problem.Please advise what else I can do. I even rename the timer job and redeploy it. It doesn't help. I checked the even log and SharePoing log and couldn't see anything wrong. Our OS is W2K8.         public override void FeatureActivated(SPFeatureReceiverProperties properties)        { 

custom timer job Access denied sharepoint 2010

Hi, I have a question regarding to custom timer job will be happy if you could help us. The problem is that - owstimer.exe running the timer job crashes. - Question why? Launch debugg in the feature - running the timer job is falling on taskJob.Update (); writes SecurityException  I developed the Job TIMER on moss2007 that everything worked, Now we turned from 2007 to sharepoint 2010 and Job TIMER does not work. I tried to note all of the code is inside the function Execute in  job timer might have something to code blocks. But it also did not help. Eventvwr he writes in the following error: The description for Event ID 0 from source Application can not be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: Custom Timer Jobs: func FeatureActivated Access denied. the message resource is present but the message is not found in the string / message table what the solution to that-timer job that will work? Thank you Moshes

Deploying a custom theme as a farm solution

Hello,   I am a beginner to Visual Studio 2010 + Sharepoint 2010 - I have created a custom theme and would like to deploy it to my dev Sharepoint farm as a solution.  I've added the "Sharepoint mapped folder.." (..TEMPLATE\GLOBAL\Lists\themes) and added my thmx to that folder in the project.  When the solution is deployed to my dev farm the custom theme gets added to the 14 hive \TEMPLATE\GLOBAL\Lists\themes folder but when a new site is created the theme is not available from Site Settings->Site Theme or in the Theme Gallery.  What am I missing here?

Custom IP-STS - The trusted login provider did not supply a token accepted by this farm.

Similar to this thread , I am attempting to setup a Trusted Identity Provider for SharePoint 2010.  I have made it past all the errors in that thread to successfully get a token created with custom claims and have them placed in a token and successfully decrypted on the SharePoint side.  However, SharePoint doesn't like my unencrypted token. I have removed the bearer information from the token on the STS side but that didn't do anything.  I also remove the Microsoft.SharePoint.IdentityModel.SPSaml11SecurityTokenHandler and the SPPassiveIssuerNameRegistry, but still get the same error:   Exception information:     Exception type: FaultException     Exception message: The trusted login provider did not supply a token accepted by this farm.   Request information:     Request URL: http://sharepoint2010:777/_trust/default.aspx     Request path: /_trust/default.aspx     User host address: fe80::f1bd:4865:3597:c845/_trust     User:      Is authenticated: False     Authentication Type:      Thread account name: CONTOSO\administrator   Thread information:     Thread ID: 6     Thread account name: CONTOSO\administrator     Is impersonating: False     Stack trace:    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustClient.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr)    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustClient.Issue(RequestS

Backup/restore Failed don't exist timer jobs


According to John Ferringer, i'm moving this post from "SharePoint Products > SharePoint Products and Technologies Forums > SharePoint - Setup, Upgrade, Administration and Operation (pre-SharePoint 2010) > Backup/restore Failed don't exist timer jobs".

Hi Folks, i'm recieving this message when i try to make a site collection/farm/site backup "The backup/restore job failed because there is already another job scheduled. Delete the timer job from the Timer Job Definitions page, and then restart the backup/restore job.". I'm going to central administration/monitoring/timer jobs/check jobs status but i can not find anything.

My scenario:

- W2008 R2 EE

- MOSS 2010 EE

- MOPS 2010

- SQL Serve

Custom document library template at farm level.


Dear all..

I'm trying to create a custom document library template at farm level, as I want to template to be available in all the sites I create.

The thing is that I'm not sure if I'm taking the correct approach. I just need a standard document library with 3 additional columns (Metadata) 2 text fields and one date field. I will then add a document library of this type to a custom site template I've already created. (So instead of list with Type '101' I will use my custom 10055 library.

The way I'm trying to do this is:

1. I make a copy of the FEATURES\DocumentLibrary folder of my installation. So now I have FEATURES\CustomLibrary folder

2. I create an empty SharePoint project in Visual Studio 2010 and map the TEMPLATE folder, and the I add CustomLibrary folder and all the files and subfolders in it.

3. I edit the feature.xml, and add a newly generated GUID

4. I make the modifications I need to the other xml files included in the DocLib and SiteTemplates subfolders. (Type=10055, etc..)

5. I right click on the solution and deploy.


After this, I can't see my custom library when I try to create a new item in my sites. 

One thing I don't understand is why the OOTB DocumentLibrary feature has HIDDEN = true in the feature.xml file. Anyway I've tried both in my custom template, but

unable to register a custom timer job in Moss


Hi all,


I was unable to register a custom timer job in Moss 2007 using both the web interface via feature activation event as well as through code by taking the instance of the timer job class in a custom web part where i manage the custom timer jobs.


The same above case was working fine in a different environment.Could you please help by listing out the reasons/solutions/work around.


This is very critical and urgent as i was deploying the same in production.Thanks in advance.




Thanks keshav,Share point Developer

How to schedule the custom timer job two times a week to run in MOSS




I have scheduled a custom timer job to run for weekly two times using the spschedule. the string used in the feature event was

"weekly between tue 23:00:00 and thu 23:00:00"

But the problem is i have the job is running only once with the above schedule.How can i run the job twice a week on specific days.


Please share your ideas/solutions to run the custom timer job in  MOSS as per the above schedule.






Thanks keshav,Share point Developer

How to upgrade MOSS 2007 custom site definitions to SharePoint 2010?

I would like to know how to upgrade custom site definitions of MOSS 2007 to SharePoint 2010 in detail?
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend