急:iis部署wcf后,点击浏览:http://localhost:8080/WCF/WCFtest.svc 可以打开
但是点击:http://localhost:8080/WCF/WCFtest.svc?wsdl报错:
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.为什么呢??请大虾指点!!!
但是点击:http://localhost:8080/WCF/WCFtest.svc?wsdl报错:
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.为什么呢??请大虾指点!!!
解决方案 »
- c#中智能设备如何添加数据库连接
- string和二进制转换问题,50分
- 请问Tab上面的键,也就是1左边的键,是哪个?
- 请问如何获取richtextbox控件垂直滚动条的滚动方向?
- Visual Studio 中文版的最新版本是什么,哪有下载
- 连接数据库的问题,"未找到提供程序。该程序可能未正确安装"?
- 如何在Web Form中實現類似Windows Form中TabControl控件的功能?
- 一个关于字符串的问题?
- AD活动目录接口的开发
- 关于类的构造函数的诸多问题?
- Remotinng或者WCF 实现客户端到服务端数据库增删改
- 关于HttpWebResponse.GetResponse()的问题
不是。这个不影响我数据返回。。
问:动态调用WCF,这个有什么好的办法??
网上有方法动态调用,但是有些参数,我不知道怎么传过去
(关于 RESTful WCF 你可以看看我的blog:http://blog.csdn.net/fangxinggood/archive/2011/03/14/6247297.aspx)网上这种动态调用的方式大多数是通过codedom临时生成本地代理类然后通过反射调用的。