Hello ASP.NET
My team is stuck on an issue with special chars that are causing problems only on the web server. We've tried to reproduce this bug when debugging locally but have so far been unsuccessful. We need your help to figure out why we don't get this error when
running locally, what is the difference that makes it fail only in our Test environment.
We are trying to migrate a COM+ component to WCF and as a step in this we’re calling a WCF service directly from a classic ASP page by serizalizing/deserializing recordsets to XML.
Our problem arise when we try to save a special char like ‘, < or &’. We have special handling for the encoding of these that looks like this:
Function XMLEncode(byVal string)
Dim tmp, i
tmp = string
For i = 160 to 255
tmp = Replace(tmp, chr(i), "&#" & i & ";")
Next
tmp = Replace(tmp, c ...
Go to the complete details ...