Compartilhar via


XPS Error - Failed to initialize rights management. Contact your network administrator or support personnel.

Someone posted a problem on this thread a while back that sort of went unanswered for a while...well at least went without a *good* answer.

https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3980838&SiteID=1&mode=1

I thought I'd post my answer to this blog as well for people trying to use the XPSViewer to protect XPS files using the Passport service, that don't have Office.

You need a mechanism to get a RAC (Rights Account Certificate (also called a GIC (Group Identity Certificate)), and a CLC (Client Licensor Certificate) from the Passport service. First make sure you have the RMS client installed for your platform. You can get it from here (look at the right hand side of the page).

https://www.microsoft.com/windowsserver2003/technologies/rightsmgmt/default.mspx

Then download this file (I provide no warranty for these files. Use at your own risk):

https://www.joectzn.com/ActivationTools.zip (These are just two samples from the RMS SDK that have been compiled)

*Yes, joectzn.com is going to be my dumping ground for samples and stuff since I can't upload stuff to these servers.*

Unzip them then go to a command prompt (CD to the directory you unzipped the tools to) and type:

ActivateGic -U youremail@hotmail.com -P

Obviously youremail@hotmail.com should be whatever e-mail account you are signing up for, or have already signed up for the passport service. 

Follow the steps presented. This will go out to the Passport services and get you a GIC file which is needed to participate in the whole Passport/RMS world (assuming you don't already have an Enterprise RMS server).

Then type:

ActivateCLC -U youremail@hotmail.com -A https://certification.drm.microsoft.com/certification -L https://licensing.drm.microsoft.com/licensing

This should go grab your CLC which is essentially your offline publishing certificate.

You should see all of these certificates located in your %userprofile%\AppData\Local\Microsoft\DRM folder on Vista, or %userprofile%\Local Settings\Application Data\Microsoft\DRM on XP and below.

Once you have all of these certificates, you should be able to RMS/Passport protect XPS documents with just the free viewer and the free Passport service, and don't need to have Office Pro+ installed, making the Office team very sad indeed. Now of course if you want to protect things like Word documents, Powerpoint documents, or e-mail you will need Office 2003 Pro or Office 2007 Pro+, but for those of you who just need to protect XPS docs, this should work...errr...at least on Vista x64 where I just tested it. I *assume* it will do the same thing on other platforms.

-Jason

Comments

  • Anonymous
    May 30, 2011
    following link is not workin please post new zip

  • Anonymous
    June 01, 2011
    link for activation zip is not working.. please post new zip