473,385 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Framework upgrade from 1.1 to 2.0 causes exception

SP
I have a web service application which uses 3rd party assemblies. I recently
upgraded my solution to use .NET Framework 2.0 instead of .NET Framework
1.1. The 3rd party assemblies that I refer are built on .NET Framework 1.1
(but they are supposed to work under .NET Framework 2.0)

Since upgrading the solution, I get an error saying :

System.Web.Services.Protocols.SoapException: Server was unable to process
request. ---System.InvalidOperationException: There was an error
generating the XML document. ---System.InvalidOperationException: <Details
of a datatype from 3rd party assemblydoes not implement IXmlSerializable
interface therefore can not proceed with serialization.

I tried to get to the bottom of this but could not. Now I have started
thinking that this might be because of the assembly mismatch or somthing. Or
is it possible that this is not supported altogether or is there a
workaround to fixing this problem.

I am quite new to web services, so don't even know how to look at the
messages being passed across the web services boundary.

TIA,

--SP

Mar 1 '07 #1
1 2676
SP
This is the stack trace if it helps anyone to get to the bottom of the
problem. Most of it is buried under the web services thing.

at System.Data.XmlDataTreeWriter.XmlDataRowWriter(Dat aRow row, String
encodedTableName)
at System.Data.XmlDataTreeWriter.SaveDiffgramData(Xml Writer xw, Hashtable
rowsOrder)
at System.Data.NewDiffgramGen.Save(XmlWriter xmlw, DataTable table)
at System.Data.DataSet.WriteXml(XmlWriter writer, XmlWriteMode mode)
at
System.Data.DataSet.System.Xml.Serialization.IXmlS erializable.WriteXml(XmlWriter
writer)
at
System.Xml.Serialization.XmlSerializationWriter.Wr iteSerializable(IXmlSerializable
serializable, String name, String ns, Boolean isNullable, Boolean wrapped)
at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlS erializationWriter1.Write19_ClientStateUpdate(Stri ng
n, String ns, ClientStateUpdate o, Boolean isNullable, Boolean needType)
at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlS erializationWriter1.Write27_ClientReturnData(Strin g
n, String ns, ClientReturnData o, Boolean isNullable, Boolean needType)
at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlS erializationWriter1.Write175_SelectByPointResponse (Object[]
p)
at
Microsoft.Xml.Serialization.GeneratedAssembly.Arra yOfObjectSerializer285.Serialize(Object
objectToSerialize, XmlSerializationWriter writer)
at System.Xml.Serialization.XmlSerializer.Serialize(X mlWriter xmlWriter,
Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String
id)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Serialize(X mlWriter xmlWriter,
Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String
id)
at System.Xml.Serialization.XmlSerializer.Serialize(X mlWriter xmlWriter,
Object o, XmlSerializerNamespaces namespaces, String encodingStyle)
at System.Web.Services.Protocols.SoapServerProtocol.W riteReturns(Object[]
returnValues, Stream outputStream)
at System.Web.Services.Protocols.WebServiceHandler.Wr iteReturns(Object[]
returnValues)
at System.Web.Services.Protocols.WebServiceHandler.In voke()
--- End of inner exception stack trace ---
at SPComp.Prod.App.TargetServer.Invoke(String method, Object[] args) in
D:\development\Prod\Source\App\ServerComm\ProdServ er.cs:line 80
at SPComp.Prod.App.TargetServer.DoStuff(Point selectGeometry,
SelectionModifiers mods) in
D:\development\Prod\Source\App\ServerComm\ProdServ er.cs:line 1928
at SPComp.Prod.App.PointSelectTask.DoStuffWorker.Run( ) in
D:\development\Prod\Source\App\Features\Stuff\DoSt uffTask.cs:line 149
at SPComp.Prod.App.StateManager.Run() in
D:\development\Prod\Source\App\State Management\StateManager.cs:line 763

"SP" <sp****@yupitsme.comwrote in message
news:eq**************@TK2MSFTNGP03.phx.gbl...
>I have a web service application which uses 3rd party assemblies. I
recently
upgraded my solution to use .NET Framework 2.0 instead of .NET Framework
1.1. The 3rd party assemblies that I refer are built on .NET Framework 1.1
(but they are supposed to work under .NET Framework 2.0)

Since upgrading the solution, I get an error saying :

System.Web.Services.Protocols.SoapException: Server was unable to process
request. ---System.InvalidOperationException: There was an error
generating the XML document. ---System.InvalidOperationException:
<Details
of a datatype from 3rd party assemblydoes not implement IXmlSerializable
interface therefore can not proceed with serialization.

I tried to get to the bottom of this but could not. Now I have started
thinking that this might be because of the assembly mismatch or somthing.
Or is it possible that this is not supported altogether or is there a
workaround to fixing this problem.

I am quite new to web services, so don't even know how to look at the
messages being passed across the web services boundary.

TIA,

--SP

Mar 1 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Asad Khan | last post by:
Hi, I have Visual Studio 2002 Enterprise Architecture Edition. I was wondering if anyone has any information on how I can develop applications for .Net Compact Framework using this IDE. I've heard...
2
by: fripper | last post by:
I have installed Visual Studio .Net 2003 on top of an earlier version. Now, when I open a new project I get a message that says Visual Studio .NET has detected that the web server is running...
5
by: Lorenzo Jimenez | last post by:
Hi, I recently get excited to return to C# and installed my copy of Visual C# 2002 Standard in XP Pro SP1. I did not install the web stuff that need IIS. I installed the Visual Studio .NET Data...
6
by: Joseph Geretz | last post by:
I recently upgraded my server to Windows 2003. The first thing I noticed is that my sample WebService pages no longer worked. The Invoke test button is missing. This is addresed by the following KB...
23
by: Nak | last post by:
Hi there, Has anyone any ideas if the next Framework will be an update to version 1.1 or another completely new install so that people have 3 Frameworks on their system? And can VS.NET 2003 be...
3
by: Michael Hoehne | last post by:
Hi, I'm currently facing a problem with a mixed environment using .NET 1.1 and ..NET 2.0 web services. We have a client application (the "client", system 1) running on .NET 2.0/WinXP, calling...
3
by: Buddy Home | last post by:
Hello, We have a system that is written in Framework 1.0 and runs under Framework 1.0. It uses the CLR Workstation to load the application. Framework 1.0 would require us to write unmanaged code...
3
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
7
by: Rick | last post by:
I have a web service that I converted from VS 2003 Framework 1.1. to VS 2005 Framework 2.0. I tried to use the same IIS web site to run the web service. I deleted the Framework 1.1 files published...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.