Assembly load failure installing the 2.0 Framework

I just helped debug an interesting framework failure.

Product: Microsoft .NET Framework 2.0 -- Error 25015.Failed to install assembly 'C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.Vsa.dll' because of system error: 0x80131107

Turns out the customer had their COMPLUS_VERSION envionrment variable set to 1.1.4322 (the 1.1 framework). This caused mscoree.dll to load the 1.1 version of framework and use that to GAC the 2.0 assemblies. 

The workaround is to delete that environment variable and rerun the install.

Comments

  • Anonymous
    October 30, 2007
    Your info did and or does NOT work! I have even tried deleting everything that might have something to do with the problem, but still no luck

  • Anonymous
    October 23, 2010
    Ya, Dumb me. I tryed this too and it did not / does not work for me either!! Now I don't have any Microsoft framework installed on my system! Thanks, Don't try tis fix. Wont work!!

  • Anonymous
    October 31, 2011
    Maybe apple does not have this problem!!!!!!!