I probably should have left out the "made some minor
changes", since the
changes were not to the controls code. All I did was wrap
the control
(after dropping it on my form) in a table with some style
attributes.
Nothing else.
Hoan Nguyen
-----Original Message-----
From: John Warner [mailto:john jwarner.com]
Sent: Tuesday, March 27, 2007 3:35 PM
To: aspnet aspadvice.com
Subject: [aspnet] RE: Web Service Error
made some minor changes
Any ideas as to why this might happen?
Not without knowing what a minor change(s) is.
John Warner
> -----Original Message-----
> From: Nguyen, Quanghoan T (Hoan) [mailto:NguyenQ inhs.org]
> Sent: Monday, March 26, 2007 7:29 PM
> To: aspnet aspadvice.com
> Subject: [aspnet] Web Service Error
>
>
> Hello all,
>
>
>
> I have been looking at how to use NOAA's weather web
service
> and ran across an article by 4GuysFromRolla
> (http://aspnet.4guysfromrolla.com/articles/030205-1.aspx
a>).
> Anyway, the site had a download of a weather control
that I
> liked. I downloaded the file, converted it from a .NET
1.1
> to 2.0. I then added the control to my ToolBox, added
the
> control to a blank web form, added the web reference to
> http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/
ndfdXML.wsdl
. After doing all of that, I started my application in
debug and ...
viola ... the weather information I needed was there.
Here is where it got strange. I stopped the application,
made some
minor changes to my page and restarted the application in
Debug mode and
got the following error message :
Item has already been added. Key in dictionary:
'http://weather.gov/forecasts/xml/DWMLgen/
schema/ndfdXML.xsd:productType
' Key being added:
'http://weather.gov/forecasts/xml/DWMLgen/
schema/ndfdXML.xsd:productType
'
Description: An unhandled exception occurred during the
execution of the
current web request. Please review the stack trace for more
information
about the error and where it originated in the code.
Exception Details: System.ArgumentException: Item has
already been
added. Key in dictionary:
'http://weather.gov/forecasts/xml/DWMLgen/
schema/ndfdXML.xsd:productType
' Key being added:
'http://weather.gov/forecasts/xml/DWMLgen/
schema/ndfdXML.xsd:productType
'
Any ideas as to why this might happen?
Thanks,
Hoan Nguyen
--- List Settings ---
http://aspadvice.com/list
s/
--- List Settings ---
http://aspadvice.com/list
s/
|