Web service exception

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 ???
 
H

h101482

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

Thanks for infos
 
H

h101482

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

Thanks for infos
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top