我创建了一个带有 ado .net 实体框架的 wcf 服务库来处理从数据库中检索数据并将其发送给用户。我一直在 Visual Studio 中对其进行测试,没有任何问题。因此,我将服务的 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 服务库?
帮助将不胜感激。提前致谢。