471,337 Members | 1,169 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Unloaded AppDomain Error

I am not exactly sure where to post this query, so I hope this reaches the
appropriate audience.

I am attempting to launch a program on its own thread inside of an asp.net
page which will block data from a socket, parse it and then add it into a
database. When I run the .aspx page, it creates and initializes the thread
to run the program, then the .aspx page disposes itself. When I send data
into the socket, the program running on the thread seems to receive the data
correctly and all appears to be working correctly. However, in the course of
the data parsing I attempt to load settings from the Web.Config file. The
program immediately errors out upon attempting this action with the following
error:

{@"The XML file
c:\windows\microsoft.net\framework\v1.1.4322\Confi g\machine.config could not
be loaded. Attempted to access an unloaded AppDomain.
(c:\windows\microsoft.net\framework\v1.1.4322\Conf ig\machine.config)" }

Does anyone know exactly why this is happening? Is this a permissions
problem? Is my thread being disposed by the asp.net page?

I appreciate any feedback. Thank you for your time.

-Brad
Jul 21 '05 #1
0 877

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.