RE: Word Automation: OLE exception error 5981 in Windows 7

Author: Richard Kaye

Posted: 2010-06-03 at 08:27:46

What happens if you use a specific document reference in the Add call?

rk

-----Original Message-----

From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com] On Behalf Of Ken Dibble

Sent: Thursday, June 03, 2010 12:03 AM

To: profoxtech@leafe.com

Subject: RE: Word Automation: OLE exception error 5981 in Windows 7

Thanks Bill. I had already seen that early on. I did try some of the

suggestions in that article, and they didn't work. I don't know how to

"programmatically" load a different registry hive or start word as a

different user. However, since I'm already doing everything with the same

Domain Administrator account I was running when I installed Office, and

beyond that I've explicitly granted every possible action permission to MS

Office, and "Full Control" permission for the \Program Files\Microsoft

Office\... folder to my account, I can't see how it can possibly be a

permissions issue.

I've also investigated and discarded the possibility that the Normal.dot

file is corrupt, as is suggested in other Google results on the same error.

So what else can there be?

Thanks.

Ken Dibble

www.stic-cil.org

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD04406842F0922@ACKBWDDQH1.artfact.local

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2010 Richard Kaye