询问者
【求助】MSCRM 2011中自定义web service的运行异常问题

问题
全部回复
-
你好,是自己编写了一个web service, 报错信息是:
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.5 SDK documentation and inspect the server trace logs.
public class ContratsWs : System.Web.Services.WebService { [WebMethod] public void PutContratToCrm(string type, string nucontrat, int aliment) { ContratServices.Instance.ContratToCrm(type, nucontrat, aliment); } [WebMethod] public void PutAllContratToCrm() { ContratServices.Instance.ContratsToCrm(); } } }
crm4.0学步- 已编辑 路人学步 2011年11月7日 10:09
-
用来什么环境?plugin?isv?
最好贴下代码,报错信息是什么
微软CRM
我今天用web application又测试了一下,发现也是一样的报错信息,代码如下,Entity testAccount=new Entity("account");
testAccount.Attribute["name"]="test info";
service.create(testAccount);
希望能够得到大家的帮助,先谢谢大家了。
异常报错:
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.5 SDK documentation and inspect the server trace logs.
crm4.0学步- 已编辑 路人学步 2011年11月7日 23:20
-
what is the internal error info?
具体的错误信息是什么?是否是OrganizationServiceFault?
daemon lin
crm4.0学步