CMS Site deployment error 1002: "the xml parser could not parse the tag it was given"

I know this is old stuff, but sometimes you need to do some maintenance on old projects 🙂


 


I needed to get an old MCMS 2002 project to work again, compiled to the .NET Framework 1.0 with MCMS 2002 pre-sp1. So I dug up a Windows 2000 Service Pack 4 virtual pc image and started the installation.


 


The first problem I ran into was the fact that Site Manager requires the Microsoft Java Virtual Machine to be installed and since this is not supported by Microsoft anymore it was very hard to get. I Finally discovered that build 3809 of the virtual machine is allowed to install on a SP4 Windows 2000 machine. (you can still get it here: http://www.xs4all.nl/~smuller/VMSite2/msjvm2.htm)


After this CMS installed like a charm.


 


Now I set up the DCA, configured the SCA and wanted to import my sdo file which contained all the templates of my project.


 


That’s when the real trouble began…


 


I gat a 1002 error message when importing the sdo file (on _any_ sdo file I tried) which said “the xml parser could not parse the tag it was given” with another ‘access denied’ message to help me on the way 🙂


 


Offcourse www.google.com was the first page I looked up and to my relief a lot of hits popped up from users with similar problems. I also found a link to a MS article describing the most common causes for this error (find it here: http://support.microsoft.com/default.aspx?scid=kb;en-us;814774)


 


I tried everything solution which was proposed in this article but nothing worked.


 


Then I remembered that with the release of SP4 Microsoft fixed a lot of security flaws by just denying access to these functions.


 


This includes the right to impersonate as another user which was allowed before SP4. And this holds the solution to my problems, ladies and gentleman. 🙂


 


Grant the ASPNET account the rights to impersonate in the local security policy and restart the machine. After rebooting I was able to import the sdo file and finally got to work.