Wednesday, March 23, 2011

IE6 & Windows Explorer - Crashing all the time


Problem:

Every time the user opens Windows Explorer an error messages pops up
and needs to close.

Cause:

This problem usualy is generated for two reassons:
      1. Corrupted Windows Update
      2. Computer running Windows 2000 and an upgrade was performed
      3. Virus or Adware installed

Techinical Bug:

     Error Signature (it gives the app name, ver #, App Ver # and
     ModName: Kernel32.dll and then under it  another click here
     for technical info and you get an Error Report Contents/

Solution:

     A). Remove malicious softwar and repair Internet Explorer

          1. Execute a virus removal Tool, spyware tool or adware
              tools (in your computer)
          2. Try executing the tool but now from an external computer,
               try: http://housecall.trendmicro.com/
          3. After cleaning your computer
               type: "sfc /scannow" into Start - Run,
               (without the quotes noting that there is a space between f & / )
          4. Hit OK (Have your Windows Installer CD Ready)                 

     B). Reinstall IE 7.  
            
         Method 1: Install Windows XP Service Pack 2 or
                           Windows XP Service Pack 3

                 If you do not want to install Internet Explorer 8, or for some
                 reason cannot do so, you may be able to resolve problems
                 with Internet Explorer 6 by installing Windows XP
                 Service Pack 2 or Windows XP Service Pack 3.

                 To install Windows XP Service Pack 2, follow these steps:


                  1. Visit Microsoft Update.
                  2. Click Express Install (Recommended).
                  3. If your computer qualifies, Windows XP Service Pack 2
                      will be one of the updates that are automatically selected.
                      Click Install.
                  4. Review the Microsoft Software License Terms.
                      Then, if you agree with it, accept it.
                For more information how to obtain the latest Windows XP
                service pack, click the following article number to view the
                article in the Microsoft Knowledge Base:
                322389  (http://support.microsoft.com/kb/322389/ )
                How to obtain the latest Windows XP service pack

         Method 2: Repair Internet Explorer 6 by using the
                            System File Checker in Windows XP


                If you already have Windows XP Service Pack 2 installed, and
                you do not want to install Internet Explorer 8, you may be
                able to resolve problems with Internet Explorer 6 by running
                the System File Checker.

                To run the System File Checker, follow these steps:


                1. Click Start, click Run type sfc /scannow, and then
                    press ENTER
                2. Follow the prompts throughout the System File Checker
                    process
                3. Restart the computer when System File Checker process
                    is complete


Sources:
http://www.softwaretipsandtricks.com/forum/windows-xp/10894-ie6-windows-explorer-crash-everytime.html
http://support.microsoft.com/default.aspx?kbid=318378

VB6 - Web Component - IE7 - File Not Found ieframe.dll\1



Problem:

While opening the Visual Basic 6 Editor, you get an error with one of the components: Web Component
"File Not found 'C:\Windows\system32\ieframe.dll\1'

Cause:

This problem usualy is generated for two reassons:
      1. Windows Update
      2. Windows Upgrade IE7

Techinical Bug:

     One of the changes in IE7 included seperating shell and IE code out
     of Shdocvw.
     The new IE-only library is IEFrame.dll, so that is where the problem
     is potentially starting.

Source:
(Reza Nourai - NSFT)
http://social.msdn.microsoft.com/forums/en-US/iewebdevelopment/thread/21935021-1dc7-445b-a829-b02489009aab/

Solution:

     A). Modify Windows Registry

          1. Close Visual Basic
          2. Start > Run > regedit          
          3. Search the registry for  "ieframe.dll\1"
          4. Another way to find the Varaible is looking for this value
             (fig 1):
                 My Computer>HKEY_CLASSES_ROOT>TypeLib
                                     >{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}
                                     >1.1>0


                 
                               Fig 1. Local Variable in Registry
                 
         5. Remove "\1" from found key.
     B). Reinstall IE 7.  

          1. Some users have reported that reinstalling the
              Internet Explorer solved this issue
          2. This reinstallation will replace both ieframe.dll & shdocvw.dll
              to their original status

Source:
(Rayan Slimmon)
http://social.msdn.microsoft.com/forums/en-US/iewebdevelopment/thread/21935021-1dc7-445b-a829-b02489009aab/

     C). Change the Visual Basic Reference

          1. Open the project in Visual Basic
          2. Change the reference for "Microsoft Internet Controls"
              from ieframe.dlll to shdocvw.ocx
              (browse for it in the same folder)
          3. Save the project and compile
          4. Close and reopen




     D). Visual Basic Project Solution

          1. Open the project and ignore the errors
          2. Delete the control from the form (you have to
              remember the control name)
          3. Save project and close VB
          4. Open VB and project, add reference to  
              C:\windows\system32\ieframe.OCA
          5. Save project and close VB
          6. Open VB and project, the new web browser
              control appears
          7. Add control to project and rename it with the
              original control name (to keep the code intact)

Source:
(EskyRJB)
http://social.msdn.microsoft.com/forums/en-US/iewebdevelopment/thread/21935021-1dc7-445b-a829-b02489009aab/

Friday, September 3, 2010

CITRIX - CDM Redirector has timed out



Problem:

The CDM Redirector has timed out a request to Session ID #

Cause:

- This can happen when an application is attempting to access a client
   device during a disconnect.
- Printer Drivers on client's computer (ICA client was verifying and
  checking appropriate printer drivers from the client during the log on
  process, when this process is taking longer than the default time out
  value.
- During the Citrix logon process, 
  The Citrix server will send a request to the Citrix client to enumerate
  the client printers. Now at this point you may think that if you have
  "Connect to Clients default printer only" then only the default printer
  will be enumerated. WRONG! Every printer that’s on the client or is
  referenced in the profile of the user logging on, will be checked to see
  if there is a driver installed for it. So, if there are 10 printers in profile,
  all 10 printers will be checked to see if there are drivers installed.
  Now the best bit – if the drivers are not installed, the client will try to
  get the drivers from the print server. While all this is going on, the
  Citrix server is waiting for the client to send the printer information
  back so it can auto create the printers. If this takes too long, which it
  inevitably will as the client is downloading the printer drivers. A timeout
  occurs which then results in the CDM redirector errors appearing in the
  event viewer. Once the printer drivers are installed, you won’t see it
  the CDM errors anymore (that’s why it seems like it happens once)
  unless the user moves to a different PC (that doesn’t have printer
  drivers for the user’s network printers). It’s a pretty poor of way of
  designing the print process by Citrix, especially if a user may have
  several printers referenced in their profile and they then move to a
  client which doesn’t have those printer drivers installed.

   Source:
   http://forums.citrix.com/thread.jspa?messageID=1378026

Technical Bug:

Event Type: ErrorEvent
Source: CdmEvent
Category: NoneEvent
Computer: SERVER


Solution:

Check Citrix Server Administration when you see this event appear.

The best way to determine what client device is causing this issue is
to turn off client device mapping (client drive, client COM ports,
client printers).


Enable them one at a time and monitor the client's logon process

Source:
http://musumeci.blogspot.com/2007/07/ctx-event-39-cdm-redirector-has-timed.html

Possible solutions:
(1) Install the required drivers on the terminal server
(2) Force to use Universal Driver


Source:
http://forums.citrix.com/thread.jspa?messageID=1378026

Citrix’ official knowledge base article – CTX207308
suggests to increase request timeout value in registry.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdm\Parameters
Increase the settings for the following:
RequestTimeout: Default is 60 (in seconds)
DirCacheTimeout Default is 30 seconds
CacheTimeout is 60 seconds


Source:
http://innitec.wordpress.com/2009/10/13/event-viewer-error-id39-the-cdm-redirector-has-timed-out-a-request-to-session-id-xx/


Monday, August 16, 2010

Excel Edit Delete Disabled: How to Re-Enable them!



Problem:

While working on Excel, the Delete Row or Column Menu Option is disabled (in both right clicking on the Mouse and in the Menu Bar).

Cause:

This problem usualy is generated for two reassons:
      1. Windows Update
      2. Installation of a Program

Techinical Bug:

     This is a bug in the ListObject code. The problem occurs when 2 or
     more ListObjects are present on the  sheet. They do not enable the
     command bars correctly causing this issue.

Solution:

     A). Simple Profile User Solution (By using this method the user will
           loose any customization to their Computer Desktop and
           Manually Added Drivers).

          1. Sign on as a different user (Power user).
          2. Update windows (if needed)
          3. Reset User profile by right clicking on My Computer and
              selecting the Properties Option


                    
         
          4. Go to The "Advanced Tab" and Click on the "Setting Button"
              in the User Profiles section (Middle Section)

                     

          5. Select the desire User Profile file and copy it to your
             desktop (just to have a backup) and Click on the
             "Delete Button" and confirm.

                   

          6. Log off and then log back on with the Original User Credentials.

     B). Excel Solution 1.  

          1. Close Excel
          2. Locate the file Application Data \ Microsoft Excel \ Excel11.xlb
              and delete the file
          3. Re-Open Excel and validate functionality 

Source:
http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/6dff9cb8-b556-4bbf-aed4-123a7a0c74af

     C). Excel Solution 2.

          1. Open any workbook in Excel
          2. Add the following code to it in VBA.

               Sub ResetBars()
                  Dim bars As CommandBars

                  Set bars = Me.Application.CommandBars
                  For i = 1 To bars.Count
                        Dim bar As CommandBar
                        Set bar = bars(i)
                        bar.Reset
                 Next i
               End Sub
           3. Execute the code you just typed (or copied)

Source:
http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/6dff9cb8-b556-4bbf-aed4-123a7a0c74af