Share via


Possible cause of 1935 error with HRESULT 0x80070002

I was helping investigate a .NET Framework installation failure last week that turned out to have an interesting root cause, so I wanted to pass along the information I learned. The .NET Framework was failing with a 1935 error, and the HRESULT value was 0x80070002. In general this HRESULT means "the system cannot find the file specified" - and since the .NET Framework is packaged up in a single self-extracting package, it is nearly impossible to get this particular HRESULT during setup.

One of the developers investigated a similar issue and found that this particular HRESULT can be caused by a certain type of adware running on the machine. If you launch Task Manager and then look at the Processes tab, take a look for a process named wtoolsa.exe. If this process is running, you will need to clean off this adware (for example by following the suggestions at this site).

One note - the machine that I looked at that was infected with this adware was pretty difficult to clean up. It relaunched itself when I killed the process, it replaced entries in the Run and RunOnce keys when I deleted them. I didn't get a chance to try all of the recommended steps in the article I linked to, but I'm guessing there are some more aggressive tactics you could take to rip it off your machine.

Hopefully this will help some of you solve installation issues for the .NET Framework and other products that fail with 1935 errors with HRESULT 0x80070002.

Comments

  • Anonymous
    January 31, 2005
    In general, 0x80070002 stands for HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND). This error is returned whenever an app tries to do a certain file-related operation, like opening a file, and the file is not there.

    The error can be caused by a variety of reasons:
    1) Another application deletes the file while our application tries to open this file
    2) Some driver in the file system stack intercepts a CreateFile/ReadFile etc and translates the error code to "file not found" etc.

  • Anonymous
    January 31, 2005
    The comment has been removed

  • Anonymous
    February 11, 2005
    Unload Ad-Watch and install MSN 7.0 without any problem
    Fedex

  • Anonymous
    February 16, 2005
    As the last person stated, unload Lavasoft Ad-Watch (or similar detection software) before installation and everything should go smoothly.

  • Anonymous
    February 17, 2005
    This seems to be MSI installation software version to adware or ad removing software. The original post discusses actual adware. Other following posts discuss the adware removing programs.
    My situation revealed problems not with Ad-Aware (which was installed) nor adware, but with WebRoot Spy Sweeper software and a Microstation v8.05 MSI installation software created with InstallShield.
    Ad-Aware remained on the machine, and WebRoot Spy Sweeper softare was removed. Install occurred as normal.

  • Anonymous
    February 20, 2005
    The comment has been removed

  • Anonymous
    February 21, 2005
    Hi Kerry, have you tried all of the suggestions in this blog article from myself and others who have posted? I would suggest trying these first because there is a lot of different adware/spyware and also adware/spyware blocking software that can cause this error. Please let me know if you have already tried these and not had any luck.

  • Anonymous
    June 14, 2005
    I had to wipe clean my hard drive to get rid of this problem. It occurred after I ran Webroot Spy Sweeper a few times and uninstalling the program didn't work.

  • Anonymous
    July 17, 2005
    I got this error (1935 - Hresult 0x80070002)installing the Veritas BackupExec remote admin console. Disabling Webroot Spysweeper (2) services allows you to correctly install Veritas Backup Exec remote administration console.

  • Anonymous
    July 18, 2005
    Ever since I published my blog post describing 1935 errors in more detail, I have been contacted by customers...

  • Anonymous
    July 29, 2005
    None of these solutions worked.

    BUT! creating a new Windows account and installing whilst logged into that DID work.

    Now I need a cigarette.

  • Anonymous
    August 16, 2005
    I was contacted by a customer this week who could not install the .NET Framework 1.1 due to a 1935 error...

  • Anonymous
    August 16, 2005
    I was contacted by a customer this week who could not install the .NET Framework 1.1 due to a 1935 error...

  • Anonymous
    August 22, 2005
     
    Deciphering specific HRESULT values

    HRESULT 0x80070002 and 0x80070003
    HRESULT 0x80070005...

  • Anonymous
    October 12, 2005
    You resolved my problem of installing Veritas Backup Exec 10.1 (10d) on a Windows Server 2003 Small Business Edition (SBE). After 2 failed installations with the same error code 1935 ... HRESULT: 0x80070002. All I had to to was stop the antispyware and the antivirus software.
    We get used to the same old scenery and forget easy steps like this.

  • Anonymous
    January 07, 2006
    I cannot install psp xploder software to my pc as this error occurs... the company hasn't even bothered to reply to my e-mail and i am really stuck. any ideas? please :)Marek

  • Anonymous
    January 08, 2006
    Hi Marekraczynski - If you haven't already, can you please try the workarounds listed in this blog post and in the comments posted by the other customers who have replied to this post and see if any of them help here?

    Hopefully this will help!

  • Anonymous
    February 01, 2006
    The comment has been removed

  • Anonymous
    February 01, 2006
    The comment has been removed

  • Anonymous
    February 03, 2006
    Hi Gordon - If you haven't already, can you please try the other workarounds listed in this blog post and in the comments posted by the other customers who have replied to this post and see if any of them help here?

  • Anonymous
    February 19, 2006
    so wat should i do to solve dis problem

  • Anonymous
    February 19, 2006
    Hi Ronny - there are several workarounds and fixes for this error listed by myself and by other customers who have run into it.  Please take a look at all of the content above in this blog post and try out those workarounds and see if they help in your scenario.

  • Anonymous
    April 21, 2006
    Just a thank you note. I was attempting a Microstation v8 install on an XP workstation with SpySweeper. Error message and Bentley's support site pointed at the "Microsoft Redistributable System Files" installer. Playing with that led me to Microsoft.MSXML2 and error 1935. The Bentley help wasn't as helpful as it might have been, but your blog did the trick, both pointing me at HRESULT 0x80070002 and SpySweeper. I disabled SpySweeper, and the install went smoothly from there.

  • Anonymous
    May 02, 2006
    The comment has been removed

  • Anonymous
    May 02, 2006
    The comment has been removed

  • Anonymous
    May 20, 2006
    I've tried everything in this blog, but still get the following when installing dotNet11.

    Error 1935.An error occurred during the installation of assembly 'Microsoft.Vsa.Vb.CodeDOMProcessor,Version="7.0.5000.0",PublicKeyToke
    n="b03f5f11d50a3a",Culture="neutral",FileVersion="7.10.3052.4". Please refer to Help and Support for more information. HRESULT: 0x80070003.

    Any other suggestions?

    Any help is much appreciated.

    Eric

  • Anonymous
    May 21, 2006
    Hi Eric - If you have tried all of the suggestions from myself and other customers on this blog post, I am not sure what else to have you try.  You are entitled to a free technical support case for .NET Framework setup-related issues, so I suggest contacting Microsoft technical support for more in-depth troubleshooting assistance.

  • Anonymous
    May 22, 2006
    Resultion.

    For any interested, I called Microsoft, and it was determined that the 'assembly' folder had problems.  A simply renaming of the assembly folder (C:WindowsAssembly) permitted the successful installation of .NET 1.1

  • Anonymous
    May 24, 2006
    Awesome, thanks for the help!!

  • Anonymous
    August 12, 2006
    The comment has been removed

  • Anonymous
    August 13, 2006
    Hi Chen79120 - The HRESULT value you are seeing (0x80070005) means "access is denied."  This seems like a permission issue on your system.  Can you please try to use the SubInAcl tool that I described at http://blogs.msdn.com/astebner/archive/2005/08/09/449720.aspx to try to solve this issue?

  • Anonymous
    October 21, 2006
    The comment has been removed

  • Anonymous
    November 05, 2006
    The comment has been removed

  • Anonymous
    December 28, 2006
    I was trying to install Microsoft Flight Simulator X and was receiving Error 1935 with HRESULT ox80070002.  After reading the posts I used task manager to end processes for Lavasoft Ad-Ware SE Plus. Microsoft tech Support pointed me to this and it worked.

  • Anonymous
    February 25, 2009
    PingBack from http://www.sevenforums.com/general-discussion/4505-i-just-need-vent-get-help-all-my-windows-7-problems.html#post40904

  • Anonymous
    March 08, 2009
    PingBack from http://www.w7forums.com/error-1935-a-t393.html#post1575

  • Anonymous
    April 29, 2009
    thanks guys. I get the 0x80070005 not 0x80070002. Renaming of the c;windowsassembly helped to fix the issue.

  • Anonymous
    April 29, 2009
    Hi Evish - Error code 0x80070005 means "access denied" and that is typically caused by permissions being set incorrectly on the files, folders or registry on the system.  I've got a couple of other blog posts that specifically talk about that type of error: http://blogs.msdn.com/astebner/archive/2006/09/04/solving-setup-errors-by-using-the-subinacl-tool-to-repair-file-and-registry-permissions.aspx http://blogs.msdn.com/astebner/archive/2005/08/16/452523.aspx

  • Anonymous
    June 25, 2009
    Thanks for the help guys after reading through and  trying your options I finally discovered my  0x80070002 problem was with the oembios.bin file.  After copy and pasting from my other computer the problem was fixed. Hope this can help someone else. Cheers Paula

  • Anonymous
    July 13, 2010
    The comment has been removed

  • Anonymous
    July 13, 2010
    Hi Paul - The .NET Framework 2.0 and 3.0 come as a part of the OS on Windows Vista, so you should never rename the c:windowsassembly folder on this OS because the only way to get the .NET Framework assemblies to be re-installed is to repair your OS. For the .NET Framework 3.5 installation error, can you please use the tool described at blogs.msdn.com/.../6458047.aspx to gather all of your .NET Framework setup log files, then post the file %temp%vslogs.cab that is produced by this tool to a file server (such as http://skydrive.live.com), then reply here with a link I can use to download the log files in order to investigate further?

  • Anonymous
    July 25, 2010
    Hi, I'm trying to install Itunes on my computer, n got the HRESULT: 0x80070002 error during the installation. I succeed to run Itunes anyway, but its always the itunes 32 (I don't know why), so it doesnt recognize my Ipod. My computer is brand new so I don't see where this could come from. I tried renaming assembly file, i din't help, mabe i got something wrong? please help!

  • Anonymous
    August 03, 2010
    Hi Elbriga - What is the exact assembly that is returning this error when you try to install iTunes, and what version of Windows are you seeing this on?  There are some troubleshooting steps that differ depending on whether it is a .NET assembly or a Win32 assembly and depending on what version of Windows the error appears on.

  • Anonymous
    August 17, 2010
    I am trying to install Office 2010 on a Windows Vista SvcPck 2 64-bit and receive the error 1935 error with HRESULT 0x80070002.  I also can't run the Windows Update due to error 0X80070002, have tried the Windows Update Readines Tool without success.

  • Anonymous
    August 19, 2010
    Hi LuisRaul - I usually suggest steps like the ones at the end of the post at blogs.msdn.com/.../9303167.aspx for this type of issue on Windows Vista.  If that doesn't help, then you may need to try to repair Windows to solve this.

  • Anonymous
    August 22, 2010
    The comment has been removed

  • Anonymous
    August 23, 2010
    Hi Luke - The assembly listed in your error message is a Visual C++ runtime file, which is a Win32 assembly.  On Windows Vista and higher, the installation of Win32 assemblies is done by the same engine that installs OS updates, and any bug that can cause OS updates to fail to install correctly will also cause Win32 assemblies to fail to install.  The steps I usually use for 1935 errors on Windows Vista and higher that are caused by Win32 assemblies are listed at blogs.msdn.com/.../9904471.aspx, so I'd suggest taking a look at the information and links there to see if any of them help in your scenario.

  • Anonymous
    August 23, 2010
    Thanks so much for the help. So here's the situation now. cbs.log contains no information past 2010-5-17. I think that's weird. It does have several lines with that hresult that look like this: 2010-05-12 19:41:52, Info                  CBS    SQM: Warning: Failed to get machine name. The data won't be available. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND] 2010-05-12 19:41:52, Info                  CBS    SQM: Warning: Failed to get domain name. The data won't be available. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND] System Update Readiness Tool found no problems. WindowsUpdate.log has a few FATAL entries that look like this: 2010-08-06 13:04:08:200 1012 868 Handler FATAL: UH: 0x80070002: StartSession failed in CCbs::IsCbsPending ...and are preceded several lines up by a bunch of these (some with different hr values and assemblies): 2010-08-06 09:38:33:468 1000 cb4 Agent WARNING: Failed to evaluate Installed rule, updateId = {17A15CF7-CD76-47DE-9E02-E5E9F9E198D2}.100, hr = 80070002 2010-08-06 09:38:33:469 1000 cb4 Agent WARNING: Failed to evaluate Installable rule, updateId = {17A15CF7-CD76-47DE-9E02-E5E9F9E198D2}.100, hr = 80070002 ...which I think from the FATAL entry means it's a CBS problem but again, that log doesn't have anything past May. I have no idea where to go from here, any suggestions are greatly appreciated.

  • Anonymous
    August 23, 2010
    Hi Luke - I'd suggest trying the System Update Readiness tool and the steps listed at the end of the blog post at blogs.msdn.com/.../9303167.aspx.  If those steps don't help, then I'm not sure what else to suggest other than to try to repair Windows on your computer.

  • Anonymous
    August 23, 2010
    The comment has been removed

  • Anonymous
    August 23, 2010
    The comment has been removed

  • Anonymous
    August 31, 2010
    Hello astebner, I tried everything but It still doesn't work. I wanted to install Itunes on my Notebook but while installing I get the following message: An error occurred during the installation os assembly 'Microsoft.VC80.CRT,version="8.0.50727.4053",type="win32",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86". Please refer to Help and Support for more information. HRESULT: 0x80070002 I'm running Windows 7 and have to use the 64bit version. I also tried to install Windows OS updates but Nothing worked :( Tried different things for 6 hours now and I'm still getting the same error message. could you please help me?

  • Anonymous
    September 01, 2010
    Hi Tom - I'm sorry for the hassles you're running into with this issue.  I'm not sure exactly what you've tried yet, but what I typically suggest for this type of error for VC runtime files on Windows Vista and higher is the tool and the steps listed at the end of the blog post at blogs.msdn.com/.../9303167.aspx. If that doesn't help or if you've already tried it, then I'm not sure what else to suggest.  You may need to either contact Microsoft Technical Support for more detailed debugging assistance (http://support.microsoft.com) or you may need to try to repair/re-install Windows.

  • Anonymous
    October 20, 2010
    The comment has been removed

  • Anonymous
    October 20, 2010
    I forgot; it is a Vista system with all current updates.

  • Anonymous
    October 20, 2010
    Hi Talanaa2 - If you're running into HRESULT 0x80070002 on Windows Vista or higher, then I'd suggest trying the System Update Readiness Tool and the steps listed at the end of the blog post at blogs.msdn.com/.../9303167.aspx.  Hopefully this will help on your computer.

  • Anonymous
    October 23, 2010
    hi, here's the error I got An error occurred during installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.4053",type= "win32",publicKeyToken="1fc8b3b9a1e18e3b",process orArchitecture='x86'. Please refer to Help and Support for more information. HRESULT: 0x80070002 thanks for help

  • Anonymous
    October 27, 2010
    Hi Elbriga - It depends on what OS you are seeing this error on.  If it is on Windows Vista or higher, then I'd suggest looking at the troubleshooting steps that I described at blogs.msdn.com/.../9904471.aspx.  Specifically, the System Update Readiness Tool can be helpful for solving errors with HRESULT 0x80070002 on Windows Vista and higher.

  • Anonymous
    December 26, 2010
    The comment has been removed

  • Anonymous
    December 27, 2010
    Hi Elbriga - Did you try the System Update Readiness Tool yet?  That link was not specifically listed in the blog post I linked to in my last reply, but it was in one of the other blog posts linked from that blog post.  Here is a direct link to the tool - support.microsoft.com/.../947821. If that tool doesn't help, then you might need to try to repair your OS to solve this type of error.  You could also try to contact Microsoft technical support for more in-depth troubleshooting assistance in this scenario.  You can find contact information for them at http://support.microsoft.com.

  • Anonymous
    August 12, 2011
    The comment has been removed

  • Anonymous
    August 14, 2011
    The comment has been removed

  • Anonymous
    December 17, 2011
    Bonjour, en voulant installer Microsoft SQL Server 2008 R2, ce message d'erreur apparaît à la moitié du chargement : TITLE: Microsoft SQL Server 2008 R2 Setup


BUTTONS: OK

Et maintenant... il n'ya plus de messages sa me met Microsoft SQL Server a cessé de fonctionner aider moi svp !

  • Anonymous
    December 19, 2011
    Hi Fons - This type of error from the VC runtime files usually means that there is something wrong with the OS update installation engine that is a part of Windows.  I usually suggest the following in this scenario:
  1.  Try running the System Update Readiness Tool from support.microsoft.com/.../947821.
  2.  Try running SFC /scannow from an elevated cmd prompt.  There are steps that you can use to do that at blogs.msdn.com/.../how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx.
  3.  If neither of the above work, you'll likely need to repair/re-install Windows to solve this problem.
  • Anonymous
    February 28, 2012
    The comment has been removed

  • Anonymous
    January 09, 2013
    я Начал скачивать Nfsworld когда я его скачал у меня  влезло обновление  но следом за ним вылезла ошибка система не может найти HRESULT 0x80070002 файл подскажите делать

  • Anonymous
    January 09, 2013
    Hi Filipp - I'm not sure what the cause of this error is.  If you're trying to install an update to a program, then I'd suggest trying to uninstall the original program and re-installing it, then try again to install the update to see if that helps.

  • Anonymous
    October 15, 2013
    I found updating Java then uninstalling the older version sorted the problem for me