none
SharePoint 2010 altering url's in master pages on its own RRS feed

  • Question

  • Wondering if others have seen this. 

    We know after doing a major catch-up patching of our sharepoint servers in January, that the system changed a bunch of urls in master pages and some other files.  generally cutting up existing absolute url's or //-type urls.  Normally cutting off an external server.domain.name from the url...implying it thought this stuff was on our web app.

    Well we finally figured out that the system had altered the files and we put it down to something involved with all the patching.

    On 4/20, we found one file that the system appeared to touch on its own again.  We know how this file used to look and that what was changed existed correctly prior to that date.   Also the version history says no one has touched the file since March.

    So...now we're wondering how to tell when SharePoint is touching files on its own since apparently the changes don't get tagged in version history.
    Also, does anyone know if there's an identifiable service that does this so that we can monitor and estimate if or when it might happen again?

    Thursday, April 21, 2016 10:49 PM

All replies

  • Hi,

    In SharePoint, there is no such OOTB feature acts like a “identifiable service”.

    A suggestion is that:

    If these files are in file system of the server machine, you can create a custom application for monitoring them in the file system;

    If they are in libraries in SharePoint site, you can create custom timer job to do the monitoring job.

    Best regards,

    Patrick

    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Wednesday, May 4, 2016 7:45 AM
    Moderator
  • they aren't in the file system... they would be in sharepoint's db. I don't know how we'd monitor if nothing in the system appears to be recording that they've changed (at least modified date and modified by aren't being touched).
    Thursday, May 5, 2016 5:53 PM
  • Hi,

    For files in a SharePoint site, we can use Server Object Model to download them, analyze the content of these files to check if the absolute urls inside had been altered programmatically.

    Put the code in a custom timer job, we will be able to repeat the operation periodically regardless of the modified date or modified by fields.

    More information about custom timer job:

    http://www.codeproject.com/Tips/634208/Create-and-Deploy-Custom-Timer-Job-Definition-in-S

    Best regards,

    Patrick

    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Sunday, May 15, 2016 7:22 AM
    Moderator