none
MSCOREE.dll wrong version after .net framwork 4.0 upgrade RRS feed

  • Question

  • I am testing deployment of a new application that is targeting .net framework 4.0.  The application installation appears to be working fine in all operating systems (x86, x64, XP, 7, 8, 10) except windows Vista. My test case is a virgin install of Windows Vista Business SP2 x64 from MSDN.  The installation begins with first installing the .net framework 4.0 full redistributable which sometimes completes and sometimes fails with no error code. After a seemingly successful installation of .net 4.0 framework , the application installation aborts with Error 1935 HRESULT 0x8002802f. I believe this error is caused by a mismatch in versions of MSCOREE.dll and DFSHIM.dll. I checked and both of this .dlls are still at version 2 after seemingly completing the installation of the .net framework 4.0 redistributable. These .dlls are version 4 on the other working operating systems that I tested. There appears to be a problem with the .net 4.0 framework redistributable installation. Does anyone know of a fix that can be implemented into my installation program (Installshield LE for VS2015) to resolve this issue?

    Wednesday, March 2, 2016 1:48 PM

Answers

  • Dear Pragmaticgary59,

    Thank you for posting the MSDN forum.

    According to the error message “Error 1935 HRESULT 0x8002802f”, it means “function not defined in specified DLL” and the most case is that the file %windir%\system32\mscoree.dll is missing, corrupt or an incorrect version. It can be found from Aaron’s blog: https://blogs.msdn.microsoft.com/astebner/2007/06/12/possible-cause-of-1935-error-with-hresult-0x8002802f/ and we can repair the highest version of the .NET Framework will correct this issue. So I recommend you download .NET Framework 4.5 from https://www.microsoft.com/en-us/download/details.aspx?id=30653 to install and .NET Framework 4.5 is a highly compatible, in-place update to .NET Framework 4.

    You can also try to repair .NET Framework 4.0 under Control PanelàPrograms or Features or use the .NET Framework Repair tool: https://www.microsoft.com/en-us/download/details.aspx?id=30135 to repair.

    Meanwhile, you can try to copy the mscoree.dll and dfshim.dll (version 4) from other working computer to replace this 2 DLLs (version 2) on this computer. I saw someone fixed this issue by it.

    If the issue still persists, please help me to collect the .NET Framework installation log. You can use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file and the screenshot to https://skydrive.live.com/ and share the link here.

    Hope those solutions will helpful for you and looking forward your update.

    Best regards,

    Sara


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, March 3, 2016 9:38 AM
    Moderator

All replies

  • Dear Pragmaticgary59,

    Thank you for posting the MSDN forum.

    According to the error message “Error 1935 HRESULT 0x8002802f”, it means “function not defined in specified DLL” and the most case is that the file %windir%\system32\mscoree.dll is missing, corrupt or an incorrect version. It can be found from Aaron’s blog: https://blogs.msdn.microsoft.com/astebner/2007/06/12/possible-cause-of-1935-error-with-hresult-0x8002802f/ and we can repair the highest version of the .NET Framework will correct this issue. So I recommend you download .NET Framework 4.5 from https://www.microsoft.com/en-us/download/details.aspx?id=30653 to install and .NET Framework 4.5 is a highly compatible, in-place update to .NET Framework 4.

    You can also try to repair .NET Framework 4.0 under Control PanelàPrograms or Features or use the .NET Framework Repair tool: https://www.microsoft.com/en-us/download/details.aspx?id=30135 to repair.

    Meanwhile, you can try to copy the mscoree.dll and dfshim.dll (version 4) from other working computer to replace this 2 DLLs (version 2) on this computer. I saw someone fixed this issue by it.

    If the issue still persists, please help me to collect the .NET Framework installation log. You can use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file and the screenshot to https://skydrive.live.com/ and share the link here.

    Hope those solutions will helpful for you and looking forward your update.

    Best regards,

    Sara


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, March 3, 2016 9:38 AM
    Moderator
  • Thanks for the reply;  I tried the above suggestions and only manually replacing the .dlls had any effect. My goal was to find a resolve that would work during deployment with Installshield LE for VS2015. I assume that the number of users that would utilize my application and are still using Windows Vista is minimal, therefore I have decided to upgrade my version of installshield and and block any attempt to install my application or the .net framework 4.0 redistributable on Vista machines and avoid the problem completely.
    Wednesday, March 9, 2016 7:16 PM
  • Thank you for your update.

    I’m glad to hear that your issue is solved. Your idea sounds good, I recommend you raise it up on the InstallShield forum: http://community.installshield.com/ to get dedicated support, since our forum is to discuss the Visual Studio Setup and Installation.

    BTW, if you think my reply is helpful, please mark my reply or your reply as the answer, it will benefit to other community members who have the same issue. It will be easier for them to search the solution.

    Thank you for your understanding.

    Best regards,

    Sara


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, March 10, 2016 3:15 AM
    Moderator