Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

How to fix some 1935 errors with HRESULT 0x80070005 (access denied) when installing the .NET Framework

How to fix some 1935 errors with HRESULT 0x80070005 (access denied) when installing the .NET Framework

  • Comments 50

I was contacted by a customer this week who could not install the .NET Framework 1.1 due to a 1935 error that was not described in my previous blog posts (here and here for example).  The exact error was the following:

MSI (s) (E0:80) [12:44:29:575]: Product: Microsoft .NET Framework 1.1 -- Error 1935.An error occurred during the installation of assembly 'Microsoft.Vsa.Vb.CodeDOMProcessor, Version="7.0.5000.0", PublicKeyToken="b03f5f7f11d50a3a", Culture="neutral", FileVersion="7.10.3052.4"'. Please refer to Help and Support for more information. HRESULT: 0x80070005. assembly interface: IAssemblyCacheItem, function: Commit, component: {7D4B5591-4C80-42BB-B0E5-F2C0CEE02C1A}

As I described here, the HRESULT value 0x80070005 means "access denied".  Typically this happens due to a permission (ACL) problem on one of the directories under \windows\.  But in this case, the customer tried to reset the permissions and re-run setup but got the same error.

I suggested looking at any anti-virus or anti-spyware software because they tend to lock down files and folders to prevent malicious programs from installing themselves, and it is very hard to detect the difference between a trusted setup program and a malicious one.  The customer found that they had the Sophos anti-virus program installed.  They were able to successfully install the .NET Framework 1.1 by stopping the Sophos service (sweepsrv.sys) and then running .NET Framework setup.

Note that in this type of scenario, you should be very careful when stopping anti-virus and anti-spyware software.  What I typically do is the following:

  1. Download the setup package I want to install
  2. Disconnect from the network
  3. Stop anti-virus and anti-spyware software
  4. Install the software I downloaded in step 1
  5. Restart anti-virus and anti-spyware software
  6. Reconnect to the network


  • Thanks a lot for your help and advice astebner.

    I will let you know any news I may have on this.


  • astebner,

    Finally! I was able to install .net Framework 3.0, all thanks to you!

    I tried everything possible and the solution was there in front of me. Really, I tried everything and the only simple think I had to do from the beginning was the one that actually fixed the problem with the installation. All I had to do was run chkdsk /F and chkdsk /R.

    you have no idea how much I appreciate your help and your time for all of us who have problems with these sort of installations and executing certain applications.

    All I can say is happy new year boddy!



  • Hi Stolkl - I'm really glad to hear that you were able to resolve this issue and get the .NET Framework installed on your system.  I'm sorry that this type of troubleshooting tends to be difficult and that the installer presents cryptic errors in this type of scenario.

    Happy New Year to you as well!

  • I got the same error code. I have stopped my antivirus service (Trend 2010) as explained and the installation has finished without error.

  • Hi astebner,

    I'm trying to install a program from Leapfrog on a Vista PC and could see the following errors in the Windows Event Viewer Log.

    Product: LeapFrog Connect -- Error 1935. An error occurred during the installation of assembly 'Microsoft.VC80.ATL,type="win32",version="8.0.50727.4053",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86"'. Please refer to Help and Support for more information. HRESULT: 0x80070005. assembly interface: IAssemblyCache, function: CreateAssemblyCacheItem, component: {97F81AF1-0E47-DC99-A01F-C8B3B9A1E18E}

    I used to run Trend Micro anti-virus but now run Microsoft Security Essentials.  Disabling it during the installation didn't help.

    I received a similar error a while back when trying to upgrade iTunes and never cleared it.  Any ideas how I can successfully complete the Leapfrog installation?

    Thanks for your help,


  • Hi Adheald - I'd suggest trying the suggestions in the following 2 blog posts to see if either of them help in this scenario:



    If neither of those help, then you may need to try to repair your OS to solve this type of error.  You may also want to try to contact Microsoft Technical Support for more in-depth troubleshooting assistance.  You can find their contact information at http://support.microsoft.com, and this type of setup problem should qualify for a free support case.

  • Your 2nd suggestion worked.  Thank you very much!!

  • Hi Aaron,

    I tried to install Visio and SQL Server on my laptop, and I got this error:

    Error 1935. An error occurred during the installation of assembly component

    {837BF 1EB-D770-94EB-A01F-C8B3B9A1E18E}. HRESULT:0x8007370D

    How to fix this problem. Please advice. Thank you. :)

  • Hi BadRobot - The error code 0x8007370D is one of the ones listed in the knowledge base article for the System Update Readiness Tool.  I'd suggest trying that tool to see if it helps resolve this issue.  You can find some example steps that I have used in the past with the System Update Readiness Tool at the end of the blog post at blogs.msdn.com/.../9303167.aspx.

  • Disabling Internet connection and Microsoft Security Essentials worked for me on Windows 7 64-bit when installing VB 2008 Express Edition w/ SP1. Thanks guys.

  • Hi, ive run into the same problem Stolkl had(error 0x80070017), and it really means problens with the disk. Ive detected a few bad sections on my disk and neither chckdsk /f or /r can fix then. But the system runs fine and i can't format the drive for awhile... i have solved a similar problem by renaming a corrupted file, and installing a new one...

    Is it possible to do the same with XNA? It gets the error during 'directx 9.0c runtime', problem is directX don't allows me to uninstall it, and repairs aren't solving the corrupted file. Any suggestions? Thanks for your time.

  • Hi Vincer - Error code 0x80070017 means ERROR_CRC, and you're correct that this type of error can be caused by hard drive problems.  Are you getting that same error code from DirectX 9.0c setup?  If so, instead of uninstalling, you could try to manually rename or delete the corrupt file and then re-run the DirectX 9.0c web installer from www.microsoft.com/.../details.aspx.  Hopefully this will help.

  • hi, i tryed to install c&c 3 tiberian wars demo but i get an error code 1935 and HRESULT: 0x800736b3 itryed and regisry cleaner that didnt work my anti-viruses dont find anything please help!

  • Hi Tomastarkie - The error you are getting means ERROR_SXS_ASSEMBLY_NOT_FOUND (The referenced assembly is not installed on your system.)  I'd suggest trying the following steps to see if they help resolve this error:

    1.  Install the latest Windows service pack.

    2.  Repair the files that are a part of Windows by using the steps listed at blogs.msdn.com/.../how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx.

    3.  Run the System Update Readiness tool using the steps described at the end of the blog post at blogs.msdn.com/.../9303167.aspx.

    Hopefully one of these will help.

  • hi everyone i have some problems that this post not solve icant install the vcredist_x86 2005 and 2008 because always launch this error 1935, assembly etc.. i can't solve and is needed if some has solve and know how let me know please i wont reinstall my cumputer again

Page 2 of 4 (50 items) 1234
Leave a Comment
  • Please add 3 and 1 and type the answer here:
  • Post