我创建了一个非常简单的wcf服务器,我试图在Agilepoint nx中使用它,但它给了我这个错误:
Exception: AgilePoint.Workflow.DataSources.DynamicProxyException: There was an error in compiling the proxy code.
at AgilePoint.Workflow.DataSources.DataSourceDescriptorWCF.OpenWsdl(String urlStr, String domainName, String userName, String userPassword, Boolean isGenerateMessageContract, DynamicProxyFactory& _factory)
at AgilePoint.Workflow.DataSources.DataSourceDescriptorWCF.GetWCFBindingsAndEndpoints(String URL, Boolean generateMessageContract, String CustomDomainName, String CustomUserName, String CustomUserPassword)
at r.GetWCFBindingsAndEndpoints(String wcfServiceUrl, Boolean generateMsgContract, String credentials)
Compilation Errors:
error CS0009: Metadata file 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll' could not be opened -- 'An attempt was made to load a program with an incorrect format. '
任何人都知道可能导致此错误的原因是什么?
我已将应用程序池中的标识更改为:Localsystem,但它无效。
答案 0 :(得分:0)
使用wcftestclient或SoapUI测试您的Web服务。 看起来你应该在应用程序池设置中启用32位应用程序(如果你在IIS中托管服务)。