How do I solve this error, “error while trying to deserialize parameter”

后端 未结 8 1847
轻奢々
轻奢々 2020-12-09 02:50

I have a web service that is working fine in one environment but not in another.

The web service gets document meta data from SharePoint, it running on a server wher

8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-09 03:33

    I found the actual solution...There is a problem in invoking your service from the client.. check the following things.

    1. Make sure all [datacontract], [datamember] attribute are placed properly i.e. make sure WCF is error free

    2. The WCF client, either web.config or any window app config, make sure config entries are properly pointing to the right ones.. binding info, url of the service..etc..etc

    Then above problem : tempuri issue is resolved.. it has nothing to do with namespace.. though you are sure you lived with default,

    Hope it saves your number of hours!

提交回复
热议问题