I have this really frustrating problem when calling XmlDocument.Load(string
filename). Whenever I call this method in a web application in my Windows XP
development PC, I get the following error:
Specified argument was out of the range of valid values. Parameter name: The
specified value must be greater than 0.
Here's the stack trace:
-------------------------
[ArgumentOutOfRangeException: Specified argument was out of the range of
valid values.
Parameter name: The specified value must be greater than 0.]
System.Net.ServicePoint.set_ConnectionLimit(Int32 value) +60
System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials
credentials) +282
System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials
credentials) +94
System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type
ofObjectToReturn) +55
System.Xml.XmlTextReader.CreateScanner() +384
System.Xml.XmlTextReader.Init() +23
System.Xml.XmlTextReader.Read() +530
System.Xml.XmlValidatingReader.ReadWithCollectText Token() +146
System.Xml.XmlValidatingReader.Read() +26
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
preserveWhitespace) +80
System.Xml.XmlDocument.Load(XmlReader reader) +72
System.Xml.XmlDocument.Load(String filename) +78
..[my functions in here]...
-----------------------
The culprit seems to be in the System.Net.ServicePoint.ConnectionLimit
property, but this property is set inside a method called GetNonFileStream
and I see some credentials stuff going on in there. Maybe permission issue?
This error never happens in production Win2003 machines and in other WinXP
PCs. 8 4410
I will investigate and get back to you.
Yan
"Whugster" <wh**@nothing.com> wrote in message
news:e9*************@TK2MSFTNGP12.phx.gbl... I have this really frustrating problem when calling XmlDocument.Load(string filename). Whenever I call this method in a web application in my Windows XP development PC, I get the following error:
Specified argument was out of the range of valid values. Parameter name: The specified value must be greater than 0.
Here's the stack trace: ------------------------- [ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: The specified value must be greater than 0.] System.Net.ServicePoint.set_ConnectionLimit(Int32 value) +60 System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) +282 System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) +94 System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +55 System.Xml.XmlTextReader.CreateScanner() +384 System.Xml.XmlTextReader.Init() +23 System.Xml.XmlTextReader.Read() +530 System.Xml.XmlValidatingReader.ReadWithCollectText Token() +146 System.Xml.XmlValidatingReader.Read() +26 System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +80 System.Xml.XmlDocument.Load(XmlReader reader) +72 System.Xml.XmlDocument.Load(String filename) +78 ..[my functions in here]... -----------------------
The culprit seems to be in the System.Net.ServicePoint.ConnectionLimit property, but this property is set inside a method called GetNonFileStream and I see some credentials stuff going on in there. Maybe permission issue? This error never happens in production Win2003 machines and in other WinXP PCs.
I will investigate and get back to you.
Yan
"Whugster" <wh**@nothing.com> wrote in message
news:e9*************@TK2MSFTNGP12.phx.gbl... I have this really frustrating problem when calling XmlDocument.Load(string filename). Whenever I call this method in a web application in my Windows XP development PC, I get the following error:
Specified argument was out of the range of valid values. Parameter name: The specified value must be greater than 0.
Here's the stack trace: ------------------------- [ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: The specified value must be greater than 0.] System.Net.ServicePoint.set_ConnectionLimit(Int32 value) +60 System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) +282 System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) +94 System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +55 System.Xml.XmlTextReader.CreateScanner() +384 System.Xml.XmlTextReader.Init() +23 System.Xml.XmlTextReader.Read() +530 System.Xml.XmlValidatingReader.ReadWithCollectText Token() +146 System.Xml.XmlValidatingReader.Read() +26 System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +80 System.Xml.XmlDocument.Load(XmlReader reader) +72 System.Xml.XmlDocument.Load(String filename) +78 ..[my functions in here]... -----------------------
The culprit seems to be in the System.Net.ServicePoint.ConnectionLimit property, but this property is set inside a method called GetNonFileStream and I see some credentials stuff going on in there. Maybe permission issue? This error never happens in production Win2003 machines and in other WinXP PCs.
Can you send me a more complete repro.
Thanks, Yan
"Whugster" <wh**@nothing.com> wrote in message
news:e9*************@TK2MSFTNGP12.phx.gbl... I have this really frustrating problem when calling XmlDocument.Load(string filename). Whenever I call this method in a web application in my Windows XP development PC, I get the following error:
Specified argument was out of the range of valid values. Parameter name: The specified value must be greater than 0.
Here's the stack trace: ------------------------- [ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: The specified value must be greater than 0.] System.Net.ServicePoint.set_ConnectionLimit(Int32 value) +60 System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) +282 System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) +94 System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +55 System.Xml.XmlTextReader.CreateScanner() +384 System.Xml.XmlTextReader.Init() +23 System.Xml.XmlTextReader.Read() +530 System.Xml.XmlValidatingReader.ReadWithCollectText Token() +146 System.Xml.XmlValidatingReader.Read() +26 System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +80 System.Xml.XmlDocument.Load(XmlReader reader) +72 System.Xml.XmlDocument.Load(String filename) +78 ..[my functions in here]... -----------------------
The culprit seems to be in the System.Net.ServicePoint.ConnectionLimit property, but this property is set inside a method called GetNonFileStream and I see some credentials stuff going on in there. Maybe permission issue? This error never happens in production Win2003 machines and in other WinXP PCs.
Can you send me a more complete repro.
Thanks, Yan
"Whugster" <wh**@nothing.com> wrote in message
news:e9*************@TK2MSFTNGP12.phx.gbl... I have this really frustrating problem when calling XmlDocument.Load(string filename). Whenever I call this method in a web application in my Windows XP development PC, I get the following error:
Specified argument was out of the range of valid values. Parameter name: The specified value must be greater than 0.
Here's the stack trace: ------------------------- [ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: The specified value must be greater than 0.] System.Net.ServicePoint.set_ConnectionLimit(Int32 value) +60 System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) +282 System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) +94 System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +55 System.Xml.XmlTextReader.CreateScanner() +384 System.Xml.XmlTextReader.Init() +23 System.Xml.XmlTextReader.Read() +530 System.Xml.XmlValidatingReader.ReadWithCollectText Token() +146 System.Xml.XmlValidatingReader.Read() +26 System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +80 System.Xml.XmlDocument.Load(XmlReader reader) +72 System.Xml.XmlDocument.Load(String filename) +78 ..[my functions in here]... -----------------------
The culprit seems to be in the System.Net.ServicePoint.ConnectionLimit property, but this property is set inside a method called GetNonFileStream and I see some credentials stuff going on in there. Maybe permission issue? This error never happens in production Win2003 machines and in other WinXP PCs.
Hi all,
I am getting the same error while using XPathDocument.Load(uri)
Do you have any solution for this?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
---------------------------------------------------------- http://www.usenet.com
Hi all,
I am getting the same error while using XPathDocument.Load(uri)
Do you have any solution for this?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
---------------------------------------------------------- http://www.usenet.com
charasala wrote: I am getting the same error while using XPathDocument.Load(uri)
Well, XPathDocument class has no Load() method.
Please clarify which class and which error you are talking about.
--
Oleg Tkachenko [XML MVP] http://blog.tkachenko.com
charasala wrote: I am getting the same error while using XPathDocument.Load(uri)
Well, XPathDocument class has no Load() method.
Please clarify which class and which error you are talking about.
--
Oleg Tkachenko [XML MVP] http://blog.tkachenko.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ayende Rahien |
last post by:
Serious problem
I'm using Chris Lovett's SgmlReader class
SgmlReader sr = new SgmlReader();
XmlDocument xdoc = new XmlDocument();
sr.DocType = "HTML";
sr.InputStream = new...
|
by: KathyB |
last post by:
If someone could just explain this to me...I just don't get it!
I have an aspx page where I retrieve several session variables and use
xmlDocument to transform xml file with xsl file into an...
|
by: Whugster |
last post by:
I have this really frustrating problem when calling XmlDocument.Load(string
filename). Whenever I call this method in a web application in my Windows XP
development PC, I get the following error:
...
|
by: Graham Pengelly |
last post by:
Hi
I am trying to transform on System.Xml.XmlDocument into another using
XslTransform without writing the object out to a file. I am guessing it
should work something like this...
public...
|
by: nntp1.sympatico.ca |
last post by:
Hello all,
Do System.Xml.XmlNode's have a unique system ID available via a
property somehow?
I have nodes which may be very similar or even identical (but in
different locations) in a...
|
by: Peter Nofelt |
last post by:
Hey All,
I'm running into this issue with parsing through an xml document by
tag name. Below is an example xml document:
File Name: things.xml
<things>
<people>
<name>Peter</name>
|
by: Rob Panosh |
last post by:
Hello,
I am trying to create a xmlDocument from as dataset. My code is listed
below. All seems to go well until
xmlDocument.Load(CType(ms, System.IO.Stream)) ... I keep getting the
following...
|
by: Gustaf |
last post by:
I have a class that contains a certain kind of XML document. The input
file is *not* an XmlDocument, but when loaded, I want it to work like
the XmlDocument class, like:
MyDocument doc = new...
|
by: supercodepoet |
last post by:
I have cXml document I want to load to parse. The document has a
DOCTYPE element that points to an external dtd via http. When the
document loads it trys a web request which I am assuming is to...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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: 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...
|
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: 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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |