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 (916442)



The information in this article 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 System 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:
  1. Open the HTML file of the Web page.
  2. 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

  3. In the EMBED element, set the type attribute to the "image/svg+xml" 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: 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.

Modification Type:MajorLast Reviewed:5/31/2006
Keywords:kbtshoot kbnofix kbprb KB916442 kbAudDeveloper