Microsoft KB Archive/926948

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Article ID: 926948

Article Last Modified on 10/15/2007



APPLIES TO

  • Microsoft Office Visio Professional 2007
  • Microsoft Office Visio Standard 2007
  • Microsoft Office Visio Professional 2003
  • Microsoft Office Visio Standard 2003
  • Microsoft Visio 2002 Professional Edition
  • Microsoft Visio 2002 Standard Edition



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry


SYMPTOMS

When you try to open a Microsoft Office Visio 2007 drawing or a Microsoft Office Visio 2003 drawing on a computer that is running Microsoft Office Visio Viewer 2007, the drawing may not open in Windows Internet Explorer. Additionally, you may receive one of the following error messages:

  • Error message 1

    The page cannot be displayed.

  • Error message 2

    Internet Explorer cannot display the webpage.


CAUSE

This issue may occur if Microsoft Visio 2002 is installed on the computer on which Visio Viewer 2007 is installed.

WORKAROUND

To work around this issue use one of the following methods.

Method 1: Uninstall Visio Viewer 2007, and then install Visio Viewer 2003

  1. Click Start, click Run, type appwiz.cpl, and then click OK.
  2. In the Currently installed programs list, click Microsoft Office Suite 2007, and then click Change.
  3. Click Add or Remove Features, and then click Continue.
  4. On the Installation Options page, expand the list next to Microsoft Office Visio Viewer, and then click Not Available.
  5. Click Continue.
  6. After Visio Viewer 2007 is removed, install Visio Viewer 2003. To obtain Visio Viewer 2003, visit the following Microsoft Web site:

Use Visio Viewer 2003 to view Visio files that were created in Visio 2007 or in Visio 2003.

Method 2: Modify the registry

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

In Notepad, create a registry file (.reg) to change the Visio Viewer 2007 registry entries. To do this, follow these steps:

  1. Copy and then paste the following text in a new Notepad file:

    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\.vsd]
    "Content Type"="application/vnd.ms-visio.viewer"
    @="VisioViewer.Viewer"
    
    [HKEY_CLASSES_ROOT\.vst]
    "Content Type"="application/vnd.ms-visio.viewer"
    @="VisioViewer.Viewer"
    
    [HKEY_CLASSES_ROOT\.vdx]
    "Content Type"="application/vnd.ms-visio.viewer"
    @="VisioViewer.Viewer"
    
    [HKEY_CLASSES_ROOT\.vss]
    "Content Type"="application/vnd.ms-visio.viewer"
    @="VisioViewer.Viewer"
    
    [HKEY_CLASSES_ROOT\.vst]
    "Content Type"="application/vnd.ms-visio.viewer"
    @="VisioViewer.Viewer"
    
    [HKEY_CLASSES_ROOT\.vsx]
    "Content Type"="application/vnd.ms-visio.viewer"
    @="VisioViewer.Viewer"
    
    [HKEY_CLASSES_ROOT\.vtx]
    "Content Type"="application/vnd.ms-visio.viewer"
    @="VisioViewer.Viewer"
  2. On the File menu, click Save As.
  3. Select a location to save the file.
  4. In the File name box, type Visioreg.reg.
  5. In the Save as type list, click Text Document (*.txt), and then click Save.
  6. On the File menu, click New.
  7. Copy and then paste the following text to the new Notepad file:

    @echo off
    reg delete "hkcr\.vdx"  /f
    reg delete "hkcr\.vsd"  /f
    reg delete "hkcr\.vss"  /f
    reg delete "hkcr\.vst"  /f
    reg delete "hkcr\.vsx"  /f 
    reg delete "hkcr\.vtx"  /f
    regedit /s C:\Visioreg.reg

    Note: The last line of the file must include the full path and the file name of the .reg file that you saved in step 5.

  8. On the File menu, click Save As.
  9. Select a location to save the file.
  10. In the File name box, type Visiofix.bat.
  11. In the Save as type list, click Text Document (*.txt), and then click Save.
  12. In Windows Explorer, locate the folder in which you saved the Visiofix.bat file.
  13. Double-click Visiofix.bat.

After you complete method 2, when you double-click a Visio file, the file will only open in Visio Viewer. To edit a Visio file, you must start Visio, click Open on the File menu, and then locate the file that you want to edit.

You must reapply this workaround if Visio 2002 is repaired or if a service pack is applied.


Additional query words: VSO2007 Visio2007

Keywords: kbtshoot kbprb kbexpertisebeginner KB926948