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
SYMPTOMSConsider 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.CAUSEThis 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.RESOLUTIONTo 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:
- In the EMBED element, set the type attribute to the "image/svg+xml" value.
Modification Type: | Major | Last Reviewed: | 5/31/2006 |
---|
Keywords: | kbtshoot kbnofix kbprb KB916442 kbAudDeveloper |
---|
|