Reset IIS after changing a Content Type

Posted Monday, February 25, 2008 1:19 PM by CoreyRoth

Just a word of warning as I have fallen for this one a time or two and I should know better.  Recently, I had a need to change the name of my site columns which meant of course I had to update my content types that were using it.  After, I did this, I discovered, that my ItemEventReceivers were no longer firing.  It was certainly strange behavior.  Then I remembered, I needed to reset IIS (or cycle the app pool or whatever), to drop the cache on the content type before reactivating the feature with the changes in it.

Filed under:

Comments

# re: Reset IIS after changing a Content Type

Tuesday, June 19, 2012 4:23 PM by John Guilbert

How do you do this on Sharepoint Online. I have had this with Custom Action Command Javascript staying cached. All updates I do to the code are NOT picked up after uninstall, deployment etc. I think I had to reset IIS and run powershell command.

I suppose it's a case of contacting MS.

# re: Reset IIS after changing a Content Type

Wednesday, June 27, 2012 11:31 AM by John Guilbert

Corey - How do you reset iis in Sharepoint Online ;) Powershell? I have have javascript code that is attached to custom action button that just won't go. I need to start IIS on Sharepoint Online.....possible?

# re: Reset IIS after changing a Content Type

Monday, August 6, 2012 4:23 PM by CoreyRoth

@John that is definitely an interesting concept.  I'm not sure the best way to handle this there.

Leave a Comment

(required) 
(required) 
(optional)
(required)