I tried to develop an adrms application by using the adrms sdk.
First of all, I set up the lab. environment referring to msdn "adrms step-by-step guide".
It works fine for the word product to limit the right for specific rights account(production mode).
However, when I switched to pre-production mode and tried to do it with code. The machine and user activation worked just fine. But trying to call GetSecureEnvironment method caused an error "0x8004cf19" which means E_DRM_BROKEN_CERT_CHAIN.
PS. I referred to this thread. The author got the same problem with me. But I can not understand the solution provided by the author which says "Solution: Re-issued production certificate from Microsoft has solved the problem." I tried to contact with the author but without any reply until now.
If you guys can give me any kind of help I would appreciate it very much.