0

I have created a class which inherits IExpirationFormula,in which I have define ComputeExpireDate method which caluclate the expiry date of document. The issue is that, this method is not getting executed .

Please help me out to know which event triggers this ComputeExpireDate(), so that I can debug it.

  • Have you created event receiver to add your ExpirationFormula? c-sharpcorner.com/UploadFile/anavijai/… – Aanchal Jun 9 '14 at 5:12
  • @Aanchal Yes I have. Even I am getting this custom formula in drop down list of Information Policy Management setting page. – nbi Jun 9 '14 at 5:16
  • You can try restarting your timer service and app pool recycle. Check if you Expiration Policy and Information Management Policy job are runninh – Aanchal Jun 9 '14 at 5:55
0

Issue is resolved. Its because VS2012 keeps on deploying old code. Resolved as Tool--> Options -->Debugging -->General-->Require source file to exact match the origional version(I have unchecked it)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.