无法分离EDM和ADO.NET数据服务? [英] Can't seperate EDM and ADO.NET Data Service?

查看:109
本文介绍了无法分离EDM和ADO.NET数据服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我将EDM和ADO.NET数据服务放在同一个Web应用程序中。我可以访问
服务(测试它像:http:// localhost:2288 / WebService1.svc /)

但是
如果把EDM放在一个单独的项目中(类库),并将
此项目的引用添加到Web应用程序,然后再次将ADO.NET数据服务添加到Web应用程序
,我无法再访问该服务器。

<如果我想将EDM保留在单独的类库项目中,如何使ADO.NET数据服务正常工作?

此问题仅发生在Windows XP上。在Windows 2008上,没有这个问题。

解决方案

你能告诉我们你得到了什么错误吗?这应该是正常的,所以我不知道为什么会发生这种情况。

感谢Pratik


If I put EDM and ADO.NET Data Service in same web app. I can access the service(test it like: http://localhost:2288/WebService1.svc/)

But If put EDM in a seperate project (Class Library), and add reference for this project to web app, then add ADO.NET data service to the web app again, I can't access the servie any more.

If I want to keep EDM in a seperate class library project, how to make ADO.NET Data service working?

This issue only happened on Windows XP. On windows 2008, no this problem.

解决方案

Can you tell us what error are you getting? This should normally work, so i am out of ideas why this can be happening.

Thanks
Pratik


这篇关于无法分离EDM和ADO.NET数据服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆