Posts mit dem Label Timer Job werden angezeigt. Alle Posts anzeigen
Posts mit dem Label Timer Job werden angezeigt. Alle Posts anzeigen

Montag, 21. Mai 2007

Custom Sharepoint Timer Job - Referencing Assemblies

I have written a custom Sharepoint Timer Job.

In that job i send emails for some items in a sharepoint list using the Ader TemplateEngine.

In my Project i referenced the assembly.

The deployment succeeded and as the job runs the first time, there was an error in the event log:

Could not load file or assembly ...... (i think you know the text :))

I was surprised because the assembly is deployed in the gac. Other projects use this assembly also on that server and can use it.

I don't know why but i copied the assembly to the web server extensions\12\bin folder where the owstimer.exe (That piece of executeable is responsable for executing the jobs) is living and this solved the problem.