Microsoft KB Archive/926948

= A Visio drawing may not open in Visio Viewer 2007, and you may receive an error message in Internet Explorer =

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
 Click Start, click Run, type appwiz.cpl, and then click OK. In the Currently installed programs list, click Microsoft Office  2007, and then click Change. Click Add or Remove Features, and then click Continue.</li> On the Installation Options page, expand the list next to Microsoft Office Visio Viewer, and then click Not Available.</li> Click Continue.</li> After Visio Viewer 2007 is removed, install Visio Viewer 2003. To obtain Visio Viewer 2003, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyId=3FB3BD5C-FED1-46CF-BD53-DA23635AB2DF&displaylang=en

</li></ol>

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: <ol>  Copy and then paste the following text in a new Notepad file: <pre class="fixed_text">Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.vsd] &quot;Content Type&quot;=&quot;application/vnd.ms-visio.viewer&quot; @=&quot;VisioViewer.Viewer&quot;

[HKEY_CLASSES_ROOT\.vst] &quot;Content Type&quot;=&quot;application/vnd.ms-visio.viewer&quot; @=&quot;VisioViewer.Viewer&quot;

[HKEY_CLASSES_ROOT\.vdx] &quot;Content Type&quot;=&quot;application/vnd.ms-visio.viewer&quot; @=&quot;VisioViewer.Viewer&quot;

[HKEY_CLASSES_ROOT\.vss] &quot;Content Type&quot;=&quot;application/vnd.ms-visio.viewer&quot; @=&quot;VisioViewer.Viewer&quot;

[HKEY_CLASSES_ROOT\.vst] &quot;Content Type&quot;=&quot;application/vnd.ms-visio.viewer&quot; @=&quot;VisioViewer.Viewer&quot;

[HKEY_CLASSES_ROOT\.vsx] &quot;Content Type&quot;=&quot;application/vnd.ms-visio.viewer&quot; @=&quot;VisioViewer.Viewer&quot;

[HKEY_CLASSES_ROOT\.vtx] &quot;Content Type&quot;=&quot;application/vnd.ms-visio.viewer&quot; @=&quot;VisioViewer.Viewer&quot; </li> On the File menu, click Save As.</li> Select a location to save the file.</li> In the File name box, type Visioreg.reg.</li> In the Save as type list, click Text Document (*.txt), and then click Save.</li> On the File menu, click New.</li>  Copy and then paste the following text to the new Notepad file: <pre class="fixed_text">@echo off reg delete &quot;hkcr\.vdx&quot; /f reg delete &quot;hkcr\.vsd&quot; /f reg delete &quot;hkcr\.vss&quot; /f reg delete &quot;hkcr\.vst&quot; /f reg delete &quot;hkcr\.vsx&quot; /f reg delete &quot;hkcr\.vtx&quot; /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. </li> On the File menu, click Save As.</li> Select a location to save the file.</li> In the File name box, type Visiofix.bat .</li> In the Save as type list, click Text Document (*.txt), and then click Save.</li> In Windows Explorer, locate the folder in which you saved the Visiofix.bat file.</li> Double-click Visiofix.bat.</li></ol>

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

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.