When you run the Web Services on Devices (WSD) StockQuote sample provided by the Web Services on Devices Samples (SYSGEN_WSDAPI_SAMPLES) catalog item in Windows Embedded Compact 7, StockQuoteClient.exe may report error 0x80004005 (unspecified error). You may receive this error, for example, when the StockQuote client is running on a computer that is running Windows 7 and the StockQuote service is running on a Windows Embedded Compact 7 powered device.
In this article:
The problem may be related to the Web Services on Devices code generator tool (wsdcodegen.exe), which generates program code from a service description. For information on how wsdcodegen.exe works, see Web Services on Devices Code Generator.
Two versions of the wsdcodegen.exe tool exist:
These versions of wsdcodegen.exe produce different code. The code produced by one version will not communicate correctly with the code produced by the other version. For example, if you use one version to create the StockQuote client, and the other version to create the StockQuote service, the client and service will not work together.
Use the same version of wsdcodegen.exe on both the development computer running Windows 7 and the development computer running Windows Embedded Compact 7.
Maheshkumar S Tiwari edited Original. Comment: Added tags