473,395 Members | 1,968 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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
Nov 22 '05 #1
0 788

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Brad | last post by:
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...
1
by: Matt Fausey | last post by:
I've been plagued with an "Attempted to access an unloaded AppDomain" for several months now. We have a .NET Email Component such that for some ASP.NET customers that user our DLL will get this...
1
by: Raveendra M | last post by:
Hi! I am working with ASP.NET application. In my page I am creating one Application Domain and in that domain I am calling my DLL. Using the methods of the dll. And unloading the Application...
2
by: cameron | last post by:
I have a page that needs to process aproximately 7000 LDAP entries and does 10-12 SQL DB calls per entry. It is a busy, busy page. I have it schedualed to run every night at 4 am server time. It...
1
by: Charles Herring | last post by:
In my asp.net application I upload a video file and then need to get the duration and other properties. I get "Attempted to access an unloaded AppDomain" when I instanciate the Video object. I am...
5
by: F. Prefect | last post by:
Hello, (sorry for reposting this.) We are having the following scenario: A ASP.NET Application (C#) is using a managed C++ assembly, which is a thin wrapper around an old C++ lib. (We are...
5
by: jake | last post by:
I've seen many articles that claim the files in the App_Code directory are treated in the same way as aspx-files in ASP 1.1. Well, this does not seem to be the case, at least in Web Developer 2005...
1
by: Basti | last post by:
Hello, I'm working with .Net 2.0. I tried to get attributes of an unloaded assembly. So, the sole way I know is to create a new child application domain, in this app domain I load the assembly,...
1
by: xievvv | last post by:
Hi, Is there a way to know when an AppDomain is finally unloaded? I need get notified when all objects in an unloading AppDomaing are finalized for sure. Thanks.
2
by: Ashutosh | last post by:
Hi, I have this simple code AppDomain d = AppDomain.CreateDomain("test123"); Assembly a = d.Load("ClassLibrary1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c4510fb7f9c15154"); MethodInfo m...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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
0
BarryA
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...
1
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...
0
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...
0
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...
0
Oralloy
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,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
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,...

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.