Sep 20, 2007

Issues with Restarting IIS

As per MSDN:

Restarting or stopping IIS, or rebooting your Web server, is a severe action. When you restart the Internet service, all sessions connected to your Web server (including Internet, FTP, SMTP, and NNTP) are dropped. Any data held in Web applications is lost. All Internet sites are unavailable until Internet services are restarted. For this reason, you should avoid restarting, stopping, or rebooting your server if at all possible. IIS 6.0 includes application pool recycling and several other features that provide alternatives to restarting IIS.

For more details chk this link - http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/003ed2fe-6339-4919-b577-6aa965994a9b.mspx?mfr=true

Sep 18, 2007

Work around to the "Cross Thread Error"

We can't perform operation on a control, if that control was created by another thread. While doing this kind of operations, we get "Cross Thread is not valid" errors

Workaround: http://www.codeproject.com/useritems/Cross_Thread.asp