简体   繁体   中英

Access 2013 Word 15 reference not degrading to Word 14 on Access 2010 and Requires Elevation

I have an Access application developed in 2013. When I select the Word 15 object library to open Word documents in my development environment it works fine.

When I put the file on the client's machine, which is running Access and Word 2010, it throws an error saying that it cannot find the Word 15 reference.

If I go in and uncheck the Word 15 reference and check the Word 14 reference, it will start without errors, but when I try to generate a letter in Word 2010 from Access 2010, it throws an error:

"cmdDraftLetter_Click: -2147024156 Automation error The requested operation requires elevation"

The error only happened on one account on this machine. The Administrator account and two other user accounts did not invoke the error.

I checked the user account level and found it was an Administrator. I checked to make sure that they were actually in the Administrators group. None of this solved my issue.

Gord's answer regarding binding solved half my problem. The elevation problem, I solved by going to the Office folder and checking the properties of winword.exe and msaccess.exe.

winword was ticked to "Run as Adminstrator".

msaccess was not.

ticking the "Run as Adminstrator" for msaccess resolved the Elevation problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM