What is RPC-Server error??

MHM

Registered User.
Local time
Today, 21:00
Joined
Mar 15, 2000
Messages
101
Context: MS-WORD accessed by MS-ACCESS

Subject: Error -2147023174 (800706ba)at 2nd try

One of our Access-databases perfoms VBA-Code in WORD (via object WORD.Application).
At the first try, it always succeeds and creates a beautiful document containing all relevant data.
But at the 2nd try it always produces runtime-Error "-2147023174 (800706ba)" -
"RPC-Server not available" (German: "Automatisierungsfehler Der RPC-Server ist nicht verfügbar").
Even more misterious: This error is produced not at creating or changing the document, but at:
oWord.Selection.ParagraphFormat.LeftIndent = CentimetersToPoints(0). This object exists, it has got a value which can be changed (in control-window or in WORD), but "RPC-Server not available" causes Access to stop. By now this error can only be handled by closing ACCESS.

What is this Error? Does anyone have any idea about
- which program produces this error (WORD? ACCESS? WinNT/certain service-pack?)
- how to fix it?
 
RPC is a Remote Procedure Call - look at http://www.whatis.com/ for a better description - then I suggest the MSDN website and a search on RPC errors....
Hope this help
Matt
 

Users who are viewing this thread

Back
Top Bottom