Microsoft KB Archive/916442

= The Adobe SVG Viewer plug-in does not display a map on a Web page when you view the Web page on a client computer that has Visual Studio 2005 installed =

Article ID: 916442

Article Last Modified on 5/31/2006

-

APPLIES TO


 * Microsoft Visual Studio 2005 Team System Architect Edition
 * Microsoft Visual Studio 2005 Team System Developer Edition
 * Microsoft Visual Studio 2005 Team System Test Edition
 * Microsoft Visual Studio 2005 Team Foundation
 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Express Edition

-





SYMPTOMS
Consider the following scenario. You use the Adobe SVG Viewer plug-in to display a map on a Web page that uses Scalable Vector Graphics (SVG). You view the Web page by using Microsoft Internet Explorer on a client computer that has Microsoft Visual Studio 2005 installed. In this scenario, the Adobe SVG Viewer plug-in does not display the map on the Web page.



CAUSE
This problem occurs because Visual Studio 2005 associates the application/xml MIME type with the .aspx file name extension. Visual Studio 2005 does this to support XHTML 1.0 compliance for Microsoft ASP.NET 2.0. When Internet Explorer determines the MIME type of an embedded object, Internet Explorer associates a higher priority to the file name extension of the src attribute value in the EMBED element. Therefore, Internet Explorer determines the MIME type of the embedded object to be the application/xml MIME type instead of the image/svg+xml MIME type.



RESOLUTION
To resolve this problem, follow these steps:  Open the HTML file of the Web page. In the EMBED element, add the following dummy parameter text to the end of the URL that is the value of the src attribute:

?svg

 In the EMBED element, set the type attribute to the &quot;image/svg+xml&quot; value.



MORE INFORMATION
For more information about how to use the Adobe SVG Viewer plug-in, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn.microsoft.com/msdnmag/issues/03/07/ScalableVectorGraphics/

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Keywords: kbtshoot kbnofix kbprb KB916442

-

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

© Microsoft Corporation. All rights reserved.