Share via


Invalid Web Reference

This error message appears when you try to add a Web reference to a Visual C++ project, but the URL specifies a file with an extension that cannot be used by the project. The URL must reference a file with one of the following extensions:

  • .disco

  • .vsdisco

  • .asmx

  • .asmx

  • .wsdl or ?wsdl

You may be able to locate the appropriate file by removing the file name from the address and using just the server and service name in the URL.

See Also

Reference

Add Web Reference Dialog Box

The proxy settings on this computer are not configured correctly for Web discovery.

Other Resources

XML Web Service Discovery