Error in deserializing body of reply message for operation

This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
Post Reply
Patricia
Posts: 7
Joined: Wed Feb 25, 2015 7:42 am

Error in deserializing body of reply message for operation

Post by Patricia »

Hi there,
Sometimes when we are calculating an advanced route between two points with the 'CalculateExtendedRoute' function, we get the following error:
'Error in deserializing body of reply message for operation' calculateExtendedRoute ''.
The programming language we use is Visual Basic. NET
I attached the app.config, for if I had to change something in it.

How can we solve this problem?

Thanks in advance
Attachments
appconfig.png
User avatar
Bernd Welter
Site Admin
Posts: 2664
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Error in deserializing body of reply message for operati

Post by Bernd Welter »

Hello Patricia,

not sure but: could this issue
  • appears only sometimes but not with every route
  • appears deterministic? (same route: same error?)
be related to the length of the XML messages? I've seen such behaviour in the past where the maximum message size was exceeded by an international routing polygon and its thousands of plain points.
The solution for this could be to increase the MaxReceivedMessageSize in the client configuration.

Sounds more like an issue in the client handling though it is triggered by the functional content of the messages.
So maybe asking aunt Google about .NET and how to deal with this error message is a goal leading approach.
I've seen several hits at a first glance.

If this doesn't help we should raise a ticket and analyse it 1:1 between you and PTV.

Best regards
Bernd
User avatar
Bernd Welter
Site Admin
Posts: 2664
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Error in deserializing body of reply message for operati

Post by Bernd Welter »

PS: maybe it is not the message size but the maximum size of a single string based property...
User avatar
Bernd Welter
Site Admin
Posts: 2664
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Error in deserializing body of reply message for operati

Post by Bernd Welter »

oh - we had something similar before...

http://xserver.ptvgroup.com/forum/viewt ... ?f=9&t=134
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply