Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Alternating failure on long request executions

Reply
Thread Tools

Alternating failure on long request executions

 
 
Brad Wood
Guest
Posts: n/a
 
      12-03-2005
<environment>
Consuming a web service from a VS2005 beta 2 test harness on WinXP. Web
service built with VS2003 running on my machine with IIS 5X set to use
ASP.NET 1.1
</environment>

I have a web service that creates a thread for each request in an input
document. Each thread then makes an HttpWebRequest.GetResponse call.

When only one request is submitted in the input doc all is fine.

When several requests are sent in the input doc, the call to the service
takes over 2 minutes to complete. In these cases everything works fine
on every other attempt (success, failure, success, failure). When it
fails, ASP.NET returns:

"The XML file [path to machine.config] could not be loaded. Attempted to
access an unloaded AppDomain."

Most previous threads related to this problem had to do with unmanaged
C++ extensions in .net 1X. I tried increasing the
responseDeadlockInterval attribute in machine.config.

It sure seems to be related to ASP.NET behavior on long request
executions, but I don't know what else to look at...

<stackDump>
[AppDomainUnloadedException]: Attempted to access an unloaded AppDomain.
at System.Threading.Thread.SetCompressedStackInternal (IntPtr
unmanagedCompressedStack)
at System.Threading.Thread.SetCompressedStack(Compres sedStack 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, String mappedPhysicalPath)
[ConfigurationException]: The XML file [machine.config] could not be
loaded. Attempted to access an unloaded AppDomain. ([machine.config])
at
System.Web.Configuration.HttpConfigurationSystem.C acheLookup(String vpath)
at
System.Web.Configuration.HttpConfigurationSystem.C omposeConfig(String
reqPath, IHttpMapPath configmap)
at System.Web.HttpContext.GetCompleteConfigRecord(Str ing reqpath,
IHttpMapPath configmap)
at System.Web.HttpContext.GetCompleteConfig(String path)
at System.Web.HttpContext.GetAppLKGConfig(String name)
</stackDump>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Having compilation error: no match for call to ‘(const __gnu_cxx::hash<long long int>) (const long long int&)’ veryhotsausage C++ 1 07-04-2008 05:41 PM
Storing preprocessed data over executions Hendrik Maryns Java 7 04-08-2008 02:12 PM
Help! Retrieve Results from Asynchronous Executions r1 ASP .Net 0 03-29-2006 06:31 PM
How to store a variable value for more than one executions harishg2@gmail.com C Programming 12 06-04-2005 03:55 PM
Redundant ASP.NET SQL command executions. =?Utf-8?B?Sm9obiBXYWxrZXI=?= ASP .Net 7 10-11-2004 06:09 PM



Advertisments