KB‎ > ‎

The remote procedure call failed. (Exception from HRESULT: 0x800706BE)

Ref: 20090426
Defect ID: 2633330
Last edited 28th March 2012

Case  1

Symptom:

The User Actions Required log of a publication contains entries similar to the following:

21/01/2011 14:13:04
Visio has reported an unanticipated exception when exporting to d:\triaster\processlibraries\processlibrary\live\html\mymap.map page-1.html

=== Begin For Triaster Support ===
The following content may be useful to the Triaster support team.
Please copy and paste it into an e-mail to support@triaster.co.uk
and attach any referenced files if you would like help understanding
how to avoid this issue reoccurring.
The remote procedure call failed. (Exception from HRESULT: 0x800706BE)
Visio has reported an unanticipated exception when exporting to d:\triaster\processlibraries\processlibrary\live\html\mymap.map page-1.html

System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception from HRESULT: 0x800706BE)
   at Microsoft.Office.Interop.Visio.PageClass.Export(String FileName)
   at Triaster.ProcessNavigator.Common.ProcessObjects.PageBase.CreateHTMLFile(String strMultiMapRoot, String strTargetRoot, enumVisioVersion lngVisioVersion, Boolean blnUseSubFolders, Boolean blnUseVisio2002MouseOver, Boolean blnUseDescriptionMouseOver, Boolean blnConvertHyperlinkCircleLinks, String strHTMLMapName)
=== Finish For Triaster Support ===

21/01/2011 14:13:04
Failure exporting d:\triaster\map store\processlibrary\3 master\MyMap.vdx to html.

=== Begin For Triaster Support ===
The following content may be useful to the Triaster support team.
Please copy and paste it into an e-mail to support@triaster.co.uk
and attach any referenced files if you would like help understanding
how to avoid this issue reoccurring.
The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
Failure exporting d:\triaster\map store\processlibrary\3 master\MyMap.vdx to html.

System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
   at Microsoft.Office.Interop.Visio.PageClass.get_Name()
   at Triaster.ProcessNavigator.Common.ProcessObjects.Map.ExportToHTML(String strTargetRoot, Boolean blnAddHeaderAndFooter, String strHeaderFileName, String strFooterFileName, enumHTMLMetaTagOptions lngMetaTagOptions, Boolean blnUseVisio2002MouseOver, Boolean blnUseDescriptionMouseOver, Boolean blnConvertHyperlinkCircleLinks)
   at Triaster.ProcessNavigator.AnalystEdition.clsExportToHTML.PerformExport(String strTargetRoot, Boolean blnIncludeHeaderAndFooter, String strHeaderFileName, String strFooterFileName, Boolean blnAddMetadata, Boolean blnIncludeProperties, Boolean blnUseVisio2002MouseOver, Boolean blnUseDescriptionMouseOver, Boolean blnConvertHyperlinkCircleLinks, Boolean blnExportModifiedFilesOnly)
=== Finish For Triaster Support ===

21/01/2011 14:13:04
Failure exporting to HTML

=== Begin For Triaster Support ===
The following content may be useful to the Triaster support team.
Please copy and paste it into an e-mail to support@triaster.co.uk
and attach any referenced files if you would like help understanding
how to avoid this issue reoccurring.
The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
Failure exporting to HTML

System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
   at Microsoft.Office.Interop.Visio.IVDocument.set_Saved(Boolean pbRet)
   at Triaster.ProcessNavigator.Common.ProcessObjects.DocumentsBase.EndVisioScope(String strFullPathAndFilename, Boolean blnAllowSave)
   at Triaster.ProcessNavigator.AnalystEdition.clsExportToHTML.PerformExport(String strTargetRoot, Boolean blnIncludeHeaderAndFooter, String strHeaderFileName, String strFooterFileName, Boolean blnAddMetadata, Boolean blnIncludeProperties, Boolean blnUseVisio2002MouseOver, Boolean blnUseDescriptionMouseOver, Boolean blnConvertHyperlinkCircleLinks, Boolean blnExportModifiedFilesOnly)
   at Triaster.ProcessNavigator.AnalystEdition.clsExportToHTML.Export(String strTargetRoot, Boolean blnBackUpExisting, String strBackupRoot, Boolean blnIncludeHeaderAndFooter, String strHeaderFileName, String strFooterFileName, Boolean blnAddMetadata, Boolean blnIncludeProperties, Boolean blnUseVisio2002MouseOver, Boolean blnUseDescriptionMouseOver, Boolean blnConvertHyperlinkCircleLinks, Boolean blnExportModifiedFilesOnly)
=== Finish For Triaster Support ===

Possible Cause:

Track Markup is turned on for this map.

When processing such a map during an export to HTML, Visio displays a modal dialog. As automated publications are usually run non-interactively, this dialog won't be visible, so further progress is stopped. If the seemingly unresponsive Visio.exe process is ended (perhaps manually or through an automated script), the errors described will be reported in the log.

Solution:

Open the map in Visio, and turn off Track Markup. Resave the map.

Case 2

Symptom:

When using Process Navigator, it reports:

"The remote procedure call failed. (Exception from HRESULT: 0x800706BE)".

This is usually accompanied by a Visio failure. Thereafter, the behaviour of both products is indeterminate. There will usually be a follow-up error message such as:

System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception from HRESULT: 0x800706BE) at Triaster.ProcessNavigator.Common.Helper.VisioSupport.CloseDocument(Document& docObj, MsgBoxResult mbrAlertResponse) at Triaster.ProcessNavigator.Common.ProcessObjects.DocumentBase.ExportToVisio()
 
or/and:
 
System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) at Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateSet(Object o, Type& objType, String name, Object[] args, String[] paramnames, Boolean OptimisticSet, CallType UseCallType) at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateSet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean OptimisticSet, Boolean RValueBase, CallType CallType) at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateSet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments) at Triaster.ProcessNavigator.Common.ProcessObjects.DocumentBase.ExportToVisio() at Triaster.ProcessNavigator.Common.ProcessObjects.DocumentBase.Export(ExportFormats enumExportFormat) at Triaster.ProcessNavigator.AnalystEdition.clsExport.Export(ExportFormats enumExportFormat) at triaster.ProcessNavigator.AnalystEdition.frmMain.mnuVisioVSD_Click(Object sender, EventArgs e)
 
Cause:
 
This error is caused whenever Process Navigator attempts to communicate with Visio, but Visio has entered an error state or crashed. It therefore typically happens during Visio intensive tasks such as Export to HTML, Export to Visio or one of the diagram generation routines. It happens more frequently when components of a Visio document are deleted during the routine (for example, when Exporting to Visio the VBA is deleted).
 
Solution:
 
This is an acknowledged software issue and is under current investigation at Triaster.
 
There are methods described in the following article which, if not already implemented, we'd recommend.
http://knowledgebase.triaster.co.uk/help-for-it-administrators/triaster-server/dead-visio-process-running-after-completion-of-publication

If such errors are persistent, then Visio automation stability can be improved by implementing the methods described in this article:
http://knowledgebase.triaster.co.uk/help-for-it-administrators/triaster-server/how-to-configure-visio-run-as-publication-user
 
Applies To:
  • Process Navigator all Versions
Comments