?
Solved

Update KB2742596 succeeds but causes custom application to crash

Posted on 2013-02-04
8
Medium Priority
?
1,172 Views
Last Modified: 2016-11-23
Recently our organization applied a Microsoft security update part of which was KB2742596. We have both Windows XP SP3 as well as Windows 7 systems. After the update  on Windows XP SP3 machines a custom application has stopped working. On start-up it simply crashes without any error message. I rebuilt the application with some exception handling and I get the following error message:

COM Error Occured in - Source:<EMPTY>, Description:<EMPTY>, Error: 16387

What could possibly cause this error? I also have to mention the same application if started from Visual Studio in Release mode with debugging enabled and Optimization disabled does not crash (standalone version does). Also, the COM error is not descriptive enough.

Environment: Windows XP SP3 on Dell Optiplex 760. .Net 3.5. Visual Studio 2008.
0
Comment
Question by:Mydeen Yussouf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 97

Expert Comment

by:Experienced Member
ID: 38852195
The Microsoft Article below says it might be for .NET Framework 2. I have a Windows 7 Pro 64-bit system that has .NET Frameworks 2, 3, and 4 and all versions in between. That update is not on my system and my system is fully up to date not calling for any updates.

http://www.microsoft.com/en-ca/download/details.aspx?id=36275

Can you try rolling back the update?  

... Thinkpads_User
0
 
LVL 97

Expert Comment

by:Experienced Member
ID: 38853371
The update you refer to is an XP update that was installed on my XP Pro Virtual Machine via Automatic Update on January 9 this year, so it is nearly a month old. It is not causing any issue on my XP machine and (as noted) is not installed on my Windows 7 machine.

XP says the update can be uninstalled via Add/Remove Programs.

Try your system again without the update and see if it makes a difference.

... Thinkpads_User
0
 
LVL 1

Author Comment

by:Mydeen Yussouf
ID: 38853453
@Thinkpads_User, thanks for the reply. Yes it does make a difference. Since we found the isssue we have rolled the upadate back and since then our application works. But I need to find what causes this behaviour of our application. There must be something with the way we use one of the .net 2 libraries, but its hard to say when/where the issue happens. The exception thrown is non descriptive(as above).
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
LVL 97

Expert Comment

by:Experienced Member
ID: 38853466
I cannot help with your custom application because I do not now. My .NET 2 is .NET Framework 2.0 SP2 (on Windows 7).

You might download and run .NET Framework Setup Verifier to see that .NET 2 is properly installed and working.

http://cid-27e6a35d1a492af7.skydrive.live.com/self.aspx/Blog%7C_Tools/netfx%7C_setupverifier%7C_new.zip 

Then the only other thing I could suggest is to recompile your application.

... Thinkpads_User
0
 
LVL 1

Author Comment

by:Mydeen Yussouf
ID: 38860004
thanks for posting!
Product verification succeeds for all versions of .Net framework.
Re-compiling does not help in my case.
0
 
LVL 97

Expert Comment

by:Experienced Member
ID: 38860031
It is your application causing the problem so far as I can see. That update does not cause any other problems.

So then pending some sort of re-write of your custom application, the short/medium term solution for you at this point is to uninstall KB2742596 on any problem machines and hide the update so it will not re-install.

.... Thinkpads_User
0
 
LVL 1

Author Comment

by:Mydeen Yussouf
ID: 38860204
Well, that is what we ended up doing! But I am trying to find what's causing this issue, but without much luck
0
 
LVL 97

Accepted Solution

by:
Experienced Member earned 1000 total points
ID: 38860306
The update is a security update for .NET 2. The likelihood is that code has been strengthened to prevent strings and variables to go out of bounds. The is how bad hackers get in and this is probably what is happening.

So with XP dying and new versions of .NET coming out that won't run on XP, re-writing your application is probably all you can do.

The reason for the conflict is likely deep in your custom code and not anything Microsoft has done other than fix security.

.... Thinkpads_User
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question