Summary of deployment of Silverlight 3 + ADO. NET data services project on IIS 6

Source: Internet
Author: User

Used in recent projectsSilverlight 3 + ADO. NET data services, Everything works normally during development (haha, it's a technology that has never been used before, and it takes a lot of effort to use it !) . But finally, deploy itIISWhen I went there, there were a lot of problems, which are summarized as follows. (Only for the situation)

1.Must be installed firstIIS, And then install. NET Framework 3.5 SP1(SP1YesADO. NET data servicesRequired)

2.[Authentication method] only one

A)Select a published website or virtual directory, right-click the site or virtual directory, and choose Properties]

B)Select the Directory Security Page

C)Click Edit.

D)Except for anonymous access, click out (as shown in, you can also click out in the anonymous access mode, select another one, this situation is applicable to non-open applications with high security requirements)

E)
 

3.IfSilverlightIs not displayed, it is likely thatIISIf the data type is not recognized, add the correspondingMimeType

A)Open the website or virtual directory Properties dialog box

B)Select 【HTTPHeader page

C)Click file type.

D)If 【. XAML]【. Xap] The type does not exist. Click the new type button. The corresponding relationship is as follows:


I.
. XAML-application/XAML + XML


II.
. Xap-application/X-Silverlight-app

4.If 【. SVC] Type cannot be browsed. It may be [ApplicationProgramIng not done

A)Open the website or virtual directory Properties dialog box

B)Select the Home Directory page

C)Click Configure.

D)

E)If 【. SVC] The ing does not exist. You should add it yourself.

F)If it already exists, you can edit its action restrictions, including but not limited 【Delete, put, get, Head, post, debug, merge]. Select different configurations based on the actual data service usage.

5.Even if all of the above are done, you may find that you have not seen the data for a long time since the program was running (this often happens in a virtual machine). At this time, you should wait patiently for a while, as long as the data is available within an acceptable period of time, it indicates that all parts of the system work normally. After the system is officially released to the server, the performance should not be a problem, it may be other problems,Bing【Or Google or Baidu] A bit,Pai_^

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.