Solved

MSProject - error opening exported XML file

Posted on 2012-03-21
2
487 Views
Last Modified: 2012-03-22
I exported a large (4,000 tasks) mpp to xml and when I attempt to open it with Project I get the error "An unexpected error occurred... The file may be damaged." I tried exporting it several times but get the same error each time. I don't see anything obvious in the xml, but it is huge and something could be lurking someplace that's not apparent. Does anybody have any ideas?
0
Comment
Question by:dgmoore1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
pfrancois earned 500 total points
ID: 37751253
We have to discover what is failing: the export or the import part of the process.

There are several open source programs to check if a XML file is valid. If the XML file is found to be invalid, you know there is a bug in the export process.

If you are not afraid of command line interfaces (this has future, also in MS environments), xmllint can be a good tool to validate XML.
0
 

Author Closing Comment

by:dgmoore1
ID: 37752352
The problem turns out to be the formatting of the exported xml, which in turn is due to some stray characters in various mpp fields. When I open the xml in Excel it gives me the offset of the offending character, then I open the xml in HxD, go to the offset, and fix the xml. There are numerous errors, which I have to identify and fix one at a time. The file is enormous, so this is going to take a while, but I think it will ultimately work. I can also use the results of this exercise to go back and fix the mpp. Thanks for your comments.
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

At the office, we’ve started to get serious about organizing what we’re doing. I mean, it was getting to the point where every time I received a phone call, it began with “I know you’re really busy, but…” My boss was taking tasks away from me left a…
Learn how ViaSat reduced average response times for IT incidents from 10 minutes to 30 seconds.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question