Microsoft 开发人员网络 > 论坛主页 > .NET Base Class Library > Error 25007.Error occurred while initializing fusion. Setup could not
提出问题提出问题
 

已答复Error 25007.Error occurred while initializing fusion. Setup could not

  • 2005年12月18日 23:59a2lazydba 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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?

     

     

答案

  • 2006年1月12日 7:20Quan ToMSFT用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复

    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.

     

全部回复

  • 2006年1月6日 20:31Djcoates 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    I have the same error installing on Windows XP (home) and Windows Vista (beta 1)  This renders the MSDN Professional that I bought USELESS.
  • 2006年1月12日 7:20Quan ToMSFT用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复

    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.

     

  • 2006年9月7日 19:59aeppley 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Where do I change the complus variable?
  • 2006年9月27日 13:53rev3nant 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    none of these solutions worked
  • 2006年10月10日 21:33Analog 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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

  • 2006年10月22日 7:07Wommat 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hello,

    I had to remove/rename all  "VC80" Dlls, afterwards the installation works.

    Cheers!
  • 2006年12月18日 15:40LittleSimon 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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

     

     

  • 2006年12月19日 15:50Filipe Janela 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     建议的答复

    I experienced exactly the same problem and solved it by deleting the policies folder under %windir%\WinSxS

    Hope it helps.

    FJ

     

    • 已建议为答案sandip_w 2009年3月6日 15:31
    •  
  • 2006年12月21日 1:03perry_statho 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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 :(

     

  • 2006年12月26日 15:07Mauro Mazzieri 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    It worled for me too. Thanks!
  • 2007年1月16日 19:58arvychile 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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 again
     
    Arvychile
  • 2007年1月17日 11:00Pihrt 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     建议的答复
    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
  • 2007年2月6日 13:11debigbos 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    Thank you! This solution worked for me too!!!

    Best regards,

      Jure

  • 2007年2月8日 5:11jasonva 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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

  • 2007年2月21日 14:50Hal_PT 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Again, many thanks for your solution :)
  • 2007年2月22日 16:32MaBzilla 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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.  :)

  • 2007年3月5日 12:45Christos G_ 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    Thanks.

    Great help !!!!

  • 2007年3月7日 12:18RaduKing 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    we should redirect here all guys who had problems installing/reinstalling VS2005
  • 2007年3月7日 12:34RaduKing 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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
  • 2007年3月10日 17:14igor_ber 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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 !

  • 2007年3月16日 1:17BSteiny 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Thank you, it also fixed my problem!!!
  • 2007年4月14日 10:34junm 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    Thank you!

    It helped me to have tomorrow's Sunday off of work.

    Regards,

     

  • 2007年4月17日 9:04Ophiel 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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 Sad
  • 2007年4月19日 16:31Claire Langton 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Saved my life!! Thanks so much!
  • 2007年4月23日 23:41alarconspawn 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Thank's a lot¡¡¡ It works for me
  • 2007年4月29日 22:54ahill002 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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!!

     

  • 2007年5月2日 11:09pavia2000 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    Thank very much from Italy

     

  • 2007年5月3日 5:37Himanshu3 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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..
  • 2007年6月13日 19:19mmo3 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     建议的答复

    All,

     

    I Found the solution here:

     

    http://blogs.msdn.com/heaths/archive/2007/02/05/visual-studio-2005-service-pack-1-rollback-breaks-some-applications.aspx

     

    Seems that Windows File Protection is working too good.

     

    Step1: Disable WFP

    Step2: Rename %windir%\SXS\<folder_in_article>

     

    Good Luck!

     

     

    • 已建议为答案WagenS 2009年8月6日 15:42
    •  
  • 2007年6月18日 7:54Tamar 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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!
  • 2007年6月23日 6:31Damon Ramirez 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Filipe

    May your days on this planet be prolonged and blessed - YOU HAVE SAVED MY ***!!!!
  • 2007年7月10日 13:26Afz902k 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Worked for me as well, Thanks Felipe!
  • 2007年7月16日 21:53Guy Botson 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    This is great. After hours, finaly THE SOLUTION; Great Guys out there.

    Thanks a lot.

  • 2007年8月7日 12:07spopov 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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

     

     

  • 2007年8月13日 19:40Venturello 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Erasing policies also fixed this problem for me, after trying the previous suggestions. Thanks for the help!
  • 2007年8月16日 21:19a__mikie 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

     

    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

  • 2007年8月27日 23:44kbe 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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.

     

     

  • 2007年9月24日 12:00Sridhar_DPM 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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

     

  • 2007年10月8日 23:30varickofml 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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.

     

     

  • 2007年11月7日 8:02tnorth 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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

  • 2007年11月13日 22:10Enhaxed 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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?

     

     

     

     

  • 2007年11月16日 19:47Divemasterphil 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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

     

     

  • 2007年11月17日 20:47ThatBytes 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    ---------------------------
    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

  • 2007年12月9日 21:19GITA Hero 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    I get an error called 25015. I deleted that one folder (Policies) but how do I install it b/c its not working help
  • 2007年12月24日 11:28fman124 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    thanks, deleting the policies folder worked for me also

  • 2008年1月7日 19:11Rob28K 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

     

    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.

  • 2008年1月9日 6:49EdwardxD 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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
  • 2008年1月26日 17:19josephine perez 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    error 25007 during installation of Turbotax CD.  Please help

  • 2008年1月26日 18:27josephine perez 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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.

  • 2008年1月30日 18:30LindsaybarronOZ_hotmail.com 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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

  • 2008年1月31日 23:47Nidhin.CK 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

     

    Thanks a ton..  Its working for me also !!!!!
  • 2008年2月16日 18:00Curt Smith _Westford_ 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    This also worked for me.

    Thank you !!!

     

  • 2008年2月22日 15:42Angloman 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    great advice thanks worked a treat, dont forget winsxs is a hidden folder, under tool folder options view hidden folders

     

     

  • 2008年3月22日 0:55Vbger 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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.

  • 2008年3月31日 19:47harmenWH 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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 . . .

  • 2008年5月6日 20:08John ProjectThunder 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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:

    http://www.microsoft.com/downloads/details.aspx?familyid=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en

  • 2008年5月21日 18:15soccerazy 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Thanks Filipe, your solution of deleting the Policies folder worked for me.

     

  • 2008年6月21日 23:07AndresOspina 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    "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
  • 2008年7月1日 21:46mrbballboy 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    i try to delete the policies folder but it just reappears... what do I do?????
  • 2008年9月28日 19:34BIGKEV420 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
     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.
  • 2009年3月6日 15:32sandip_w 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    thnx Filipe Janela. the solution did work for me .. did delete all the policies related to VC ..
  • 2009年3月13日 17:52bey0nd 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    thks! i had done everythings, but this tip was the solution, thks again.-
  • 2009年4月12日 1:37rose_guy 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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.
  • 2009年11月15日 23:09mrcarandmrsfawn 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    wher is the complus_version located plz help.
  • 2009年11月15日 23:12mrcarandmrsfawn 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    where is the environment variable located so that i may remove it plz help.