Web service exception

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have a web service installed on windows 2003 x64 machine. I have a consist
exception from the web service:

System.InvalidOperationException: There was an error generating the XML
document. ---> System.AccessViolationException: Attempted to read or write
protected memory. This is often an indication that other memory is corrupt.
at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializer1.CreateWriter()
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter,
Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter,
Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter,
Object o, XmlSerializerNamespaces namespaces, String encodingStyle)
at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter
textWriter, Object o)
at System.Web.Services.Protocols.XmlReturnWriter.Write(HttpResponse
response, Stream outputStream, Object returnValue)
at System.Web.Services.Protocols.WebServiceHandler.WriteReturns(Object[]
returnValues)
at System.Web.Services.Protocols.WebServiceHandler.Invoke()



When I switch the IIS to run under .net framework 2.0 x86 , it works fine.
The problem only happen when the IIS is running under .net framework x64.
I tried to apply hotfix kb 923028 from microsoft with no success.

Can someone help on that ???
 
Hi
Im having excatly the same problem.
Did you come up with some new information

Thanks for infos
 
Hi
Im having excatly the same problem.
Did you come up with some new information

Thanks for infos
 
Back
Top