Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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

Community Additions

ADD
Show:
© 2015 Microsoft