Visio Services does not render diagrams that are hosted on servers that have IDNs
Symptoms
When you have Microsoft Silverlight installed on a computer, Microsoft Visio Services cannot render diagrams that are hosted on servers that have International Domain Names (IDNs). Specifically, Visio Services cannot render these diagrams by using Silverlight on a Microsoft SharePoint Server site. Additionally, a JavaScript error occurs.
Note This is a known problem in Silverlight.
Cause
When Visio Services loads a diagram, Visio Services transforms the diagram by using Extensible Application Markup Language (XAML). Then, the Visio Web part reads the XAML. This problem occurs because Silverlight cannot fetch the new XAML-based diagram from the server that has an IDN.
Resolution
To resolve this problem, configure Visio Services to render diagrams as raster images. For example, configure Visio Services to render diagrams as Portable Network Graphics (PNG) images. Or, do not use a server that has an IDN.
To do render diagrams as raster images, follow these steps:
- Click the Visio Web Access Web Part menu, and then click Edit Web Part.
- Select the Force raster rendering check box.
- Click Apply, and then click OK.
More Information
The Visio Web Access Web part must be added to a page. To add the Web part to an existing page or to create a Web part page, use the following procedures in SharePoint Server.
To add the Web part to an existing page, follow these steps:
- Click the Site Actions menu, and then click Edit Page.
- Click Add a Web Part.
- In the Categories menu, select Business Data.
- Click Visio Web Access, and then click Add.
- Click the Click here to open the tool pane link.
- Click the browse button that is next to the Web Drawing URL field.
- Select a Web drawing (.vdw), and then click OK.
- Click Apply, and then click OK.
To create a new Web part page, follow these steps:
- Click the Site Actions menu, and then click More Options….
- Select Web Part Page, and then click Create.
- Type a name for the page, select a layout template, select a Document Library, and then click Create.
- In one of the Web part sections, click Add a Web Part.
- In the Categories menu, select Business Data.
- Click Visio Web Access, and then click Add.
- Click the Click here to open the tool pane link.
- Click the browse button that is next to the Web Drawing URL field.
- Select a Web drawing (.vdw), and then click OK.
- Click Apply, and then click OK.