Tuesday, November 03, 2009

WMRM DisableOnClockRollback

I've been working on a project which involves using Windows Media Rights Manager (WMRM) Digital Rights Management (DRM).  As part of that project I have been applying rights to specific content (movies in this case)to meet the rules specified by the client.

Unfortunately I was receiving an error and searching on the error message returned exactly no hits.

{"Error HRESULT E_FAIL has been returned from a call to a COM component."}

at WMRMOBJSLib.WMRMRightsClass.set_DisableOnClockRollback(Int32 pVal)

In case anyone else runs in to this in the future, here's what the bug actually was.

I was setting a DisableOnClockRollback value of true, but was getting the error when I did so.  A short MSDN search later and and I found http://msdn.microsoft.com/en-us/library/bb649390(VS.85).asp. In it is the line:

This property works only if you have set an expiration date first.

That'll be the problem then.


  1. The good thing with regards to virgin mobile curly hair as well as good quality curly hair can be actually certainly not highly processed using just about any brazilian hair sale which have been the slightest bit unsafe to the curly hair as well as can make it sluggish. These are generally commonly dealt with using virtually totally natural and organic things and thus these are dealt with while virgin mobile curly hair automobile balanced mother nature along with easy visual appeal. Your specialised involving brazilian hair curly hair extension cables as well as your Remy hairs can be that they may certainly not pose in comparison to your manufactured hairs for the reason that cuticles in the Remy curly hair are generally comprehensive and in many cases.

  2. It is a serious problem by which your project will be disturbed you have to try the re installation of the program or some files which college assignment help creating problem which will very helpful for you and you have to be sure that all the functions will be work after the re installation which is necessary for your project work.

  3. It is really interesting and informative the knowledge you share above. No doubt in that to write a law essay is difficult and student who has not experience is need surely the help from law service writing.

  4. We have a team of professional academic writer who can write all your college essays and assignments: We provide plagiarism-free essays and academic papers custom written for you with free plagiarism report.
    Assignment Help

  5. As the entire world is going portable due to Google's Mobile calculation upgrade, these tips are truly going to advantage engineer to make the fruitful versatile application.

  6. Worthy educational and remarkable post shared with everybody about windows phone. I consider this is actually a forceful tool in the present-day age with incredible apps for customers.Essay Writing Service UK

  7. This is a good post shared with everyone else out there about windows phone. Many people are more into android phone other than windows phone and prefer to use it as a tool in day to day functions. Custom Nursing Assignments UK