When the visifire control generates a Silverlight chart, the page is blank when the browser is released. How can this problem be solved? IIS6

Source: Internet
Author: User
Tags mime file

When the visifire control generates a Silverlight chart, the page is blank when the browser is released. How can this problem be solved?

 

When the web page is published to IIS, It is blank. The first reason is that the Silverlight plug-in is not installed, but this will prompt you to download it during browsing. The second reason is that the mime of the iis6.0 site lacks the xap and XAML configurations. In Silverlight, you need to use the xap and XAML file types. If you want to use Silverlight on the IIS serverProgramTherefore, you must register the MIME file types of XAML and xap in IIS. Open IIS> site Properties> HTTP header> MIME type> New:
Extension:. xap
Mime Type: xapapplication/X-Silverlight
Extension:. XAML
Mime Type: Application/XAML XML

 

 

 

 

IIS server and server configuration

Xap and XAML file types are required in Silverlight. If you want to use the Silverlight program on the IIS server, you must register the MIME file types of XAML and xap in IIS. Open IIS> site Properties> HTTP header> MIME type> New:

Extension:. xap
Mime Type: xapapplication/X-Silverlight

Extension:. XAML
Mime Type: Application/XAML XML

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.