Monday, April 20, 2009

Internet Explorer may crash when you browse a Web page that constantly fetches a recordset asynchronously and filters the recordset at the same time f

SYMPTOMS

Consider the following scenario. On a computer that is running Windows XP Service Pack 2 (SP2) or Windows XP Service Pack 3 (SP3), you browse a Web page in Windows Internet Explorer. The Web page constantly fetches a recordset asynchronously and filters the recordset at the same time from an instance of Microsoft SQL Server. In this scenario, an access violation may occur, and Internet Explorer may crash.

CAUSE
This problem occurs because the CNotifyInterface object is released two times incorrectly without any thread protection.

RESOLUTION
Hotfix information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

Windows Stops Responding When You Click a Large AVI File in Windows Explorer

SYMPTOMS
When you click a large Audio Video Interleaved (AVI) file in Windows Explorer, Microsoft Windows may stop responding (hang). Additionally, when you view the Processes tab in Windows Task Manager, you notice that the Explorer.exe process consumes 100 percent of CPU usage for up to two hours or more.


CAUSE

This problem occurs because Windows scans the large AVI file when you click it in Windows Explorer. When you click a large AVI file (for example, when you click a 700-megabyte [MB] AVI file) in Windows Explorer, Windows tries to query the index of the file. If there is no index information in the file, Windows performs a loop to check all portions of the file to build the index. Because of the large size of the AVI file (in this example, 700 MB), it takes a long time for Windows to scan the whole file. Because of this behavior, the CPU usage of the Explorer.exe process reaches 100 percent.


RESOLUTION
1. To resolve this problem, obtain the latest service pack for Microsoft Windows XP.

2. A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

3. If the 1 & 2 fix does not solve the problem, you can unregister the component causing it thus solving the problem completely.

THIS TECHNIQUE IS UNSUPPORTED AND YOU USE IT AT YOUR OWN RISK!
  1. Click Start, then Run.
  2. Type [regsvr32 /u shmedia.dll] without the parenthesis.
  3. Click the OK button.4. After an instant, you will get a dialog with the message "DllUnregisterServer in shmedia.dll succeded.".

How to move an off-screen window back to your main monitor?

If you turn off or unplug a secondary monitor while XP is running and there's an application window that was displayed on the secondary monitor, you may wonder how to get it back to the main screen. Here's the secret:
  1. Click the application in the taskbar to put the focus on it.
  2. Right click it in the taskbar and select Move
  3. Press the appropriate arrow key (Left or Right, depending on the direction in which you need to move the window to bring it back to the main monitor)
  4. Move your mouse or pointing device in the same direction, until it moves back into view on the main monitor.

Sunday, April 19, 2009

Back Up and Restore the Registry

Some guides in this book will require you to change values in your registry. If you make a mistake and don’t correct it, you may find your computer is not as functional as it was before. To protect yourself from any mistakes, you need to backup your registry. To back up and restore your registry, do the following:


Backup the Registry
  1. Press Start > Run (Winkey+R) and type regedit
  2. Left click Computer in the left pane
  3. Go to File > Export
  4. Save the file (for extra caution, save the file to a USB thumb drive)

Restore the Registry

  1. Press Start > Run (Winkey+R) and type regedit
  2. Left click Computer in the left pane
  3. Go to File > Import
  4. Choose the backup file you created