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 added: "winbootdir"
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean
add)
at System.Collections.Hashtable.Add(Object key, Object value)
at System.Collections.Specialized.StringDictionary.Ad d(String key, String
value)
at System.CodeDom.Compiler.Executor.ExecWaitWithCaptu re(IntPtr userToken,
String cmd, String currentDir, TempFileCollection tempFiles, String&
outputName, String& errorName, String trueCmdLine)
at System.CodeDom.Compiler.CodeCompiler.Compile(Compi lerParameters
options, String compilerDirectory, String compilerExe, String arguments,
String& outputFile, Int32& nativeReturnValue, String trueArgs)
at System.CodeDom.Compiler.CodeCompiler.FromFileBatch (CompilerParameters
options, String[] fileNames)
at
System.CodeDom.Compiler.CodeCompiler.FromSourceBat ch(CompilerParameters
options, String[] sources)
at System.CodeDom.Compiler.CodeCompiler.FromSource(Co mpilerParameters
options, String source)
at
System.CodeDom.Compiler.CodeCompiler.System.CodeDo m.Compiler.ICodeCompiler.C
ompileAssemblyFromSource(CompilerParameters options, String source)
at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(XmlMap ping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer.FromMapping s(XmlMapping[]
mappings)
at System.Web.Services.Protocols.SoapClientType..ctor (Type type)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol..ctor()
at Shenjsoft.Dzsb.Net.localhost.CommonService..ctor() 2 7820
There is no sense of control or trust towards your implementation
to transfer something that me (the user) has control over.
--------
Like in real life. If you need to may words to describe a simple
transaction, go see a movie,
or visit our company museum.
------------
Have a nice day
"microsoft" <ze******@21cn.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... 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 added: "winbootdir" at System.Collections.Hashtable.Insert(Object key, Object nvalue,
Boolean add) at System.Collections.Hashtable.Add(Object key, Object value) at System.Collections.Specialized.StringDictionary.Ad d(String key,
String value) at System.CodeDom.Compiler.Executor.ExecWaitWithCaptu re(IntPtr
userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine) at System.CodeDom.Compiler.CodeCompiler.Compile(Compi lerParameters options, String compilerDirectory, String compilerExe, String arguments, String& outputFile, Int32& nativeReturnValue, String trueArgs) at
System.CodeDom.Compiler.CodeCompiler.FromFileBatch (CompilerParameters options, String[] fileNames) at System.CodeDom.Compiler.CodeCompiler.FromSourceBat ch(CompilerParameters options, String[] sources) at System.CodeDom.Compiler.CodeCompiler.FromSource(Co mpilerParameters options, String source) at
System.CodeDom.Compiler.CodeCompiler.System.CodeDo m.Compiler.ICodeCompiler.C ompileAssemblyFromSource(CompilerParameters options, String source) at System.Xml.Serialization.Compiler.Compile() at System.Xml.Serialization.TempAssembly..ctor(XmlMap ping[]
xmlMappings) at System.Xml.Serialization.XmlSerializer.FromMapping s(XmlMapping[] mappings) at System.Web.Services.Protocols.SoapClientType..ctor (Type type) at System.Web.Services.Protocols.SoapHttpClientProtoc ol..ctor() at Shenjsoft.Dzsb.Net.localhost.CommonService..ctor()
> There is no sense of control or trust towards your implementation
?? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Grant |
last post by:
Hello,
When I am adding things to my checkedListBox - how do I check an item as it
is added?
In other words I loop through an array adding text to the checkedListBox and
when the corresponding...
|
by: Ryan Graham |
last post by:
I totally bombed this question in an interview so I'm posting my answer here
for comments and suggestions... perhaps (god help me) I'm just not that
bright, but this works and seems to be fairly...
|
by: Jigar Mehta |
last post by:
Hye,
This is Jigar mehta from India. I have made one application that adds
dynamic menu items from the database. Each menu item has one ID and menu
item's text is coming from the database. Now, I...
|
by: Stephen Miller |
last post by:
When I dynamically populate a HtmlSelect combo box, the Value property
consistently fails to return the item selected, defaulting instead to
the first item in the list. For example:
Protected...
|
by: Linda |
last post by:
Greetings!
In order to keep better track a form with several combo-boxes, I've
subclassed the ones that need to change in response to events on other
controls on the form. An example of a...
|
by: Don |
last post by:
Is there any way to detect when an item has been added to the Items
collection of a combobox or listbox? I am inheriting a Combobox and want to
validate items before they are added to the...
|
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...
|
by: s.bussing |
last post by:
Hi, I have been reading for hours now, but I'm still not able to solve
my problem, though a lot of people are struggling with something
similar.
On my page I have a nested repeater. In the inner...
|
by: Gaz |
last post by:
Im trying to use c# and linq to simplfy searching through a listview
but cannot get it to work can anyone help?
here is what i got so far which doesnt work.
var qry = from L in...
|
by: =?Utf-8?B?THVpZ2k=?= |
last post by:
Hi all,
is there a way to verify that an item in already present in a List<string>,
like:
public List<stringcodeCompositionList = new List<string>();
Thanks in advance.
--
Luigi
|
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,...
|
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$) {
}
...
|
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...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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...
|
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: 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...
| |