Error: "The application domain in which the thread was running has been unloaded"

 

SUMMARY

When attempting to run your web application inside Visual Studio 2005, you may receive the error: "The application domain in which the thread was running has been unloaded"

SYMPTOM

This error has been known to occur in Visual Studio when one of the following occurs:CAUSE

  • The application has been copied from another machine.
  • The development machine is low on Virtual Memory

 

This exception is thrown when an attempt is made to access an unloaded application domain.  ASP.NET is recycling the application (unloading the application appdomain), so the debugger finds no threads to debug, because the
threads have been exited.

RESOLUTION

Usually, just selecting the rebuild option is enough to resolve this issue.   However you may also need to:

  • adjust your virtual memory settings to make more virtual memory available. 
  • exit other applications that are consuming large amounts of virtual memory.
  • it also appears that Microsoft attempted a fix for this in Service Pack 1 for Visual Studio 2005, although this has not resolved the issue for all people.

参考网址:http://devnet.asna.com/KB/Pages/433.aspx

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值