ITsVISTA
Information that makes life easier when it comes to installing, managing, and using Windows Vista.
Start About FAQ Blogroll Shop

ITsVISTA KB-Link: KB925492

Error message when you add a Web reference to a project in Visual Studio 2005: “The custom tool ‘MSDiscoCodeGenerator’ failed”

Consider the following scenario. You add a Web reference to a project in Microsoft Visual Studio 2005. For the Web Services Description Language (WSDL) file that describes the Web service, the first element contains a default namespace. For example, the first element resembles the following:

<xsd:schema xmlns="http://<URL>" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://<URL>" elementFormDefault="qualified" attributeFormDefault="unqualified">

In this scenario, you may receive the following error message:

The custom tool ‘MSDiscoCodeGenerator’ failed. Unable to import binding ‘BindingName’ from namespace ‘http://NamespaceLocation’.

Additionally, you receive the following error message in the Error List window:

Error 1 Custom tool error: Unable to import WebService/Schema.
Unable to import binding ‘BindingName’ from namespace ‘http://NamespaceLocation’. Unable to import operation ‘OperationName’. The element ‘ElementName’ is missing.

There is a download that resolves this issue. See Hotfixes for details.
32-bit Download: NDP20-KB925492-X86.exe
64-Bit Download: Contact Microsoft
This issue is resolved in SP1.

For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB925492.

Get notified of new posts for FREE via RSS or E-mail

Subscribe to ITsVISTA!

Comments

  • There are no comments yet...Come on, share your thoughts!

Leave a Comment