Deploying SL + WCF on IIS (less than 7.0) is a little troublesome... Record:
1.Install on the serverFramework 3.0,Framework 3.5, AndFramework 3.5 SP1(I have always reported an error in WCF because SP1 is not installed .....)
2. Enter:C: \ windows \ microsoft. Net \ framework \ v2.0.50727 \ aspnet_regiis.exe-I-enable,
Before installing the new version, make sure that. aspx can be displayed normally. Before I register the new version, it means "the server has no response"
3. Enter:
C: \ windows \ microsoft. Net \ framework \ V3.0 \ Windows Communication Foundation \ servicemodelreg.exe/I/x
Register the WCF component in IIS.
4.For versions earlier than iis7, you must register the Silverlight file type:
IIS --- Right-click website properties ---- HTTP headers --- file types -- Add the following two types
. XAML --- application/XAML + XML
. Xap ---- application/X-Silverlight-app
After this tossing, The Silverlight + WCF will be displayed normally !!!