Nov 24, 2009

Installing Microsoft .net Updates With Dep Turned On

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Security issues & Exploits

Installing Microsoft .net Updates With Dep Turned On

tansqrx
Here is a cautionary tale for anyone who may be experiencing a similar problem. I was fortunate to find the solution but only after a few hours of uninstalling, reinstalling, and various other black magic tricks.

Problem: I installed the latest Microsoft .NET 2.0 and 3.0 service packs from Windows Update and all instances of .NET stopped working.

Symptoms: The first sign of trouble was a failed install of the service packs through Windows Update. It was late at night so I didn’t think much of it and shut down the computer for the night. On the next reboot another odd thing happened, my ATI video card control center (which relies on .NET 2.0) did not start and showed an error box. Yet again I was in a hurry and didn’t think much of it. I have had problem in the past from ATI so I chalked it up to an ATI bug. I finally realized that my entire .NET installation was hosed when I opened up Visual Studio and got a rather nasty list of errors. I soon verified this by opening a known good .NET application without success.

Solution Attempts: I first tried to reinstall the update from Windows Update and got the same error message from earlier. I soon verified that all versions, 1.0, 1.1, 2.0, and 3.0, were messed up. I then uninstalled everything related to .NET and restarted. After the restart 2.0 and 3.0 installed fine but I got an error with 1.1. 1.1 died when trying to register System.EnterpriseServices.dll and produced a regsrv crash message. After a few Google searches I found a .NET developer blog by Aaron Stebner at http://blogs.msdn.com/astebner/archive/200.../08/510677.aspx. First I tried to disable the Microsoft Distributed Transaction Coordinator (MSDTC) service. Next I tried the custom .NET uninstaller; all without success.

Solution: Throughout the blog there is mention of DEP (Data Execution Protection) errors. Out of desperation I disabled DEP, restarted, and it worked perfectly. This is very surprising to me because Microsoft can not get its own software to play nicely with DEP.

Conclusion: Disable DEP before installing any .NET updates.

 

 

 


Comment/Reply (w/o sign-up)

Jimmy89
Does this mean that you must have it disabled only when installing new updates, or all the time when you are using .NET Frameworks?

Comment/Reply (w/o sign-up)

tansqrx
Only when installing updates.

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : installing, microsoft, net, updates, dep, turned

  1. Microsoft Releases Patchguard API
    Microsoft releases API for security vendors (0)
  2. Microsoft Xmlhttp Activex Control Code Execution Vulnerability
    Extremely critical (0)
    Another vulnerability to XP has been found by Security research firm Secunia. QUOTE
    Description: A vulnerability has been reported in Microsoft XML Core Services, which can be
    exploited by malicious people to compromise a users system. The vulnerability is caused due to an
    unspecified error in the XMLHTTP 4.0 ActiveX Control. Successful exploitation allows execution of
    arbitrary code when a user e.g. visits a malicious website using Internet Explorer. NOTE: The
    vulnerability is already being actively exploited. QUOTE Solution: Microsoft has recommended
    va....
  3. Microsoft Confirms Wmf Vulnerability
    (7)
    Microsoft has issued a Security Advisory (912840) on 28 Dec. It concerns the recent WMF
    vulnerability exploit. Microsoft also gave a temp solution to protect your PC until they issue a
    patch. It's a good idea to use this before the patch comes out. The following is a quote from
    the Microsoft Security Advisory. QUOTE Un-register the Windows Picture and Fax Viewer
    (Shimgvw.dll) 1. Click Start, click Run, type "regsvr32 -u %windir%\system32\shimgvw.dll"
    (without the quotation marks), and then click OK. 2. A dialog box appears to confirm that the
    un-registr....
  4. Microsoft Critical Patch Can Cause Serious Problem
    (8)
    Installing the patch (MS05-051), which was released Tuesday to fix four Windows flaws in Windows
    2000, Windows XP and Windows Server 2003 is causing serious problems for some users. according to
    C|Net News.com, users will be locked out of their PC, the Windows Firewall wont be started, certain
    applications may be blocked from running or installing, and the network connections folder will be
    emptied. This happen only when you change the default permission settings on a Windows directory.
    The solution is unstall this patch or restore the default permissions for t....
  5. Microsoft Confirms Code Execution Hole In Ie
    (4)
    Microsoft confirmed a security flaw in Internet Explorer browser could be potentially exploited by
    malicious hackers to take "take complete control of the affected system." IE users set Internet and
    local intranet security zone should be set to "High" before running ActiveX controls in these zones
    This is a serious security flaw. All supported versions of Internet Explorer, including IE 6.0 in
    Windows XP SP 2 (Service Pack 2) are affected. Microsoft promised a patch would be made available
    this time. Good to here that. /happy.gif" style="vertical-align:middle" emoi....
  6. Microsoft Hijacked My Ie
    (6)
    Yup - you heard it right!! Not that I have much use of that piece of trash anyways - but Microsoft
    never made any attempt to make your life easy by providing you with an option to remove IE. SO
    whatever other favourite browser of yours you might be using, IE will still lurk around in some
    corner of your system and keep popping up (irritating to the core) windows sometimes on request of
    some external application (that's another thing that eludes me - why do windows application
    developers NOT resort to popping up readme's using your system default browser??) It&....
  7. Microsoft Windows "mshta" Code Execution Exploit
    (0)
    From SecurityFocus http://www.securityfocus.net/archive/1/395...10/2005-04-16/0 There is a _New_
    exploit which affects the MSHTA (Microsoft HTML Application Host), using a simple program it's
    possible to create file from a *.hta with a _strange_ extenstion(*.foo *.ghgh *.asd) and this file
    will be executed by the MSHTA so if u put some malicious Vbs or JS in the *.hta the risk is very
    high.... http://www.frsirt.com/exploits/20050414.ms05016.php this is the source of the program
    to create the malicious files I've tested it on Xp Sp1 and Xp SP2 and both sy....

    1. Looking for installing, microsoft, net, updates, dep, turned

See Also,

*SIMILAR VIDEOS*
Searching Video's for installing, microsoft, net, updates, dep, turned
advertisement



Installing Microsoft .net Updates With Dep Turned On

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com