J
James Wong
Hi! everybody,
I've built a web services using VB.NET 2003 and runs on IIS 5 under Windows
2000 Server. My problem is that when the process is longer than 2 min.
(appox.), the following exception is returned. But if the process is
shorter than 2 min, everything is normal. The process time depends on data
volume. I did try to find MSDN documents about this exception but no
solution. I also try to extend the timeout setting on either web services,
vb script (on IIS), they didn't help. Does anybody have idea on this kind
of problem, please advise.
Thanks for your attention and kindly help!
Regards,
James Wong
** Below is the exception message returned by web services / IIS:
-- <html> <head> <title>Configuration Error</title> <style> body
{font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p
{font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b
{font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 {
font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 {
font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre
{font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold;
color: black;text-decoration: none;} .version {color: gray;} .error
{margin-bottom: 10px;} .expandable { text-decoration:underline;
font-weight:bold; color:navy; cursor:hand; } </style> </head> <body
bgcolor="white"> <span><H1>Server Error in '/' Application.<hr width=100%
size=1 color=silver></H1> <h2> <i>Configuration Error</i> </h2></span> <font
face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> <b>
Description: </b>An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately. <br><br> <b>
Parser Error Message: </b>The XML file
c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config could not
be loaded. [Resource lookup failed - infinite recursion detected. Resource
name: Arg_AppDomainUnloadedException]<br><br> <b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> [No relevant
source lines]</pre></code> </td> </tr> </table> <br> <b> Source File: </b>
c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config<b>
Line: </b> 0 <br><br> <hr width=100% size=1 color=silver>
<b>Version Information:</b> Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 </font> </body> </html>
<!-- [AppDomainUnloadedException]: [Resource lookup failed - infinite
recursion detected. Resource name: Arg_AppDomainUnloadedException] at
System.Threading.Thread.SetCompressedStackInternal(IntPtr
unmanagedCompressedStack) at
System.Threading.Thread.SetCompressedStack(CompressedStack stack) at
System.Xml.XmlTextReader.CreateScanner() at System.Xml.XmlTextReader.Init()
at System.Xml.XmlTextReader.Read() at System.Xml.XmlReader.MoveToContent()
at System.Web.Configuration.XmlUtil.OpenXmlTextReader() at
System.Web.Configuration.HttpConfigurationRecord..ctor(String filename,
HttpConfigurationRecord parent, Boolean inheritable, String path)
[ConfigurationException]: The XML file
c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config could not
be loaded. [Resource lookup failed - infinite recursion detected. Resource
name: Arg_AppDomainUnloadedException]
(c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config) at
System.Web.Configuration.HttpConfigurationSystem.CacheLookup(String vpath)
at System.Web.Configuration.HttpConfigurationSystem.ComposeConfig(String
reqPath, IHttpMapPath configmap) at
System.Web.HttpContext.GetCompleteConfigRecord(String reqpath, IHttpMapPath
configmap) at System.Web.HttpContext.GetCompleteConfig(String path) at
System.Web.HttpContext.GetAppLKGConfig(String name) --> --.
I've built a web services using VB.NET 2003 and runs on IIS 5 under Windows
2000 Server. My problem is that when the process is longer than 2 min.
(appox.), the following exception is returned. But if the process is
shorter than 2 min, everything is normal. The process time depends on data
volume. I did try to find MSDN documents about this exception but no
solution. I also try to extend the timeout setting on either web services,
vb script (on IIS), they didn't help. Does anybody have idea on this kind
of problem, please advise.
Thanks for your attention and kindly help!
Regards,
James Wong
** Below is the exception message returned by web services / IIS:
-- <html> <head> <title>Configuration Error</title> <style> body
{font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p
{font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b
{font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 {
font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 {
font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre
{font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold;
color: black;text-decoration: none;} .version {color: gray;} .error
{margin-bottom: 10px;} .expandable { text-decoration:underline;
font-weight:bold; color:navy; cursor:hand; } </style> </head> <body
bgcolor="white"> <span><H1>Server Error in '/' Application.<hr width=100%
size=1 color=silver></H1> <h2> <i>Configuration Error</i> </h2></span> <font
face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> <b>
Description: </b>An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately. <br><br> <b>
Parser Error Message: </b>The XML file
c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config could not
be loaded. [Resource lookup failed - infinite recursion detected. Resource
name: Arg_AppDomainUnloadedException]<br><br> <b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> [No relevant
source lines]</pre></code> </td> </tr> </table> <br> <b> Source File: </b>
c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config<b>
Line: </b> 0 <br><br> <hr width=100% size=1 color=silver>
<b>Version Information:</b> Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 </font> </body> </html>
<!-- [AppDomainUnloadedException]: [Resource lookup failed - infinite
recursion detected. Resource name: Arg_AppDomainUnloadedException] at
System.Threading.Thread.SetCompressedStackInternal(IntPtr
unmanagedCompressedStack) at
System.Threading.Thread.SetCompressedStack(CompressedStack stack) at
System.Xml.XmlTextReader.CreateScanner() at System.Xml.XmlTextReader.Init()
at System.Xml.XmlTextReader.Read() at System.Xml.XmlReader.MoveToContent()
at System.Web.Configuration.XmlUtil.OpenXmlTextReader() at
System.Web.Configuration.HttpConfigurationRecord..ctor(String filename,
HttpConfigurationRecord parent, Boolean inheritable, String path)
[ConfigurationException]: The XML file
c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config could not
be loaded. [Resource lookup failed - infinite recursion detected. Resource
name: Arg_AppDomainUnloadedException]
(c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config) at
System.Web.Configuration.HttpConfigurationSystem.CacheLookup(String vpath)
at System.Web.Configuration.HttpConfigurationSystem.ComposeConfig(String
reqPath, IHttpMapPath configmap) at
System.Web.HttpContext.GetCompleteConfigRecord(String reqpath, IHttpMapPath
configmap) at System.Web.HttpContext.GetCompleteConfig(String path) at
System.Web.HttpContext.GetAppLKGConfig(String name) --> --.