473,386 Members | 1,712 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,386 software developers and data experts.

ASP.NET web application, IIS and AppDomain (manual restart)

Dear All,
I read the following post in this newsgroup...dated 2003-02-24
19:13:03
I'm trying to kill an ASP.NET web application by using
the following code. When KillAppDomain webmethod is
called it will kill the AppDomain specified. The problem
is once I kill an application, I couldn't start that
application again. Any help on how to safely kill an web
application without affecting others is much appreciated. reply:
The ASP.NET web application's information is not only in its own
appdomain.
Some additional data which are used to maintain the application are in
the
ASP.NET default appdomain. If you just unload the appdomain for a web
application, some internal data doesn't clean up. This may prevent the
application restart.

There is no public class or method to let us unload a appdomain
manually. I
think you can just put a file into the /bin folder of the web
application
to make the ASP.NET unload the application.

I hope this helps. If you have any questions, please reply to this
post.

Best Regards,

Jun Su
Microsoft Support

End


I would if MS is thinking about exposing or allowing manual start and
unload of AppDomain...this would really help in solving many
deployment and speed issues..

TALIA
Many regards,
Jack
Nov 19 '05 #1
0 1097

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

Similar topics

1
by: JJ | last post by:
Can some one please explain me what do I need for creating a 2nd AppDomain. I've been reading the .NET framework help and googling around for examples, but don't really understand how the AppDomain...
1
by: localhost | last post by:
In the Application_OnStart, I make some data calls and place the results in the HTTP cache. Sometimes, the database is not available when the application starts up, so I want to sleep for 20...
4
by: Jack Wright | last post by:
Dear All, Every Virtual directory under IIS is executed in a new AppDomain. This is done by CLR itself. When I deploy a dll under its bin, the AppDomain is restarted as a result all my dlls under...
5
by: Alexander Inochkin | last post by:
Hello. I have a working ASP.NET service. I am using .NET Framework 1.1; IIS V6.0. (web garden not used) When I change web.config file or load new *.dll, my service restarts, and about 90...
6
by: Eric McVicker | last post by:
Session state has options to be inproc, state server or sql server. Why does Application state not allow for state server or sql server so the same Application state could be shared between...
0
by: MumHa | last post by:
On ASPNET 2.0 when I call Directory.Delete to delete any sub-directory (ps: "MyDirectory") the appdomain is restarted and all sessions are lost, but on ASPNET 1.1 the appdomain doesn't restart. ...
7
by: GTi | last post by:
Does anyone have any good code for a self restarting application? Sometimes I need to exit my application and start it again, what is the best method of doing this in a windows form application....
5
by: Sam Samson | last post by:
Hi All, I have seen a few good behaviours for what to do in the case of those pesky uncaught exceptions. and I want to build some of these mechanisms into my Application that is currently out on...
1
by: Sriram Srivatsan | last post by:
Hi We are trying to build an application where we render some of the .aspx pages from the database using a class derived from System.Web.Hosting.VirtualPathProvider. Users configure the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...

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.