IIS6.0 Silverlight Web Site Deployment Method _win Server

Source: Internet
Author: User
Tags silverlight
Let's illustrate these considerations with an example of a Silverlight Web site that uses asp.net2.0 WebService to access background data and SQLserver2005 the database through a LINQ link.

1, Windows2003 installation IIS6.0, the default 80 ports do not have access rights, you need to open the TCP 80 port within Windows Firewall, otherwise the extranet cannot link the native Web service.
2. Note Change your Silverlight "Web reference" url so that it is consistent with the real domain name you published, otherwise Silverlight will not be able to call your webservice correctly (because Silverlight cannot be called across domains). So webservice to be deployed in the same domain as Silverlight. Specifically, you modify the assignment of the URL string in the Reference.cs file, and then recompile the entire project.
3, in IIS for your Silverlight directory to establish a new Web site, the port "", the IP address "all Unassigned."
4, set the "EXECUTE permission" parameter in the home directory to "pure script", otherwise your website will error "Silverlight error 2252" when accessing.
5. Be careful to modify your database link string so that it points correctly to your sql2005 database.
6, the ASP.net version of the site set to 2.0
7, to ensure that "iuse" Users and "NET SERVER" has access (read and execute) Your site file directory permissions.

OK, so, your Silverlight site will be properly accessed by the Internet!

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.