Invalid Window Type for this Action

 This article is suitable for a Library Administrator
Ref: 20090227
Last edited February 18th 2016
When publishing to HTML, an error is reported of the type:
Invalid window type for this action.
Visio has reported an unanticipated exception when exporting to <filename>.html
System.Runtime.InteropServices.COMException (0x86DB08A5):
Invalid window type for this action.
at Microsoft.Office.Interop.Visio.WindowClass.set_PageFromName(String )
at Triaster.ProcessNavigator.Common.ProcessObjects.PageBase.Show(Boolean blnActivate)
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 ===
Possible Cause:
The error suggests that the associated Visio file has been saved in a state with an inappropriate window open (such as a ShapeSheet window).
1. Open the associated Visio file. (It should have the same file name as the HTML file cited in the error message, but will be stored in a different location.)
Visio 2003, 2007

From the Visio menu, click 'Window'.
Visio 2010, 2013

From Visio's 'View' tab, click 'Switch Windows'.

Visio - Switch windows

2. Is there more than one window listed? If so, select any such windows to bring them to the fore, and close them. The only window that should be listed is the main drawing window ('Map 1.vdx' in the above examples).
3. Save and close the file.
The file should now publish, assuming no other problems.
Applies to:
  • Visio 2003, 2007, 2010, 2013
  • Process Navigator all versions 

Need further help? Contact the Triaster Support team by e-mailing or by calling us on 0870 402 1234.
 Do you have any feedback or suggestions that you would like to share with Triaster? We would love to hear from you! Please e-mail