10 minute readApplies to: v4

Troubleshooting the Visio tile

If you are having problems using the Visio tile to insert a Visio diagram into Squared Up please check the following:

  1. That you only have one Visio tile on a page.

  2. That you have the latest version of Squared Up.

  3. Use a Status tile as described in How to use the Visio tile to check that health state icons display.

  4. That the SVG file size isn't too large. Large SVG files will mean the page takes longer to load. Typically, Visio diagrams built using only stencils will be fairly small, but if your diagram also contains images, then this can mean very large file sizes.

The Visio diagram is too large when displayed in Squared Up

  1. Add padding to the page in Squared Up.

    Squared Up will resize the Visio diagram to fill the column width. Resizing the column will make the diagram increase or decrease in size accordingly.

    You can also add blank columns to either side of the diagram. Use the layout helper Layout Helper to add one column and then another. Drag the Visio tile to the middle column:

    Reducing Visio Size In SquaredUp by adding columns

    For more information on columns and page layout see How to add and edit columns.

  2. Resize the page in Visio.

    If you would like your Visio diagram to appear smaller within the column:

    In Visio increase the size of the white space (padding) or page around the diagram by holding down CTRL and dragging the corner of the page, as described in the Microsoft article How to resize a page in a Visio drawing. Then Save as SVG, and drag the new SVG file into the Squared Up Visio tile again.

The Visio diagram is too small or has too much white space around it

  1. Make the column wider in Squared Up.

  2. If you would like your Visio diagram to appear larger within the column, resize the page in Visio:

    • In Visio reduce the size of the white space around the diagram by holding down CTRL and dragging the corner of the page, save the SVG, and drag the new SVG file into the Visio tile again.

    • Alternatively, use the Fit to Drawing option in Visio, by going to Design > Size then Fit to Drawing.

406 - Client browser does not accept the MIME type of the requested page

406 - Client browser does not accept the MIME type of the requested page.
The page you are looking for cannot be opened by your browser because it has a file name extension that your browser does not accept.

Visio 406 Mime Type Error

This error is caused by the SVG file being too large to upload. ASP.NET has a default limit on file uploads of 4MB. While this is configurable, a file of this size will take a while to load in most browsers, and generally the best method is to ensure your SVG file is no larger than 1- 2MB. There is a hard limit of 10MB that cannot be increased.

We recommend that you reduce the overall file size of the SVG file by removing images, or reduce the size of each individual image in an image editor, rather than shrinking them in Visio.

If you wish you can also change the file size limit in the web.config file on your Squared Up server:

  1. Backup the Squared Up web.config file, which by default is located in C:\inetpub\wwwroot\squaredupv4.

  2. Open the file web.config with Notepad and add (or amend if the httpRuntime line already exists) <httpRuntime maxRequestLength="xxx" /> where xxx is the file size limit in KB, up to a limit of 10000. For example, you might need to amend the line as below:

    <configuration>
        <system.web>
        ...
           <httpRuntime targetFramework="4.5.2" enableVersionHeader="false" maxRequestLength="6000" />
        ...
        </system.web>
    </configuration>
  3. Save the web.config file

  4. Open a command prompt as 'Run as administrator' and type iisreset to restart IIS. You should then be able to upload the file to Squared Up.

File is too big

File is too big (xxMiB). Max filesize: 10MiB

While the ASP.NET limit of 4MB can be increased by editing the web.config file (see above) there is a hard limit of 10MB.

We recommend that you reduce the overall file size of the SVG file by removing images, or reduce the size of each individual image in an image editor, rather than shrinking them in Visio.

The whole diagram is changing color

  1. Check whether the shapes need ungrouping in Visio. If you click on a shape in Visio and several shapes or the whole page is selected then the shapes are grouped. Ungroup the shapes by right-clicking on the shapes, selecting Group and then clicking on Ungroup.

    For example, if you've downloaded a map from http://www.amcharts.com/svg-maps/ you will need to ungroup the shapes in Visio before linking the SCOM IDs:

    How to ungroup in Visio

    After ungrouping you can see the individual shapes:

    World Map Ungrouped

  2. Check that the background has not been linked to a SCOM ID.

No health state icons or colors are shown

  1. Create a Status tile to check that health state icons display correctly.

  2. Check in Visio that the the label for the SCOM ID is scomId not F3 or something else: From Visio open the SVG file, on the Data toolbar tick Shape Data Window, click on an object and check that the label for the SCOM ID is scomId. If it is not scomId you can press CTRL+A to select all the objects, then right-click in the Shape Data window and click Define Shape Data and relabel the field, for example from F3 to scomId.

    Scomid Label

    When you next link data to a diagram you should choose Data > Custom Import. Using Quick Import does not use the column headers as the data label, and the SCOM IDs are incorrectly labelled F3 rather than scomId and will not show the health state in Squared Up.

Some shapes don't show health state icons or change color

  1. Check that all shapes have the scomId data field. From Visio open the SVG file, on the Data toolbar tick Shape Data Window, click on an object and check that the label for the SCOM ID is scomId.

  2. Check that each of the SCOM IDs are correct, that they exist in SCOM, and are the objects you wish to link to.

    You can check in Squared Up, by putting the SCOM ID in this URL:

    http://SquaredUpServer/SquaredUpv4/drilldown/scomobject?id=SCOMID

    Where SquaredUpServer should be replaced by the name of the server where Squared Up is installed, and SCOMID at the end of the URL should be replaced by the SCOM ID you wish to check, for example:

    http://Server1/SquaredUpv4/drilldown/scomobject?id=76115fa5-d7f1-99c5-bc10-1e1db992ccf5

    Or using PowerShell:

    Click Start, type Operations Manager Shell. You can use right-click to paste in your own SCOM ID:

    Get-SCOMMonitoringObject -Id 6f7e3306-beeb-2996-3795-7c1eafb925b8 | Format-List

    Replacing 6f7e3306-beeb-2996-3795-7c1eafb925b8 with the SCOM ID you wish to check.

  3. Check the health state of the objects. If there are SCOM groups and the health states are showing as a grey question mark, as seen below, then create a health rollup monitor in SCOM as described in Groups show no health information

    Group No Health Rollup

  4. View the SVG file in Notepad, search for scomId and check the formatting of the SCOM IDs.  SCOM IDs should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). If you see extra characters such as on the end of the SCOM IDs then the health state will not be shown. These characters can be introduced if you edit the scomId field in Visio or the SVG manually and copy the entire cell from Excel. Instead copy the SCOM ID from the formula/edit bar in Excel or save the spreadsheet as a CSV file and open in Notepad before copying the SCOM IDs.

The color replace works on some shapes, but not all of them

  1. Change back to icon view and check that health state icons appear. If icons do not show see No health state icons or colors are shown

  2. Try setting color to replace to all, or use multi and select several colors. Some stencils – such as the latest office stencils – use colors that are similar, but not identical. You may find that a file that you think has only one color in it, in fact shows as having two or more colors. This is because some stencils also have a slight ‘shadow’ effect to them, which is often achieved using a very similar but slightly different color.

The diagram is blank. When I view the SVG file in a browser it is also blank

When you save a Visio file as SVG make sure that nothing in the diagram is selected. If you save a diagram with a shape selected then the resulting SVG can be empty. You should find that you can easily open your SVG file using your browser in order to check the file.

The health state icons are not positioned centrally on the shapes

The center is calculated using all content within the shape, including any Visio Data Graphics. For example, if you have the name and IP address of a server displayed to the right of a server shape, the center of the entire shape will be shifted to the right.

Text on diagrams is not displayed in Internet Explorer when the SVG file was created in Visio 2010 or 2013

See this article for fix information: Text is not displayed in a Visio 2010 / 2013 drawing when you open the drawing in a browser.

One Visio diagram appears corrupt while the other is fine

Squared Up supports only one Visio diagram per page. If there is more than one Visio tile the diagrams become corrupt.

If you would like to display two Visio diagrams on the same page, then you can create two separate dashboards each containing one Visio diagram. Then add a Web Content tile to the first dashboard to embed the second dashboard. You can also append ?display=embed to the end of the URL in the Web Content tile to hide the navigation bar on the embedded dashboard.

It’s still not working!

Drop us a line at http://support.squaredup.com or support@squaredup.com. Please send the Visio file (.vsdx), SVG file and Excel export, and let us know which version of Squared Up you are using.

How to use the Visio tile

How to add and edit columns

How to use the Web Content tile

Groups show no health information

How to resize a page in a Visio drawing

Text is not displayed in a Visio 2010 / 2013 drawing when you open the drawing in a browser

Collecting Diagnostic Information

Squared Up Ltd. (c) 2018Report an issue with this article