WCF RIA 域服务
我使用 Silverlight 4 创建了 WCF RIA DOMAIN Services 项目,整个框架已启用 WCF RIA 。创建了两个项目:silverlight 和 web。项目正在我的本地系统上运行文件。但在网络服务器上托管时。它显示远程服务器错误。如果有任何我必须创建的 svc 文件或域服务自行托管它。我可以找到任何服务参考。这是我必须添加为 .svc 文件的东西吗?
谢谢
I created WCF RIA DOMAIN Services project with Silverlight 4 with entiry framework having enablabed WCF RIA . Two projects are created;silverlight and web. Project is running file on my local system. But upon hosting on web server. it shows remote server error. If there any svc file which i have to created or Domain service host it byself.I can find any service reference. is this something i have to add as .svc file.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果项目在本地运行良好,而不是在部署到 Web 服务器时运行良好,那么首先要检查的是 ServiceModel 程序集是否安装在服务器的 GAC 中。如果不是,则在您的项目中执行以下操作...
这会将这些程序集放置在“bin”目录中。然后将bin目录部署到服务中。
If the project is working fine locally and not when you deploy to a web server, the first thing to check is if the ServiceModel assemblies are installed in the GAC of the server. If they are not, then in your project, do the following...
This will place these assemblies in the 'bin' directory. Then deploy the bin directory to the service.