首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >编译代理代码时出错

编译代理代码时出错
EN

Stack Overflow用户
提问于 2016-11-25 20:31:34
回答 1查看 110关注 0票数 0

我创建了一个非常简单的wcf服务,并尝试在Agilepoint nx中使用它,但它给出了这个错误:

代码语言:javascript
复制
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,但它不起作用。

EN

回答 1

Stack Overflow用户

发布于 2016-11-25 21:19:09

使用wcftestclient或SoapUI测试您的web服务。看起来你应该在应用程序池设置中启用32位应用程序(如果你在IIS中托管服务)。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/40805166

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档