The custom-timer-job tag has no wiki summary.
9
votes
1answer
299 views
Custom Timer Job does not Execute
I have a custom timer job that loads items into a generic list. The timer job is not executing. The timer job is deployed and the feature is activated. I can see the Timer job in the Job Definitions ...
2
votes
3answers
991 views
Problem Activating Custom Timer Job
Right now I'm trying to create a SharePoint 2010 Custom Timer Job in Visual Basic 2010, which doesn't want to register itself in the SharePoint Timer (it appears to add ok and everything, but doesn't ...
2
votes
4answers
2k views
Custom Timer Job/Solution Deployment Problems
I have a single solution that consists of the following:
Custom Timer Job (WebApplication scoped)
Custom Content Type and List (Web scoped)
Custom Logging Area (Web scoped)
These features are set ...
2
votes
3answers
155 views
Custom TimerJob SQL Access?
Im trying to access an SQL database from a custom TimerJob, but it fails.
Without hitting the Exception, it just stops.
I got the exact line where it get stuck:
SqlDataReader sqlReader = ...
2
votes
1answer
62 views
Unable to update list item - Additions to this web site have been blocked
I am developing a SharePoint job. In the public override void Execute(Guid targetInstanceId) method, my code goes:
SPSecurity.RunWithElevatedPrivileges(delegate()
{
int count = ...
2
votes
1answer
28 views
Users get subscribed to the same list more than once
I have developed a timerjob for MOSS 2007 which loops through a variety of subsites and then loops through all users on each site.
Code can be seen here
The issue at hand is that some of the users ...
2
votes
2answers
439 views
Custom timer job email problem
We have a daily custom timer job that emails a newsletter. Recently newsletters have not been sent and the timer job status has been stuck on "initialized 0%"
I have cleared the cache as described in ...
1
vote
2answers
55 views
Value retain when redeploy of SharePoint Timer Job
I have a very simple question on SharePoint 2010 Timer Job, I build by reference from here.
Basically upon execute of the Timer Job, I add an entry to SharePoint Custom List as following:
public ...
1
vote
3answers
162 views
A custom timer job to show a client side coded popup monthly
In my current project, I have been told to design a custom timer job which will run once a month and display a popup(which I'm planning to show as a modal dialog coded in jQuery). On clicking the ...
1
vote
2answers
43 views
Custom timerjob uses different value then what query is set to
Part of my timerjob does
DateTime week = DateTime.Now.AddDays(-7);
SPQuery mQuery = new SPQuery();
mQuery.Query = "<Where><Gt><FieldRef Name='myDay' /><Value Type='DateTime' ...
1
vote
1answer
96 views
Timer Jobs auto provisioning?
I want to create a timer job that will be on all of SharePoint's web applications.
It's not a problem - but I'm thinking of the situation when a new web application is created.
Will my timer job be ...
1
vote
1answer
141 views
Custom Timer Job for SharePoint 2007 using Visual Studio installed in separate system
I need to create one custom job for SharePoint 2007. But the harden is that is on another server while i need to develop that on my system using visual studio 2010. I have dll of SharePoint 2007 to ...
1
vote
1answer
34 views
How do to update custom SPTimerjob?
I have created & deployed a custom Jobdefinition via feature activation. During feature deactivation I use...
Foreach(SPJobDefinition job in WebApp.JobDefinitions){
...
1
vote
1answer
168 views
Timer Job - targets to specific application server
Below is our server topology
3 WFEs
2 App Servers
1 DB server
Now, I would like to write a custom timer job that should run only on the specific application server("APP1").
SPJobdefinition does not ...
1
vote
1answer
300 views
Access service context in timer job
I have custom claims provider which uses user profile service to get some data when resolving claims for user. I'm creating UserProfileManager this way:
private UserProfileManager UserProfileManager
...
1
vote
1answer
116 views
Not able to figure out the meaning of the error in the LOG file
I am getting the following error when I try to deploy my custom timer job.
" Cannot synchronize profile property languages until the ProfileDB is upgraded for UserProfileApplication 'User Profile ...
0
votes
1answer
877 views
Unable to locate the successfully deployed custom timer job
I have successfully deployed my timer job and it appears in the Central Admin but I cannot find it in Job Definitions or Running Jobs either in the Monitoring option of Central Admin. What could be ...
0
votes
1answer
789 views
“Access Denied” while Activating Custom Timer Job
When i tried to Activate Feature of Timer Job It returns error : Access Denied
Scope of Feature is "Site"..
private static void CreateJob(SPSite site)
{
try
{
...
0
votes
1answer
27 views
Trouble with redeploying Timer jobs during development
i have a project containing 1 timer job and 1SPpersistedObject.
when i deploy the project for the first time it works fine and i debug the correct code.
i then made a change and now it is debugging ...
0
votes
2answers
53 views
make sptimerjob run on correct list
I followed the code example at How to: Create a Web Application-Scoped Timer Job. It creates a timer job that runs on a list in the root of the web application. However, I need to make the timer job ...
0
votes
1answer
45 views
Accessing Entity Framework from Timer Job: connection string problem
I had a DB that normally I access from my SharePoint (2010) custom feature by Entity Framework.
The connection string is stored in the web.config.
If I do something like that from outside TimerJob:
...
0
votes
1answer
65 views
TimerJobs and ULS
I have developed a custom Timer Job, which is deployed to my Sharepoint 2010 Enterprise environment.
I often notice that things that happen in the TimerJob will not be entered into the ULS, in the ...
0
votes
2answers
373 views
EnsureUser not working in Job
Background:
sharepoint 2010
custom membership provider
custom job to create users
Job is deployed by code and executed first time from some WinForms exe, executed by local Administrator. Users are ...
0
votes
1answer
22 views
Is it possible to test if command is triggered by SharePoint UI or Powershell
I have a custom job definition for which I have created a Description override. I want it to have correct formatting when called via Central administration UI and when seen using Powershell. Does ...
0
votes
2answers
26 views
Timer job fails while trying to move huge data
How to move huge data using sharepoint custom timer job? Please help. Thanks in advance.
0
votes
0answers
24 views
Problem in Invoking SQL Server Reporting Services by SharePoint Timer Job
I'm facing some problem with the Render of some Reports during my SharePoint Timer Job. The same code running in a Console Application works correctly but in SharePoint Timer job stops working without ...
0
votes
1answer
59 views
Get rid of a TimerJob/Feature which throws an exception
I created a TimerJob which is activated upon Feature activation. Because I didn't know better, I forgot to add an public default constructor and now I always get this exception: "Error occurred in ...
0
votes
0answers
114 views
Custom Timer Job does not execute on production server
I have a custom job.
It works fine on staging server, after moving to production it is not working.
It shows in Central Administration "Job Definitions" I can open it and click "Run now" but it has no ...
0
votes
2answers
570 views
Custom job and System.Security.SecurityException: Access Denied
I have a custom job that I'm executing from a Web Part.
MySPJobDefinition myJob = new SPJobDefinition(SPContext.Current.Site.WebApplication, myParameters...);
//works
myJob.Execute(Guid.Empty);
...
0
votes
0answers
158 views
Custom job and site enumeration error
I have a WebPart where I'm executing a custom job. For most users it works fine but for some not, and in log I can see such an entry:
site enumeration stack at
...
0
votes
1answer
122 views
Copy an Item from one list to another list using custom timer job Creation?
How can i copy an item from one list to another list,I want to archive this item after 365 days of modified date of any item in the list.this i have to be do with Custom Timer job. can you please ...
0
votes
1answer
43 views
Resetting Major Versions on All Lists and Libraries
I've been tasked to help enforce our governance to set the Major version limit on all lists that have versioning enabled. I'm thinking of using a TimerJob to accomplish this. However, I've been ...
0
votes
1answer
682 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 ...
