带有 ado .net 实体框架的 weborb 和 wcf 服务库
我使用 ado .net 实体框架创建了一个 wcf 服务库来处理从数据库检索数据并将其发送给用户。 我已经在 Visual Studio 中对其进行了测试,没有任何问题。 因此,我将服务的 dll 和 xml 配置文件移动到 weborb 的 bin 文件夹中,更改了 web.config 以添加我的服务。
但是当我从网络控制台调用该服务时,我收到此错误:
>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 服务库?
如有帮助,将不胜感激。 提前致谢。
i've created a wcf service library with ado .net entity framework to handle the retrieving of data from the database and send it to the user.
i've been testing it in visual studio without any problems.
so, i moved the dll of the service and the xml configuration file to the bin folder of weborb, changed the web.config to add my service.
but when i invoke the service from the webconsole i get this error:
>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"
can anyone give any help with this?
how can i get a working wcf service library using ado .net entity framework in weborb?
help would be appreciated.
thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您检查过 WebORB 日志吗?
然后首先尝试 此处。
WebORB 日志应该为您提供有关错误的更多详细信息。有了这些信息,我就会在 WebORB 论坛上发布问题。
Have you checked the WebORB log?
Then start off by trying the WebORB examples from here.
The WebORB log should give you more detail about the error. With that info, I would post a question on the WebORB forum.