What causes Word 2007 document variables to get corrupted

I can save a Word 2007 document with Document Variables on computer A and then reopen it and the Document Variables are intact.  I can then do the exact same thing with the exact same document on computer B but the Document Variables are corrupted and contain garbage.  I repeat the experiment on computer C and it acts the same way as computer B.  As far as I can tell, computers A, B and C are identical.

Clue? -- The garbage on computer B and C is identical.

This is driving me crazy.  Any ideas?
TimLitleAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joanne M. OrzechManager, Document Services CenterCommented:
What do you mean by "garbage?"  Can you upload a screen shot or a document? And where are the values of the variables coming from?
0
TimLitleAuthor Commented:

I have some more information.  Also, I was wrong in that Computers A, B and C all function the same way.
 
I have found that a .dot Document Word 2007 (Compatibility Mode) works as it should.  A .dotm Document Word 2007 (Word 2007 Mode) does not.  I created an example of each where the problem is self-explanatory but the Experts-Exchange Attach File feature will not allow such files, even if zipped, to be attached.
 
I would like to find out if I have found a Microsoft bug or if I am doing something wrong.  I suppose I could use the .dot format but I would rather not for a variety of reasons.  I cannot do without the Document Variables.
 
A Google search of persistence Document Variables dotm (without the quotes) raises the same question but I couldnt find any answers if they exist.
 
My email is Tim@Litle.com.  Could you email me so I can send you the zipped examples?  Thanks.  
0
TimLitleAuthor Commented:
I have some more information.

I have found that a .dot Document Word 2007 (Compatibility Mode) works as it should.  A .dotm Document Word 2007 (Word 2007 Mode) does not.  I created an example of each where the problem is self-explanatory but the Experts-Exchange "Attach File" feature will not allow such files, even if zipped, to be attached.

I would like to find out if I have found a Microsoft bug or if I am doing something wrong.  I suppose I could use the .dot format but I would rather not for a variety of reasons.  I cannot do without the Document Variables.

A Google search of "persistence Document Variables dotm" (without the quotes) raises the same question but I couldn't find any answers if they exist.

My email is Tim@Litle.com.  Could you email me so I can send you the zipped examples?  Thanks.  
0
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

TimLitleAuthor Commented:
I have looked through my records and believe, for various reasons, that the Document Variables in Word 2007 Documents worked as recently as May 29, 2009.  The earliest date I can find of an internet reference to the problem is June 16, 2009.  I suspect that its possible that a Microsoft update between those two dates caused the problem.  Can anyone shed some light on this?  
0
Joanne M. OrzechManager, Document Services CenterCommented:
I have no problem using DocVariables in Word 2007.  Therefore, I need to know what "garbage" is appearing in your documents.  I was unable to locate a list of updates between those dates you provided.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TimLitleAuthor Commented:
I have found the solution to the problem.  It is a Microsoft bug that can be fixed by uninstalling security patch KB969604.   Check out the following:

http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.word.vba.general&tid=1e5dddc7-0269-4d98-935f-973164e3130c&cat=)=&cr=&sloc=&p=1 

Thanks for putting me on the trail of an Office 2007 problem.
0
Joanne M. OrzechManager, Document Services CenterCommented:
Thanks for posting your solution Tim!  I know this will be helpful to others who may be experiencing the same issues.

Joanne
0
TimLitleAuthor Commented:
Apparently Microsoft Security Patches come out once per month and 6 new ones came out on July 14, 2009.  Needless to say, these patches didnt fix the Document Variable problems caused by the last set of patches.  Uninstalling KB969604 is still the only solution.

If you have a new PC that came with Office 2007 SP2 factory installed (which has KB969604 baked in), you need to COMPLETELY uninstall Outlook 2007 SP2 and reinstall an earlier version then roll-forward by installing all the updates except KB969604 leaving you with Outlook 2007 SP2 sans KB969604.

Once again  thank you Microsoft!
0
Joanne M. OrzechManager, Document Services CenterCommented:
So nice of you to come back to this question and post such a detailed solution.  Thank you again Tim!
0
TimLitleAuthor Commented:
Microsoft claims that KB970942 fixes both the "Document Variable" and Password is incorrect" errors caused by SP2.  It also appears to be, at 11.6mb, the beta (with all the normal caveats) for Office 2007 SP3.  It claims to fix all kinds of other issues as well so I wont install it unless operating on Office 2007 rolled-back to SP1 proves to be a problem.

I also found out why solving my two issues was so complicated.  Removing KB969604 security patch to SP2 did, in fact, solve the "Document Variable" problem but I still had the "Password is incorrect" error.  Hotfix KB969961 solved "Password is incorrect"  but REINTRODUCED the "Document Variable" issue.

This is my current understanding of what is going on but as the result of the all the misinformation floating around, it is subject to change.
0
Joanne M. OrzechManager, Document Services CenterCommented:
What a mess!
0
TimLitleAuthor Commented:
I suspect that there are companies with thousands of documents that use both Passwords and Document Variables.  Whe they upgrade to SP2, they are in for a BIG surprise.
0
Joanne M. OrzechManager, Document Services CenterCommented:
Painful...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Word

From novice to tech pro — start learning today.