.net - SharePoint's OWSTIMER service keeping references to feature receiver assemblies -


with sharepoint can use feature receiver perform actions when feature installed/uninstalled etc.

the feature receiver ran owstimer service , process seems roughly

  • .wsp (a cab file) unpacked , examined
  • .dll's moved bin/gac
  • feature receivers marked in manifest called (can in gac) service

however owstimer keeps handle open on dll containing feature receiver.

this means when uninstall feature fusion move dll c:\windows\temp\ directory , still keep reference. (more details here , here)

when try , install new version (assembly file version different assembly version has remain same) owstimer run old feature receiver.

you can stop occurring restart of owstimer service not practical on production farm environment there may many web servers.

anyone know of workarounds?

do iisreset between swapping on features.

yes, brings down web apps that's why have planned outages / out of hours. , make sure process rehearsed on dev machines.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -