When you want to use WCF RIA with your VS2010 and publish to your server, you must do the following:
1. Use our control panel to make sure your site is set to ASP.NET 4.x
2. Download and install WCF RIA Services on your local machine. You can download it at
http://www.microsoft.com/download/en/details.aspx?id=28357&hash=iHmhb8Yju5gPzYYWP9OD5%2bUPm%2fl6nEbsy1nP2qz2ejr3E8zQBx8V%2fmBadvD813Xvj58XZrTf9BNE25%2fEtzUX6Q%3d%3d
3. After you download, execute this command in DOS prompt:
msiexec /i RiaServices.msi Server=True
4. After you install, please go to this directory:
C:\Program Files\Microsoft SDKs\RIA Services\v1.0\Libraries\Server
And copy the following files to your BIN folder:
System.ServiceModel.DomainServices.EntityFramework.dll
System.ServiceModel.DomainServices.Hosting.dll
System.ServiceModel.DomainServices.Hosting.OData.dll
System.ServiceModel.DomainServices.Server.dll
This step is very important, otherwise WCF won't be able to start and you'll receive a Error 404 on your site when you visit your .svc files.
Article ID: 251, Created: October 23, 2012 at 8:50 PM, Modified: October 23, 2012 at 8:50 PM