Upwards with SBS – SBSisyphus’ Weblog

Entries categorized as ‘XP’

Internet Explorer not interacting – AJAX handlers- what to do

November 13, 2008 · 2 Comments

Ah, the perils of clients.  Recently a client who is running Vista Home Premium on his home laptop asked for my trusted advice on fixing an Internet Explorer problem.  Over the past year I’ve come to enjoy Vista’s relative self healing improvements and other tools for mitigating problems.  This one was a step back in time though.  Not so easy.  Let me explain.

Although web pages would initially display, their interactive content was not interacting …AT ALL.  An additional symptom was that the built in Vista Sidebar gadgets were either not displaying at all or were displaying incorrectly.  The Calendar was a solid orange square and no configuration ability; the Clock was this weird black dial.  The Stock gadget and others wouldn’t even appear.  This was just the kind of keyword search treasure trove I needed to begin my detective sleuthing.  After working my sources over I discovered a number of things, and this revelation is what this post is to record and share.

Before I continue, let me explain that normally using System Restore would have been the method of choice and I’d just jump back behind the problem and move along.  However sometimes people don’t call for help until so much time has passed there is no backup restore available.  This was such a case.  Ahh, the perils of clients.  So off I go old school and actually had to discover the problem, its root causes, and ways to fix them.  In Vista IE is heavily a part of the OS and it cannot simply be repair installed but instead I would have to completely reinstall the OS.  That was like taking a stack of papers off a table with a sledge hammer swing.  So I savored that opportunity as a last resort.

First I’ll list the sources used to fix my specific problems

… and then I am going to post an explanation of AJAX Modules and Handlers that are responsible for web page interactive behaviors.  This currently applies to IE7 and I suspect IE8 when it launches may change this is some way or another; so use the information with your browser version in mind.

Below are the forum threads where the fixes are listed.  I’ll let you read and find them since I can’t link to specific posts in most cases:

Secondly, here is a very useful explanation of AJAX Modules and Handlers from  Microsoft Online Partner Support:

***note I did not perform these steps but rather only followed those above – in any case this is worth trying if the situation is warranted***

Dear Partner,

This is Cindy, I would like to continue assisting you on this issue: some particular coded webpages (typically .aspx) does not behave interactively in IE7 in Vista.

Analysis: ============== Interactive webpage is designed with AJAX modules. If .aspx webpage cannot be interactive, it is possible that the AJAX handlers are corrupt. You can replace AJAX handlers and re-register them. There are several AJAX handlers used by Iexplore.exe:

  • Vbscript.dll for VBScript processing
  • Jscript.dll for Jscript/JavaScript processing
  • Msjava.dll for invocation of the MS Virtual Machine for Java
  • Msxml.dll for rendering XML content
  • Docobj.dll for hosting external documents within the browser window such as Word, Excel, and PowerPoint They are invoked by mshtml.dll to render the interactive webpages.

Troubleshooting: ============== Replace mshtml.dll and all AJAX handlers:

1) All these dll files are under %windir%\system32 folder, firstly to find them and rename as xxx.dll.bak If you cannot rename then with local admin, it is because the current owner of this file is TrustedInstaller. You need to take ownership of this file as Administrators, and grant Full Control permission to Administrators.

A. Assign ownership to Administrators:

  1. Log on as Administrator or user in Administrators group
  2. Locate the xxx.dll, right click it, choose Properties, then Security tab.
  3. Click Advanced, choose Owner tab, click Edit
  4. Choose “Administrators (computername\Administrators)” in “Change owner to” list, and check “Replace owner on subcontainers and objects” box
  5. Click OK to make it take effect

B. Grant Full Control permission to Administrators:

  1. Log on as user in Administrators group
  2. Locate the xxx.dll, right click it, choose Properties, then Security tab.
  3. Click Edit
  4. Choose “Administrators (computername\Administrators)” in the “Group or user names” list
  5. Check “Full control”, and click OK to make it take effect Then you will be able to rename it.

2) Please replace them with the ones from a good machine with same OS and same IE version.

3) Run regsvr32 xxx.dll to register each of them. If any of them cannot be registered, it doesn’t impact anything.

Additional information: ================== Ajax has come to represent a broad group of web technologies that can be used to implement a web application that communicates with a server in the background, it refers specifically to these technologies: “XHTML and CSS for presentation “the Document Object Model for dynamic display of and interaction with data “XML and XSLT for the interchange and manipulation of data, respectively “the XMLHttpRequest object for asynchronous communication “JavaScript to bring these technologies together

Thanks and have a good day! Cindy Cao Microsoft Online Partner Support

Lastly is this suggestion on why this happened also from another Microsoft Partner Support professional:

“Based on my experience, this kind of issue is usually caused by software conflicts, which may lead to IE crash and some dll files are unregister to protect the system. If some IE related updates was not installed properly, it may also cause this kind of issue.” …

Have a nice day! Shawn Shao (MSFT) Microsoft Online Partner Support

Categories: Admin Tools & Tips · Human Engineering · Internet Browser · Vista · Web Links of Note · XP · updates & patching
Tagged: , , , ,

Outlook Express Compacting Annoyance Message

October 19, 2008 · 6 Comments

Condition:  After logon immediately following boot-up, a message prompt appears informing you to compact the Outlook Express message store and includes a button to trigger the routine.

Perhaps your users don’t use Outlook Express but in this case it won’t matter.  Lately I’ve experienced a large amount of occurrences of this annoyance on XP SP3 desktops.  For some unknown root cause there is an Outlook Express counter that is suddenly getting triggered upon reaching an open/close limit (100) although it isn’t being opened or closed ever.  There are various reported programs that due to indexing are believed to sufficient trip the counter.  Windows Desktop Search is one of these.  With this app’s ‘Options’, Outlook Express indexing can be manually unchecked; however, still messages continue to appear unabated.

Fortunately I discovered a solution that ends the madness.  The only caveat is that it will permanently disable the counter from ever working.  I’d rather recommend Windows Live Mail over Outlook Express anyway.

Simply altering the Windows Registry to set this counter to 0 will buy you a little time until it reaches 100 again (the limit).  Instead if you completely remove that subkey it stays gone and so do the messages.  Normal precautions and warnings to editing the registry apply.

Here’s where: HKEY_CURRENT_USER\Identities\{GUID}\Software\Microsoft\Outlook Express\5.0 ->Compact Check Count

…and of course you can just remove Outlook Express altogether via Add/Remove -> Windows Components

****note:  to be clear as pointed out by Jim in the comments, if you do run Outlook Express again, then this key will get recreated.****

Categories: Admin Tools & Tips · Live Stuff · Registry · XP

Reserving a TCP Port in Windows

July 17, 2008 · Leave a Comment

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\ReservedPorts

Above is the registry key that needs tweaked in order to reserve a TCP port. This will protect this port from any inadvertent randomn future assignment by software, patch, or service as what has happened over this past week with the DNS patch.

  • http://blogs.technet.com/sbs/archive/2008/07/17/some-services-may-fail-to-start-or-may-not-work-properly-after-installing-ms08-037-951746-and-951748.aspx
  • http://support.microsoft.com/kb/812873
  • Categories: Registry · Windows 2008 · Windows Server 2003 · XP

    Remote Desktop Connection 6.1 client update for Terminal Services in Windows XP Service Pack 2

    July 8, 2008 · Leave a Comment

    This should work nicely for those that want to wait to deploy XP SP3 a little longer but need to connect to Server 2008 TS Remote App.  Link is at the bottom of brief overview.

    Description of the Remote Desktop Connection 6.1 client update for Terminal Services in Windows XP Service Pack 2

    View products that this article applies to.

    Article ID: 952155

    Last Review:  June 24, 2008

    Revision:  2.1

    INTRODUCTION

    This article discusses the Remote Desktop Connection (RDC) 6.1 client update that helps you use the new Terminal Services features. These features are introduced in Windows Vista and in Windows Server 2008 and are available from a computer that is running Windows XP Service Pack 2 (SP2).

    Description of the Remote Desktop Connection 6.1 client update for Terminal Services in Windows XP Service Pack 2

    Categories: Virtualization · Windows 2008 · XP

    IE App. Compatibility VHD’s

    July 4, 2008 · Leave a Comment

    Even if you aren’t testing out Internet Explorer Applications you might find a practical use for these fully functional operating systems including Windows XP SP2 and Vista.  Why XP isn’t SP3 is a mystery but that can be easily remedied.

    This is also a convenient way to look at the beta of IE 8.

    Version:
    3.0

    Date Published:
    7/3/2008

    Language:
    English

    Download Size:
    445.0 MB – 3388.3 MB*

    *Download size depends on selected download components.

    Overview

    This download page contains four separate VPC images, depending on what you want to test.

    • IE6-XPSP2_VPC.exe contains a Windows XP SP2 with IE6 VHD file
    • IE7-XPSP2_VPC.exe contains a Windows XP SP2 with IE7 VHD file
    • IE8B1-XPSP2_VPC.exe contains a Windows XP SP2 with IE8 Beta 1 VHD file
    • IE7-VIS1.exe+IE7-VIS2.rar+IE7-VIS3.rar contain a Vista Image with IE7 VHD file.

    Note: For The Vista image, you will need all three files, downloaded and in the same directory, then simply run IE7-VIS1.exe.
    This VPC image will expire in Early September, 2008.

    Download details: IE App Compat VHD

    Categories: Internet Browser · Virtualization · Vista · XP