.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

IE shutdown

Posted By:      Posted Date: September 02, 2010    Points: 0   Category :Windows Application
Almost every time I try to attach a file to an email (as soon as I click on Attach), IE shuts down -- says it's a DEP problem.  I've tried resetting IE to default settings, but it's still doing this. 

View Complete Post

More Related Resource Links

Thread.Join in WPF on shutdown


Short version: How do I do thread.Join() in a WPF app without deadlocking the UI?

During the Window_Closing() this application shuts down various threads.  If the GUI calls .Join on them then the UI hangs and gets a deadlock as soon as something calls Dispatch.Invoke().  This happens when a thread tries to update the UI to indicate it was aborted.

What I need is something like the old MsgWaitForMultipleObjects() but in WPF fashion.  It is complicated by the fact that I'm not even sure it is safe or possible to process messages during a Window_Closing() event.

I'm looking for ideas...

Application pool shutdown sometimes


I don't know if this is the right place to post, anyway:

Once in a while the application pool of my website has stopped. After taking a look into the Windows logs, In can see in the System log the following: first I see 5 warnings, and then an error. The warning is:
"A process serving application pool 'domain.com' suffered a fatal communication error with the Windows Process Activation Service. The process id was '1568'. The data field contains the error number."

The process id is different for all 5 warnings. Then the error message is:
Application pool 'domain.com' is being automatically disabled due to a series of failures in the process(es) serving that application pool.


The warning:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
  <EventID Qualifiers="32768">5011</EventID>

how to shutdown a child window


dear everyone

i need to load many windows from parent window.

because i want to modify one of child windows, i don't want to shutdown all of program, just shutdown a child window of all windows what i want to modify , then load again.

i have lanuched the child window like below

 public void CreateSimPleWindow(string name)
            Thread newWindowThread = new Thread(new ThreadStart(CreateWindow));
            newWindowThread.IsBackground = true;

 public void CreateWindow()// Create new window
            MainWindow mainWindow = new MainWindow();



public void ExitWindow()//Shutdown window ,


 this.Dispatcher.InvokeShutdown();// i think this isn't real shutdown,but disappear the child window on screen look like shu

StartUp and Shutdown objects.



In the current application, we have to load some WPF UI forms in the start up and also we have the load some WPF forms in the shutdown.

Please suggest me a good approach.



Mani MCP

SQL Server Shutdown Alert Notification

Is there a way to setup a notification within SQL Server when a shutdown or terminate is requested, in process, going to occur...anything? I see the events in sys.messages, and setup alerts for notification, but the alert isn't sent out, I am assuming because a shutdown or failover is in progress so alerting is stopped?? Just my thought, but I want to just send an email to a group saying "<SQL Server Shutdown In Progress>" or something, so we have a heads up. We currently have a cluster that fails over to another node (out of sequence) and we don't really find out unless we go look. We have no 3rd party tool for this atm.
John M. Couch

Failover Cluster Question about resource startup and shutdown order


Is there a way to change the order of how the Server name, Disk drives, and other Resources go offline to be moved to another node?


Server Name:

  • Name: TestSQL08PRD

Disk Drives:

  • Data_Drive
  • Logs_Drive
  • Backup_Drive

Other Resources:

  • GxClusPlugIn (TestSQL08PRD)(Instanace001)
  • SQL Server (TestSQL08INS)
  • SQL Server Agent (TestSQL08INS)

They go offline from bottom up.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend