Custom tool error: Failed to generate code for the service reference ××××××. Please check other erro

简介: 开发工具:VS2010 问题描述: 在ProjectName.Web中创建的WebService服务,然后在项目中添加Add Service Reference,然后就报“Custom tool error: Failed togenerate code for the service reference ××××××. Please check other error and

开发工具:VS2010

问题描述:

ProjectName.Web中创建的WebService服务,然后在项目中添加Add Service Reference,然后就报“Custom tool error: Failed togenerate code for the service reference ××××××. Please check other error andwarning messages for details. ”这样的错误 

新建、调用WebService

解决方法:

silverlight项目中,在Service References 在下面找到出错的WebService服务的引用,右键点击“Configure ServiceReference…”,在弹出的对话框中,去掉对“Reusetypes in referenced assemblies”的选择即可解决问题

相关文章
|
Docker 容器
解决failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status co
解决failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status co
2033 0
解决failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status co
|
Java
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
893 0
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
|
9月前
|
Linux
ERROR: 2 matches found based on name: network product-server_default is ambiguous
ERROR: 2 matches found based on name: network product-server_default is ambiguous
94 0
Execution failed for task :Test:lintVitalRelease/Lint found fatal errors while assembling a release
Execution failed for task :Test:lintVitalRelease/Lint found fatal errors while assembling a release
98 0
|
网络协议 关系型数据库 Linux
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
145 0
|
关系型数据库 MySQL Java
解决方案 --Failed to initialize JPA EntityManagerFactory: Unable to create requested service
解决方案 --Failed to initialize JPA EntityManagerFactory: Unable to create requested service
解决方案 --Failed to initialize JPA EntityManagerFactory: Unable to create requested service
OPA 20 - deliberately generate an error
Created by Wang, Jerry, last modified on Nov 08, 2015
101 0
OPA 20 - deliberately generate an error
|
Python Windows
fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
错误现场: 操作系统:WIndows 7 x64 编译的项目:LightGBM(Light Gradient Boosting Machine) 参考:微软开源分布式高性能GB框架LightGBM安装使用 有小伙伴遇到问题: 您好,我按照您的教程安装lightgbm,但是提示这样的错误WindowsError: [Error 193] %1 不是有效的 Win32, 好像是因为python和dll文件不一致,但是我的python也是64bit的呀我尝试想编译32位的,结果就遇到这个问题了。
979 0