Error 25007.Error occurred while initializing fusion. Setup could not
Hi,
I am trying to install .net framework 2.0 on Windows XP OS.
I get the following error
" Error 25007.Error occurred while initializing fusion. Setup could not load fusion with LoadLibraryShim().
how do i solve this?
Answers
Try these steps:
1. Do you have the COMPLUS_VERSION environment variable set? If you do, remove it from your environment variable and try to install the framework.
2. Rename mscoree.dll in %windir%\system32 and try to install the framework
3. Look in your registry. If you had a previous version of the framework installed (beta 1, beta 2, etc), see if this key exists:
HKLM\SOFTWARE\Microsoft\.NETFramework\policy\v2.0
Name: 50727
Data: 50727-50727
If you don't have that key, delete the keys that are there and try to install the framework.
All Replies
- I have the same error installing on Windows XP (home) and Windows Vista (beta 1) This renders the MSDN Professional that I bought USELESS.
Try these steps:
1. Do you have the COMPLUS_VERSION environment variable set? If you do, remove it from your environment variable and try to install the framework.
2. Rename mscoree.dll in %windir%\system32 and try to install the framework
3. Look in your registry. If you had a previous version of the framework installed (beta 1, beta 2, etc), see if this key exists:
HKLM\SOFTWARE\Microsoft\.NETFramework\policy\v2.0
Name: 50727
Data: 50727-50727
If you don't have that key, delete the keys that are there and try to install the framework.
- Where do I change the complus variable?
- none of these solutions worked

Hi!
Folder "c:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.363_x-ww_691a48fd" was missing on my machine. I tried to copy content of another VS80 CRT folder as this one and voila!
I hope this could help you a bit, Peter
- Hello,
I had to remove/rename all "VC80" Dlls, afterwards the installation works.
Cheers! Hi wommat,
what do u mean with all VC80 dlls?Dlls starting with that name?
All is started when i tried to install the SP1 of vs2005 and i've had an error during it. Since then, even if i remove everything, i can't install anymore .net framwork 2.0 and i have always the error in the subject :(
Anybody can help me?
rgds
Simon
I experienced exactly the same problem and solved it by deleting the policies folder under %windir%\WinSxS
Hope it helps.
FJ
- Proposed As Answer bysandip_w Friday, March 06, 2009 3:31 PM
Thank you! Thank you!
Deleting the policies folder worked for me. VS 2005 and .NET 2.0 was completely dead on my machine after attempting to apply SP1 :(
- It worled for me too. Thanks!
- Filipe Janela,You deserve the credit...I've lost countless hours trying to avoid reinstalling SO, finally I reached your page and voila!! VS2005 is installing again.Thanks againArvychile
- YES ! This works also for me.
I was also trying to install VS2005 SP1 on my machine and than I wasl unable to install FW 2.0 or VS2005 - always getting error 25007 wheni installing FW 2.0.
Delete the \WINDOWS\WinSxS\Policies that is all !!!
So many thanks to Filipe Janela...
Vojta- Proposed As Answer byTangfishfry Monday, October 27, 2008 8:41 PM
Thank you! This solution worked for me too!!!
Best regards,
Jure
Many thanks Filipe...
My problems started when Windows Update pushed the VS2005 SP1 update to me.
I applied the automated update a few times, each time failed. Eventually, I could no longer start Visual Studio or any .Net 2.0 app, and doing a Repair on VS2005 and .Net 2.0 Framework installation both failed.
Found out too late that SP1 requires 6.2 GB of free diskspace (I only had 2 GB free -- thought this would have been plenty of room).
Thanks again for the help,
jason
- Again, many thanks for your solution :)
Thanks! Bloody SP1 causing all this hassle. I was so glad to see this simple solution.... even glader when it actually worked on my machine. :)
Thanks.
Great help !!!!
- we should redirect here all guys who had problems installing/reinstalling VS2005
- Anyway it's enough to delete all directories and subdirectories from Windows\WinSxS that contain VC80 in the name somewhere
that worked for me an I was able to reinstall .Net framework and VS2005 Seems that I've done anything suggested at this thread and finaly it worked!!! thank you all!!!!
i've messing with this about a day, already screwed up my windows !
- Thank you, it also fixed my problem!!!
Thank you!
It helped me to have tomorrow's Sunday off of work.
Regards,
- thanks Filipe Janela, deleting the policies folder is the only thing that worked for me.
your solution should be the highlighted one!!
stupid botched SP1 installer
- Saved my life!! Thanks so much!
- Thank's a lot¡¡¡ It works for me
I also got the 25007 error while trying to install the .NET Framework 2.0 redistributable . Deleting the Policies folder worked for me too. Thanks for your help!!
Thank very much from Italy
- Thank you very much.. It was a great help. I was struggling from last 3/4 days was not able to install vs2005. Installed vs for 3/4 times. Uninstaled every thing.. Finally it worked , Thank you very much..
All,
I Found the solution here:
Seems that Windows File Protection is working too good.
Step1: Disable WFP
Step2: Rename %windir%\SXS\<folder_in_article>
Good Luck!
- Proposed As Answer byWagenS Thursday, August 06, 2009 3:42 PM
- I got this error after installing Office Enterprise 2007. My pc refused to load any office 2007 application. The underlying problem was that the .net 2.0 framework was not installed and it refused to do so.
I got an (initialize) error when trying to load the office application.
After all deleting the \WINDOWS\WinSxS\Policies folder made me able to install .net 2.0.
Now everything works fine.
Thanx alot! - Filipe
May your days on this planet be prolonged and blessed - YOU HAVE SAVED MY ***!!!! - Worked for me as well, Thanks Felipe!
This is great. After hours, finaly THE SOLUTION; Great Guys out there.
Thanks a lot.
Hi Felipe!
You are great! After more than one (I repeat: ONE) day of endless trying other solutions from the Microsoft help desk... finally the problem solution! Indeed this worked fine with my problem also!!
Thank you dude!
How did you come to this great idea of deleting the Policies folder?
Greets!
Stefan
- Erasing policies also fixed this problem for me, after trying the previous suggestions. Thanks for the help!
Fixed it! Renamed folder specified by previous poster except that my folder didn't have the exact same name... mostly the same (c:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b****)
Steps:
(1) rename folder
(2) rerun framework 2.0 installer
Deleting the policies folder left my XP Pro system in a complete state of nonsense. A new application error from Explorer.exe appeared that left the user's window blank. (Error Application failed to initialize properly 0xc0150002).
Do not attempt this deletion without first having saved the policies folder to a device that you can read after re-booting using Safe-Mode command line as the administrator (so you can re-copy these files back to where they were to recover at least back to where you were before).
After the upgrade failed, my system was in a state of disarray. While I deleted and re-installed the .net applications, I couldn't do that without restoring the policies to a prior working state. My system upgrade failed due to lack of space on the drive -- I read somewhere that you need 6.1 GB available -- can't say that is absolutely a correct number, but after re-sizing the partitions, the SP1 upgrade did install properly and seemed to use about 3 GB of space.
So, my experience is simply have a full image back-up before you begin the SP1 upgrade (it should have checked for available space really early in the install and aborted itself, but unfortunately, it doesn't do that), then tread with caution.
Hi,
I have installed the VSTS2005 in my machine successfully. After that I tried to install the service pack for the Windows 2003 Server. I was not able to complete this. Due to space availability in C: drive. So I have uninstall everything related to VSTS2005 from C: drive. And tried to install in F: drive. But unfortunately, it is getting failed in .Net framework level itself. Then I tried the .Net framework distributable package(X86) individually. While installing this i got the following message
"Error 25007. Error occurred while initializing fusion. Setup could not load fusion with LoadLibraryShim(). Error: The handle is invalid."
Since this installation was very emergency for me. Last 2 days i am searching for the solution. I am not able to get it. So please anyone those who got the solution for this please...write to me. It is a greatful for me if you provide me the solution as soon as possible.
Mail:hai_sri@yahoo.com mob: +91 9880370009 (anytime)
Regards
Sridhar
just tell me where to go, and what to download...I do not/can not understand all that techno mumbo jumbo.
I need actual help.
You guyes rock!!!! I had an Outlook2007 problem, and had to uninstall office enterprise2007, and it wouldn't reinstall! :-(
After reading this article and moving the Policies folder under C:\WINDOWS\winsxs\ it worked and i back up and running Yay
Unfortunately none of the fixes mentioned here have worked for me.
I find it disturbing that this has been a known issue since December 2005 yet the solution posted on the official MS website is out of date - it does not function and simply generates the message "please run installer.exe".
The error log for the failed install refers to DRM, is that why they won't provide a proper solution?
Deleting the policies folder does not work as windows file protection kicks in and replaces it, disabling WFP via the registry temporarily and deleting the policies folder simply made the PC unbootable until the it was restored to last known good configuration.
My next step is to completely rebuild the PC but seriously why isn't there a proper solution for a known issue affecting so many people for so long?
Thanks for this info. I know less than nothing about this stuff and was able to repair my .net and get my Adobe program up and running.
Thanks Again
- ---------------------------
Microsoft .NET Framework 2.0 Setup
---------------------------
Error 25007.Error occurred while initializing fusion. Setup could not load fusion with LoadLibraryShim(). Error: 0x80131700
This is the error message I got. I tried most of the other suggustions in this thread. For me they didn't work. This is where I finally got the answer.
How to troubleshoot Microsoft .NET Framework 2.0 installation issues
http://support.microsoft.com/kb/908077/en-us?spid=8291&sid=global - I get an error called 25015. I deleted that one folder (Policies) but how do I install it b/c its not working help
thanks, deleting the policies folder worked for me also
Manually getting rid of an old install
http://support.microsoft.com/kb/908077/en-us?spid=8291&sid=global
as posted by ThatBytes worked for me.
- ok i really need help please reply to me at Edward4eva@hotmail.com ty. heres the problem i deleted the policies thing but after i redownload framework 2 policies comes back into the folder and i'm like wtf i keep deleting but it keeps coming back...please help ty=p
error 25007 during installation of Turbotax CD. Please help
I have ordered a new CD from turbotax because the technician with turbotax tried to help me with this error and said I might have a corrup CD, but the error shows up again with the new CD download. Pleasae help me solve this problem so I can do my taxes for 2007. Thank you.
Hi - this repsonse looks very helpful in fixing my problem but I have absolutely no idea about how to go about doing it - it looks like a foreign language to me - is there a way you can tell me what to do in plainspeak English...thanks
Thanks a ton.. Its working for me also !!!!!This also worked for me.
Thank you !!!
great advice thanks worked a treat, dont forget winsxs is a hidden folder, under tool folder options view hidden folders
Hey Peter:
Terrific!
I did 2 things: Renaming mscoree.dll and creating the folder under WinSxS as you had recommended. I also set up a folder under policies that I named x86_policy.8.0.Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_x-ww_77c24773.Same as your recommendation, I copied the contents of another VC80CRT policy folder to this one.The installation worked. Oddly enough, the replaced mscoree.dll file is older. The one that I renamed had 271,360 bytes and a date of 4/13/2007. This was replaced by a file of 270,848 bytes and a date of 9/23/2005.
I'try to install UGRIB.US and it need Framework 2.0, I tried install, uninstall, commandline instructions, deleting Policies,
all suggestions from Microsoft, copying from a computer wich worked with UGRIB, I still don't succeed in installing FRAMEWORK 2.0.
I'm really desperate. It takes me in the meantime 2days and a night . . .
Please who helps me . . .
I had the same error with a client, we had to use the custom .Net 2.0 uninstaller after the recent Auto-update our .Net 2.0 was totally destroyed & would not uninstall.
After using the uninstaller, when it says you need to reboot ... do it. That's all it took for me & it worked.
Note: When using the dotnetfxcleanuptool.zip .. be sure to select ONLY .Net 2.0 or it will remove ALL your .NET
This cleanup tool will delete shared files and registry keys used by other versions of the .NET Framework. So if you use it, be prepared to repair or reinstall any other versions of the .NET Framework that are on your computer to get them to work correctly afterwards
http://astebner.sts.winisp.net/Tools/dotnetfx_cleanup_tool.zip
Extract the zip & be sure to select .Net 2.0 from the dropdown, or you will need to re-install any other versions of .Net you may require.
Then re-install using dotnetfx.exe:
- Thanks Filipe, your solution of deleting the Policies folder worked for me.
"I experienced exactly the same problem and solved it by deleting the policies folder under %windir%\WinSxS"
Hope it helps.
FJ
Thanx that tip worked really well- i try to delete the policies folder but it just reappears... what do I do?????
- http://www.computing.net/answers/windows-xp/net-framework-2-cant-be-installed/156093.html
I had this problem and read many suggestions on how to fix it. After going to the above link, i ran the cleanup tool as advised, and then tried reinstalling the .net framework 2.0 and it installed with no problems at all. I didnt have to do a bunch of manual edits to the registry and files, this pretty much did it all for me. I was a lil bit skeptical at first , but i figured its worth a try and i couldnt be happier with the results. I hope this will help some one, i found the page just googling for a fix for this problem. and it was on like the second page of results. - thnx Filipe Janela. the solution did work for me .. did delete all the policies related to VC ..
- thks! i had done everythings, but this tip was the solution, thks again.-
- This worked great!! my Wife spent two days on the phone trying to get this problem fixed and you had a ten second answer!! Thanks.
- wher is the complus_version located plz help.
- where is the environment variable located so that i may remove it plz help.


