Expiration Policy does not start
Hello all, I have created a custom Content Type inheriting from Item Content Type. Then I added the CT to a custom list. I go to the List Settings >> Information Management Policy Settings >> Define a policy >> Enable Expiration >> A time period based on the item's properties(Expiration Date + 1 day) >> Delete. I then add some entries in the list having Expiration Date 3-4 days ago. After logging to Central Administration and clicking the "Process Expires Items Now" an "Expiration policy (manually initiated)" entry is listed for a while in Timer Job Status list as Initialized and after a few page refreshes it is disappeared. (the older Expiration policy entry exists - from last night run). My records are not affected. Any ideas ?? Dimitris
June 25th, 2010 4:13pm

Lets try the same test except create the Information Management Policy on a Document Library. Ensure the Information management policy configuration in central administration is set to run daily>Information management policy configuration (under security configuration. Use a Document Library that isnt in publicly used but has Documents in it already, one you may use for testing, Create the Information Management Policy on the Document Library, Enable Expiration, The retention period is: Set the time period based on the items properties: Created Plus 2 and click Ok. Once again go to Central Administration and “process expired items now"... If you had any Documents in the Document Library, it should have just deleted them, buts lets go to Timer Job Status and refresh you shouod see the completed Information management policy, the ServerName, successful and the time it completed.. In real life we always use Last Modified as the start time of the retention period... Anyhow this should eliminate Content Types as a potential problem and I could have sworn that I always had issues when I set the rention policy to 1 day, but I can not find the document I wrote on the issue, there was a logical reason i thought at the time though I cant remember it now, lol... Anyhow ping back the post with what you find... -IvanIvan Sanders My LinkedIn Profile, My Blog, @iasanders.
Free Windows Admin Tool Kit Click here and download it now
June 27th, 2010 8:35am

Hello Ivan, I checked the Information Management Policy configuration (Expiration) and "Automatically find and process expired items" is checked, Daily. I had a Doc Lib containing some documents create on 04/04/2010. I added a Custom Policy --> Enable Expiration --> "A time period based on the item's properties: Created + 2 Days, Perform this action: Delete. I then ran the "Process Expired Items Now". A new Timer Job "Expiration policy (manually initiated) " appears in the list (another Expiration policy is also in the list ran yesterday without processing any of my documents). The new "Expiration policy (manually initiated)" is like: "Expiration policy (manually initiated) SRV-MOSS1 Initialized 0% 6/28/2010 12:03 PM " After a few F5's it disappears...
June 28th, 2010 12:05pm

The Timer Job Status disappears and doesny say succeeded or failed? If you have a lot of tasks being performed it will roll off pretty quick, my dev box only keeps 5 minutes worth of status.. Go to Diagnostic logging and choose Information management Policy from the Event Throttling Select a Category and choose information fpor the event log and verbose for the trace log... and kick off thre information management policy a couple of times manually, record the time you start and lets check the logs... -Ivan Ivan Sanders My LinkedIn Profile, My Blog, @iasanders.
Free Windows Admin Tool Kit Click here and download it now
June 29th, 2010 12:27am

Exactly, it disappears and it just shows the yesterday successfully completed task (without affescting any expired records..) However, it shows it is completed in 1 of our 2 WFEs..On which WFE should it reside? Is it related to the functionality?? I will try to turn on Logging and see the results.. and let you know! Thanks.
June 30th, 2010 4:10pm

I turned on logging in Information Management Policy and I get 3 messages after forcing execution of Expiration Policy: 1. Expiration Service has started, 2. Expiration Service for list Ontolica Styles in site http://intranet.....com failed. Feature '3ca33579-eceb-44b4-be7a-5db89c9731f3' for list template '778' is not installed in this farm. The operation could not be completed. at Microsoft.SharePoint.SPFeatureManager.GetFeatureRootAndListSchemaPaths(Guid featid, Int32 ltid, String& sPathToFeatureRoot, String& sPathToSchemaXml) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListContentTypes(String bstrUrl, String bstrListName, ISPDataCallback pXMLCallback) at Microsoft.SharePoint.Library.SPRequest.GetListContentTypes(String bstrUrl, String bstrListName, ISPDataCallback pXMLCallback) at Microsoft.SharePoint.SPContentTypeCollection.FetchCollection() at Microsoft.SharePoint.SPContentTypeCollection..ctor(SPList list) at Microsoft.SharePoint.SPList.get_ContentTypes() at Microsoft.Office.RecordsManagement.PolicyFeatures.ExpirationTask.Run(SPSite site) 3. Expiration Service has finished. Time Spent: 00:00:22.3433210 Does this mean that it does not continue because of the failure in step 2 ?? I tried to find in the features folder anything with the mentioned GUID with no results.
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2010 5:24pm

Hi, “Does this mean that it does not continue because of the failure in step 2 ?” I think so. To debug this issue, you can use following tool: SharePoint Manager 2007: http://spm.codeplex.com/releases/view/22762#ReviewsAnchor You can got to sharepoint_config > content service > web applications > your application > site collections > your collection > site features to find the site feature with feature id = '3ca33579-eceb-44b4-be7a-5db89c9731f3'. You can go to sharepoint_config > content service > web applications > your application > site collections > your collection > lists > list template gallery to find the list template with ID=’778’ Hope it is helpful!Seven
July 2nd, 2010 6:49am

I also think that it does not continue due to the error mentioned in the ULS. However, I cannot locate the feature with the ID in the Log file. Concerning the List Templates I go to harepoint_config > content service > web applications > your application > site collections > your collection > lists > list template gallery but I cannot also determine where to look for the Template IDs... There is no List template called "Ontolica Styles"...
Free Windows Admin Tool Kit Click here and download it now
July 5th, 2010 12:50pm

I also found something else... I found a list called "Ontolica Styles" in the SharePoint Manager App under sharepoint_config > content service > web applications > your application > site collections > your collection > list. When clicking on it I also get the error "Exception has been thrown by the target of an invocation". However, I can then see some details pf the List. In most of the attributes I can see "Feature '43bbc03a-2fe7-448a-a762-8172fb2d87a0' for list template '779' is not installed in this farm. The operation could not be completed." The list is not visible via SharePoint Site. Any ideas..??
July 5th, 2010 1:30pm

Hi, Looks like you had Ontolica Search Installed previously and it hasn’t been removed, do you see the following folders in 12\TEMPLATE\FEATURES OntolicaConfigLibrary, OntolicaSearchForMOSS, OntolicaStyleGallery?? The lists were hidden There is a tool that will help find and remove faulty features http://featureadmin.codeplex.com/ Reference http://technet.microsoft.com/en-us/library/cc262976(office.12).aspx http://technet.microsoft.com/en-us/library/cc262680(office.12).aspx Feature OntolicaConfigLibrary <?xml version="1.0" encoding="utf-8" ?> <!-- _lcid="1033" _version="12.0.4017" _dal="1" --> <!-- _LocalBinding --> <Feature Id="43BBC03A-2FE7-448a-A762-8172FB2D87A0" Title="Ontolica Config Library" Description="Hidden document library for storing Ontolica configuration settings." Version="3.0.0.0" Scope="Site" Hidden="TRUE" Element Manifest OntolicaConfigLibrary <?xml version="1.0" encoding="utf-8" ?> <!-- _lcid="1033" _version="12.0.4017" _dal="1" --> <!-- _LocalBinding --> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <ListTemplate BaseType="1" Catalog="FALSE" Default="FALSE" Name="ocl" DisplayName="Ontolica Config Library" Type="779" OnQuickLaunch="FALSE" Hidden="TRUE" HiddenList="TRUE" SecurityBits="11" Image="/_layouts/images/itdl.gif" RootWebOnly="TRUE"> </ListTemplate> </Elements> Feature OntolicaStyleGallery <?xml version="1.0" encoding="utf-8" ?> <!-- _lcid="1033" _version="12.0.4017" _dal="1" --> <!-- _LocalBinding --> <Feature Id="3CA33579-ECEB-44b4-BE7A-5DB89C9731F3" Title="Ontolica Style Gallery" Description="Ontolica Style Gallery" Version="3.0.0.0" Scope="Site" Hidden="TRUE" Element Manifest OntolicaStyleGallery <?xml version="1.0" encoding="utf-8" ?> <!-- _lcid="1033" _version="12.0.4017" _dal="1" --> <!-- _LocalBinding --> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <ListTemplate BaseType="1" Catalog="FALSE" Default="FALSE" Name="osg" DisplayName="Ontolica Style Gallery" Type="778" OnQuickLaunch="FALSE" Hidden="TRUE" HiddenList="TRUE" SecurityBits="11" Image="/_layouts/images/itdl.gif" RootWebOnly="TRUE"> </ListTemplate> </Elements> -Ivan Ivan Sanders My LinkedIn Profile, My Blog, @iasanders.
Free Windows Admin Tool Kit Click here and download it now
July 5th, 2010 3:15pm

Hello Ivan, I do not have anything under features folder in the 12 Hive regarding Ontolica... I tried the featureadmin from Codeplex but application crashes while trying to find faulty features.. However, without affecting anything I tried once again an example by invoking the expiration process Job and it worked. Under Timer Job Status I can see 2 entries: 1) JobTitle : Expiration Policy, Server : t-vsrv-wfe1, Status : Succeeded, Started : 6/30/2010 12:07 PM 2) JobTitle : Expiration Policy, Server : t-vsrv-wfe2, Status : Succeeded, Started : 7/19/2010 12:02 PM Every time I force the expiration policy I get one temporary (it is disappeared after several refresh): JobTitle : Expiration Policy(manually initiated), Server : t-vsrv-wfe1, Status :Initialized , Started : 7/19/2010 5:57 PM Sometimes the server is t-vsrv-wfe2 (we have 2 WFEs: t-vsrv-wfe1 and t-vsrv-wfe2) On which WFE should it run? I will also check if the automatic process deletes my expired items...
July 19th, 2010 6:01pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics