473,407 Members | 2,306 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,407 software developers and data experts.

"Item has already been added. Key in dictionary:" calling a ws met

I have two projects (one using .NET 1.1 the other using 2.0). When I call a
particular method in a webservice from the 1.1 project everything works
great. When I call the same method from the 2.0 project (identical code) it
throws an exception with the message:

"{"Item has already been added. Key in dictionary:
'AutoCompleteBackOrders.SopranoWebServices.BaseReq uestDTO' Key being added:
'AutoCompleteBackOrders.SopranoWebServices.BaseReq uestDTO'"}
The stack trace looks like this:
" at System.Xml.Serialization.XmlSerializer.Serialize(X mlWriter xmlWriter,
Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String
id)\r\n at System.Xml.Serialization.XmlSerializer.Serialize(X mlWriter
xmlWriter, Object o, XmlSerializerNamespaces namespaces, String
encodingStyle)\r\n at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Serialize(SoapClientMessage
message)\r\n at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)\r\n at
AutoCompleteBackOrders.SopranoWebServices.SopranoW ebServices.psidDetermination(PsidDeterminationRequ estDTO
psidDeterminationRequestDTO) in
C:\\projects\\MOAB_2007_MAR\\BusinessProcessUIs\\T NWCT\\src\\AutoCompleteBackOrder\\AutoCompleteBack order\\Web
References\\SopranoWebServices\\Reference.cs:line 439\r\n at
AutoCompleteBackOrders.DataHandler_Soprano.getPsid Determination(String
busOrgId, String productId, String userName) in
C:\\projects\\MOAB_2007_MAR\\BusinessProcessUIs\\T NWCT\\src\\AutoCompleteBackOrder\\AutoCompleteBack order\\Datahandlers\\DataHandler_Soprano.cs:line 37"
Anybody have any guesses?

--
Kevin Schneider
Mar 16 '07 #1
0 2278

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

Similar topics

16
by: Dave Opstad | last post by:
In this snippet: d = {'x': 1} value = d.get('x', bigscaryfunction()) the bigscaryfunction is always called, even though 'x' is a valid key. Is there a "short-circuit" version of get that...
3
by: Drulli Rokk | last post by:
Hi, Here's a question that has cost this newbie two days of headache already: How can I get my XSLT stylesheet to specify a maximum number of elements to process? I'm now using <xsl:for-each>...
2
by: microsoft | last post by:
When I create a instance of web services proxy in winform, I get the exception. Stack Trace: System.ArgumentException: Item has already been added. Key in dictionary:"winbootdir" Key being...
5
by: Add and Paste | last post by:
Dear Access developers, I have a lot of cut and pasting to do from Excel to an Access form. But instead of just pasting, I want to "add then paste" the value. Does anybody have a way to do this?...
0
by: Ralf Gedrat | last post by:
Hello! I have a Application, this throws after some time following exception: Item has already been added. Key in dictionary: "- 1" key being added: "- 1" I use Application.Run with...
1
by: nobrainer | last post by:
Hi, I'm a linguist and have a large self-built bilingual dictionary. I want to turn it into a electronic dictionary, can anyone tell me how to start with it? I've some knowledge in Java...
0
by: SunSet | last post by:
Hello togehther, i want to add a new Popup to the Contextmenue in Word (Right click on the textbody) which all is included in an AddIn. To add a new button works fine with these piece of code: ...
1
by: | last post by:
I got stuck today on an annoying problem involving DataKeys, datasources, and the GridView: I kept getting errors saying things to the effect of""Item has already been added. Key in dictionary:...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.