Welcome to MSDN Blogs Sign in | Join | Help

Possible cause of 1935 error with HRESULT 0x8002802F

A while back, I posted an article describing causes of many types of 1935 errors that have been seen in the past.  I wanted to talk about one specific type of 1935 error in a little more detail and provide information about a possible root cause that I did not describe in that previous article.

A 1935 error in an MSI-based installations code is a catch-all for most of the possible assembly installation errors. In order to diagnose the problem in more detail, it is usually necessary to look at the verbose MSI log file.  In some cases, you will see an error like the following:

Error 1935. An error occurred during the installation of assembly '<myAssembly>'. Please refer to Help and Support for more information. HRESULT: 0x8002802F. assembly interface: , function: CreateAssemblyNameObject, component: {A7A9D92E-C67F-4E96-BB90-5A4147DAEF6B}

The key information needed to diagnose the exact root cause of a 1935 error is usually the HRESULT value listed in the verbose MSI log file.

The HRESULT value listed above is 0x8002802F (-2147319761), and it means "function not defined in specified DLL." There are a few possible root causes of this issue. The most common cause is that the file %windir%\system32\mscoree.dll is missing, corrupt or an incorrect version. In most cases, repairing the highest version of the .NET Framework on the system will correct any problems related to mscoree.dll and will resolve the problem if this is the case.

In a few less common cases, the file %windir%\system32\mscoree.dll is present, but registry values used by the .NET Framework to find and load specific versions of the .NET Framework are missing. The following values are required by mscoree.dll in order to load each version of the .NET Framework:

For the .NET Framework 2.0 (on an x86 version of Windows):

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework]
InstallRoot = C:\Windows\Microsoft.NET\Framework\

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\Upgrades]
2.0.50727 = 1.0.0-2.0.50727

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\v2.0]
50727 = 50727-50727

For the .NET Framework 2.0 (on an x64 version of Windows):

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework]
InstallRoot = C:\Windows\Microsoft.NET\Framework64\

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\Upgrades]
2.0.50727 = 1.0.0-2.0.50727

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\v2.0]
50727 = 50727-50727

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework]
InstallRoot = C:\Windows\Microsoft.NET\Framework\

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432NodeMicrosoft\.NETFramework\Policy\Upgrades]
2.0.50727 = 1.0.0-2.0.50727

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\Policy\v2.0]
50727 = 50727-50727

For the .NET Framework 1.1:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework]
InstallRoot = C:\Windows\Microsoft.NET\Framework\

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\Upgrades]
1.1.4322 = 1.0.0.0 - 1.1.4322

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\v1.1]
4322 = 3706-4322

For the .NET Framework 1.0:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework]
InstallRoot = C:\Windows\Microsoft.NET\Framework\

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\v1.0]
3705 = 3321-3705

If any of the above registry values are missing on your system, you will need to manually add them in order to resolve 1935 errors with HRESULT value 0x8002802F.  Note that the InstallRoot value must be set to the exact location of the %windir% folder on your system, so you may need to adjust that value from the one listed above if your %windir% is not located at c:\Windows.

<update date="2/4/2008"> One of the values for the .NET Framework 1.0 was incorrect, so I fixed it </update>

<update date="12/16/2009"> Added 64-bit registry information for the .NET Framework 2.0. </update>

 

Comments

Wednesday, June 13, 2007 7:19 PM by Aaron Stebner's WebLog

# Unified .NET Framework Troubleshooting Guide

Details about the .NET Framework 2.0 setup packaging Available command line switches for .NET Framework

Tuesday, June 17, 2008 11:54 AM by Aaron Stebner's WebLog

# Information about the err.exe tool I use to look up error codes when debugging setup issues

When I am attempting to investigate a setup-related failure, I typically end up looking at verbose log

Sunday, June 29, 2008 3:53 PM by SmartGuy?

# 0x8002802F Issue?

Hi Guys I have two issues that are causing me great pain and I really don't want to have to reinstall Vista, Here goes hope you can help,

When I attempt to install office 2007 enterprise or any other bit of software I get an error message during the installation that reads ----------

"Microsoft Office Enterprise 2007 encountered an error during setup.

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

{2B2788D3-BB8E-4E9F-BCBD-040F35ECD3AE}.HRSEULT:0x8002802F"

Then it will rollback changes?

The other issue is Windows Live Messenger has stopped working, when you click to open messenger you receive an error message

That reads,

"The application failed to initialize properly (0xc0000135).Click OK to terminate the application"

Im not sure if the two errors that im getting are related but they came about on the same day...

Do you know what may have caused these issues or of a way to get around these without me having to reinstall my OS.

System spec-----

Please note if this is due to framwork fault please go easy on me im VERY to this =-)

OS Vista Ultimate

1.5 ram

AMD Opteron Processor 154

Geforce 6800

Tuesday, July 01, 2008 3:00 PM by astebner

# re: Possible cause of 1935 error with HRESULT 0x8002802F

Hi SmartGuy - I'd suggest checking that you have the registry values for .NET Framework 2.0 on your system from the list above in this blog post.  If that doesn't help, then you may also want to try to repair the files that come with Windows Vista by using the steps listed at http://support.microsoft.com/kb/929833.

If that also doesn't help, then you may want to try to install Windows Vista SP1 if you haven't already to see if that will resolve this error.

If none of the above works, then I think you may need to try to repair Vista itself because the .NET Framework 2.0 is an OS component on Windows Vista and the only way to fully repair it is to repair/re-install the OS.

I don't have enough expertise with Windows Live Messenger to help suggest any solutions for that error.  You may want to try to search on some of the forums or newsgroups that more specifically deal with Messenger issues to try to get some suggestions for that problem.

Friday, May 29, 2009 11:48 PM by Aaron Stebner's WebLog

# How to unblock installation of the .NET Framework 4 beta 1 on Windows XP Media Center and Tablet PC Editions

Question: I tried to install the .NET Framework 4 beta 1 and Visual Studio 2010 beta 1 on my Windows

Monday, July 06, 2009 3:27 PM by niclas.lindgren

# re: Possible cause of 1935 error with HRESULT 0x8002802F

Hello,

I had the HRESULT as a consequence of a aborted .Net 4.0 beta and VS2010 install. At least that is what I believe. I believe I started to install VS2010 the other .. month, and forgot about it, as I never restart my computer normally it was just there in the background for awhile. Suddenly I had a fuse break due to a broken power supply in one of the other computer (not really relevant..).

Anyhow, I had to clear up all .Net 4.0 reference in the registery, especially the Policy/AppPatch as it seemed to have hooked the setup.exe for VS2008

I think that did the trick, but I also removed all the other .Net 4.0 files in the system (at least in the places I know of).

I even tried to upgrade windows to see if that cleared up the problem, which it didn't.

One could ask for better error strings that actually help..

Cheers,

Niclas

Anonymous comments are disabled
 
Page view tracker