"The page cannot be displayed" error message when you try to open a Visio XML drawing (.vdx) in a document library on your Windows SharePoint Services site (832815)



The information in this article applies to:

  • Microsoft Windows SharePoint Services, when used with:
    • Microsoft Office Visio Professional 2003
    • Microsoft Office Visio Standard 2003
  • Microsoft Office SharePoint Portal Server 2003

SYMPTOMS

You may find that you cannot open a Microsoft Office Visio 2003 XML drawing (.vdx file) that is located in the document library of a Microsoft Windows SharePoint Services Web site. When you connect to the document library, and then click the link to the Visio XML drawing, you receive the following error message:
The page cannot be displayed

Cannot find server or DNS error.

CAUSE

This issue may occur if either one of the following conditions is true:
  • Microsoft Internet Explorer associates the .vsd extension with the .vdx file that you want to open. The .vsd and .vdx extensions use the same MIME type setting of "application/vnd.visio" (without the quotation marks). In situations when a file is saved to the local disk, Internet Explorer may associate the .vsd extension instead of the .vdx extension with a .vdx file.
  • The .vdx extension is not registered in Windows SharePoint Services as a file type that you can edit by using Visio 2003. By default, the .vdx extension is not configured with the Edit in Microsoft Office Visio option in Windows SharePoint Services.

WORKAROUND

To work around this issue, use one of the following methods, as appropriate to your situation.

Method 1: Modify the MIME mapping for the .vdx extension in Microsoft Internet Information Services (IIS) 6.0

To modify the MIME mapping for the .vdx extension in IIS, follow these steps:
  1. Start Internet Information Services (IIS) Manager.
    1. Right-click ServerName, and then click Properties.
    2. Click MIME Types.
    3. In the MIME Types dialog box, click the entry for .vdx, and then click Edit.
    4. In the MIME type box, type application/vnd.visio.xml, and then click OK.
    5. Click OK, and then click OK.
  2. Restart IIS. To do so, follow these steps:
    1. Click Start, and then click Run.
    2. In the Open box, type cmd, and then click OK.
    3. At the command prompt, type iisreset, and then press ENTER.
    4. Type exit, and then press ENTER to exit Command Prompt.

Method 2: Configure the .vdx extension to use the Edit with Microsoft Office Visio option in Windows SharePoint Services

Add the .vdx extension to the list of file types in the DocTypes.xml file that use the Edit with Microsoft Office Visio option. After you do so, when you click a Visio XML drawing (.vdx) file in the document library of a Windows SharePoint Services Web site, the Edit in Microsoft Office Visio command is displayed on the submenu that appears.

To add the .vdx extension to the list of file types that use the Edit with Microsoft Office Visio option, follow these steps:
  1. Edit the Docicon.xml file to include the .vdx extension. To do so, follow these steps:
    1. Start Notepad, and then open the Docicon.xml file. The Docicon.xml file is located in the following folder on the Web server:

      Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\60\Template\xml

    2. Locate the following line:

      <Mapping Key="vdx" Value="icvdx.gif"/>

    3. Edit the line that you located in step 1b so that it reads as follows:

      <Mapping Key="vdx" Value="icvdx.gif" EditText="Microsoft Office Visio" OpenControl="SharePoint.OpenDocuments"/>

    4. On the File menu, click Save, and then quit Notepad.
  2. Restart IIS. To do so, follow these steps:
    1. Click Start, and then click Run.
    2. In the Open box, type cmd, and then click OK.
    3. At the command prompt, type iisreset, and then press ENTER.
    4. Type exit, and then press ENTER to exit Command Prompt.

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

310331 Supporting Visio XML file types on SharePoint Portal Server



For more information about MIME mappings in IIS 6.0, see the "Working with MIME Types" topic in the "Web Site Administration" section of the Server Administration Guide of the IIS 6.0 documentation. To view the IIS 6.0 documentation, visit the following Microsoft Web site: For more information about Windows SharePoint Services, visit the following Microsoft Web site: For more information about SharePoint Portal Server, visit the following Microsoft Web site:

Modification Type:MinorLast Reviewed:9/27/2006
Keywords:kbXML kberrmsg kbBug KB832815 kbAudITPRO