带有ado .net实体框架的weborb和wcf服务库

时间:2012-01-25 20:57:52

标签: entity-framework wcf ado.net weborb

我创建了一个带有ado .net实体框架的wcf服务库,用于处理从数据库中检索数据并将其发送给用户。 我一直在视觉工作室测试它没有任何问题。 所以,我将服务的dll和xml配置文件移动到weborb的bin文件夹,更改了web.config以添加我的服务。

但是当我从webconsole调用服务时,我收到此错误:

>The server was unable to process the request due to an internal 
>error. For more information about the error, either turn on 
>IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute 
>or from the <serviceDebug> configuration behavior) on the server in 
>order to send the exception information back to the client, or turn on 
>tracing as per the Microsoft .NET Framework 3.0 SDK documentation and 
>inspect the server trace logs" 

任何人都可以提供任何帮助吗? 如何在weborb中使用ado .net实体框架获得有效的wcf服务库?

帮助将不胜感激。 提前谢谢。

0 个答案:

没有答案