Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Fail to add Schema

From: "Zafar Abbas" <someone@---------.--->
To: NULL
Date: 10/7/2005 1:08:00 PM
The 'Server Busy..."  error seems to be originating from a web service. Are
you writing this XmlSchema code in some ASP.NET app?

"Rain Dragon" <yulongcao@g...> wrote in message
news:1128349176.948369.83550@g......
> Hi All,
>
> I loaded a schema in memory ONCE.
>    _mSchema = XmlSchema.Read(new XmlTextReader(strSchemaURL), null);
>
> Late, i always use it ot validate my XML fragment (strXML):
>    XmlValidatingReader _valReader = new XmlValidatingReader(new
> XmlTextReader(strXML, XmlNodeType.Document, null));
>    _valReader.Schemas.Add(_mSchema);
>
> Most of times, 'Add' works fine. But after Memory Usage exceeds the
> number of Physical Memory and Memory Usage of my application comes back
> to normal (i.e less than Physical Memory), 'Add' will fail (an
> exception is thrown). 'Server Busy..." will happen to my application
> (above codes are in my service). it looks like memory issues in .Net
> memory cache problem?
>




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent