Ошибка 25541 при установке microsoft office 2010

Система Microsoft Office

 > 

Администрирование и настройка клиентских приложений MS Office

  • General discussion

  • Discussion

    Sign in to vote

    0


    Sign in to vote

    Помогите пожалуйста. Начал устанавливать Microsoft office Professional Plus 2010 на Win7 64x и вылетает ошибка при установке «Error 25541: failed to open XML file C:WINDOWSMicrosoft.NETFrameworkV2.0.50727config, system error -2147024786».
     Как её исправить?

    • Changed type
      Иван ПродановMicrosoft contingent staff, Moderator
      Friday, October 4, 2013 6:13 AM

    Wednesday, August 14, 2013 4:56 AM

Jul 20, 22

Предыстория

Недавно, на одном из серверов пришлось моему коллеге развернуть пакет Microsoft Office — он понадобился для программы, которая работает с базами данных Access.
Нетривиальная задача обернулась в нерешимую задачу, которую я решил чуть позже и решение которой я опишу ниже.

Решение

Суть ошибки была в следующем. При установке офиса на одном из этапов возникала ошибка Error 25541. Установка SQL Server Compact вообще не запускалась. Думали уже вирусы/слетевшие групповые политики и т.д.. Удаленно по телефону решения не нашлось, решили снять образ с системы и уже у себя провести эксперименты.

Начинаем Googl’ить, все ответы ссылаются на Net. Framework. Ну раз пишут, пробуем. Поставили несколько версий — не помогло. Так как Windows Server позволяет отключить компоненты, отключаю весь Framework для чистоты эксперимента. Сразу предупреждаю — лучше этого не делать) После перезагрузки меня встретила консоль и больше ничего) Перехожу в папку, открываю установщик — тоже самое. Восстанавливаю через DISM пакеты обратно — ссылочка, т.к. пока не установите Framework никакого powershell’а не будет.

Порывшись в логах установщика ещё раз приходит понимание, что проблема в компоненте MSXML. Ну раз проблема, ставлю версию новее — результата не дало.

А когда не знаешь, откуда брать файлы, то пусть система решает сама. Сканирую DISM /ScanHealth либо DISM /Online /Cleanup-Image /RestoreHealth на наличие ошибок — проблем нет, всё отлично.

Перехожу к sfc /scannow и тут бинго — система находит повреждения в MSXML 3.0 и заменяет файлы. Пробую установку — все работает. Вот так легко и просто решилась задача.

Вывод — не пренебрегайте проверкой системных файлов.

Hi drsj,

Have you tested MVP’s tool?

I would recommend you try this thread first:

http://social.technet.microsoft.com/Forums/en-US/officesetupdeploy/thread/86787c69-5909-4885-843e-b8b977e5cc33

From your error it seems this file C:WindowsMicrosoft.NETFrameworkv2.0.50727CONFIGmachine.config may corrupt. You can try the following:

«

I ran into the same error numerous times installing Office 2010 on Vista where machine.config was not found.  Specifically:

Error 25541. Failed to open XML file
C:WindowsMicrosoft.NETFrameworkv2.0.50727CONFIGmachine.config, system error: -2147024786
Setup failed. Rolling back

I tried both approaches above and neither worked.

My final solution was simple: there was a file in the directory called machine.config.default.  In a DOS box I copied that file to create machine.config.

The office 2010 install worked fine after that «fix».

«

If it did no help and the tool MVP mentioned told you your .NET is corrupt.

Try this solution:

http://blogs.msdn.com/b/astebner/archive/2007/03/26/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx

Regards,


Barry Wang
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Remove From My Forums
  • Question

  • Can someone help me resolve this error which is encountered while installing office 2010. So far support for my issue has been weak to non responsive!

Answers

  • Hi,

    The .NET Framework 3.5 can fail to install on a system where MSXML is not properly registered.  There is a custom action that runs during .NET Framework 3.5 setup that tries to use some APIs in MSXML to modify some information in the web_mediumtrust.config
    file that is a part of the .NET Framework 2.0.  In the cases that we’ve seen of this issue so far, one of the MSXML CLSID values was somehow unregistered on the system, and that causes this custom action to fail.

    You can use one of the following options to work around this issue if you encounter it during .NET Framework 3.5 setup.  Note that these workarounds are only useful for this exact error and HRESULT value.  They will not help fix all possible .NET
    Framework 3.5 setup failures.

    1. Re-register msxml3.dll by running regsvr32 msxml3.dll
    2. Re-install MSXML3 by downloading and installing the package from
      http://www.microsoft.com/downloads/details.aspx?familyid=28494391-052b-42ff-9674-f752bdca9582

    For more information about details about the root cause of this issue, you can refer to this article:

    http://blogs.msdn.com/b/astebner/archive/2007/11/01/5826719.aspx

    Hope that helps.

    • Marked as answer by

      Thursday, October 21, 2010 5:21 AM

  • Remove From My Forums
  • Question

Answers

  • Hi Ambs101010,

    Based on my research, the error can be caused by that the machine.config file is incorrect or corrupted. Please use the following steps to troubleshoot the issue and check if the error still occurs.

    1. Open the machine.config in Visual Studio and check if there is any syntax errors. If syntax errors exist, modify the machine.config file directly. For more details, please review this similar
    thread.
    2. If the error still persists, please follow the steps to replace the machine.config file. Another alternative method is to replace the current machine.config with the machine.config file from another computer.

          a.  Go to the folder C:windowsMicrosoft.NETFrameworkv2.0.50727CONFIG
          b.  Rename the file machine.config to machine.config.old
          c.  Make a copy of the file machine.config.default and rename the copy to be machine.config
          d.  If your Operating System is 64-bit, go to the folder C:windowsMicrosoft.NETFramework64v2.0.50727CONFIG and repeat the above steps
          e.  Reboot your computer

    Thanks,
    Lydia Zhang

    • Edited by

      Monday, November 17, 2014 9:45 AM

    • Marked as answer by
      Lydia ZhangMicrosoft contingent staff
      Monday, November 24, 2014 11:08 AM
  • Remove From My Forums
  • Question

  • Can someone help me resolve this error which is encountered while installing office 2010. So far support for my issue has been weak to non responsive!

Answers

  • Hi,

    The .NET Framework 3.5 can fail to install on a system where MSXML is not properly registered.  There is a custom action that runs during .NET Framework 3.5 setup that tries to use some APIs in MSXML to modify some information in the web_mediumtrust.config
    file that is a part of the .NET Framework 2.0.  In the cases that we’ve seen of this issue so far, one of the MSXML CLSID values was somehow unregistered on the system, and that causes this custom action to fail.

    You can use one of the following options to work around this issue if you encounter it during .NET Framework 3.5 setup.  Note that these workarounds are only useful for this exact error and HRESULT value.  They will not help fix all possible .NET
    Framework 3.5 setup failures.

    1. Re-register msxml3.dll by running regsvr32 msxml3.dll
    2. Re-install MSXML3 by downloading and installing the package from
      http://www.microsoft.com/downloads/details.aspx?familyid=28494391-052b-42ff-9674-f752bdca9582

    For more information about details about the root cause of this issue, you can refer to this article:

    http://blogs.msdn.com/b/astebner/archive/2007/11/01/5826719.aspx

    Hope that helps.

    • Marked as answer by

      Thursday, October 21, 2010 5:21 AM

  • Remove From My Forums
  • Question

  • Can someone help me resolve this error which is encountered while installing office 2010. So far support for my issue has been weak to non responsive!

Answers

  • Hi,

    The .NET Framework 3.5 can fail to install on a system where MSXML is not properly registered.  There is a custom action that runs during .NET Framework 3.5 setup that tries to use some APIs in MSXML to modify some information in the web_mediumtrust.config
    file that is a part of the .NET Framework 2.0.  In the cases that we’ve seen of this issue so far, one of the MSXML CLSID values was somehow unregistered on the system, and that causes this custom action to fail.

    You can use one of the following options to work around this issue if you encounter it during .NET Framework 3.5 setup.  Note that these workarounds are only useful for this exact error and HRESULT value.  They will not help fix all possible .NET
    Framework 3.5 setup failures.

    1. Re-register msxml3.dll by running regsvr32 msxml3.dll
    2. Re-install MSXML3 by downloading and installing the package from
      http://www.microsoft.com/downloads/details.aspx?familyid=28494391-052b-42ff-9674-f752bdca9582

    For more information about details about the root cause of this issue, you can refer to this article:

    http://blogs.msdn.com/b/astebner/archive/2007/11/01/5826719.aspx

    Hope that helps.

    • Marked as answer by

      Thursday, October 21, 2010 5:21 AM

Fixing Error 25541. Failed to open XML file

I had to install Compact 4.0 on a client computer today. However, i got the error below:


Error 25541. Failed to open XML file
C:WindowsMicrosoft.NETFrameworkv2.0.50727CONFIGmachine.config, system error: -2147024786
Setup failed. Rolling back

 This was a huge pain in the a**, but the solution was very simple.

Simply copy C:WindowsMicrosoft.NETFrameworkv2.0.50727CONFIGmachine.config.default to C:WindowsMicrosoft.NETFrameworkv2.0.50727CONFIGmachine.config and you can continue with your work.

It seems like the error get triggered when an application which uses this is being uninstalled.

Popular posts from this blog

[SOLVED] Extend Microsoft SQL Server Trial / Evaluation period

Image

Restart SQL service after trial period — and continue using it The problem usually occurs when you are running an evaluation instance of SQL Server and the evaluation time period has expired. I will show you a workaround, that enables you to continue using SQL even though it has expired.

[SOLVED] Veeam: Failed change tracking (CBT)

Failed to flush change tracking data, using full scan to determine changes. Failed to create change tracking time stamp for virtual disk file I’ve encountered the above, after i added some new CSV to a cluster. The backup jobs have been running fine for ages before this. As per say, this is not really a critical issue, since the backups just takes longer. Needless to say, i wanted it to function. I tried: Reboot Nodes, Hosts, VMs Fully update Stop VeeamFCT service and Start it again Update hyper-v integration service Delete previous backups Run full backups Read Veeam forums Running Reset-HvVmChangeTracking Din’t work. However!

Blazor Tutorial — How to create a modal component

Blazor modal tutorial The following example illustrates how you can create a modal component in Blazor server. For the following example i have used mdbootstrap which can be found here www.mdboostrap.com The goal is to create a modal that is easy to use and which can be used as a template across your site.

Windows 10: Error 25541. Failed to open XML file…

Discus and support Error 25541. Failed to open XML file… in Windows 10 BSOD Crashes and Debugging to solve the problem; Get this «Error 25541. Failed to open XML file C:windowsMicrosoft.NETframeworkv2.0.50727CONFIGmachine.config. system error: — 2147024786» while…
Discussion in ‘Windows 10 BSOD Crashes and Debugging’ started by glenjohnson3, Feb 12, 2020.

  1. Get this «Error 25541. Failed to open XML file C:windowsMicrosoft.NETframeworkv2.0.50727CONFIGmachine.config. system error: — 2147024786» while trying to install Hallmark card studio deluxe. Brand new Windows 10 fully up to date. Can’t seem to find an answer how to solve this in windows 10.

    :)

  2. error 25541

    I am trying to install Hallmark Card Studio Deluxe (2017) and I get the following error:
    Error 25541. Failed to open XML file C:windowsmicrosoft.netframeworkv2.0.50727configmachine.config, system error: -2147024786″. Hallmark tech support had me try an number of things like trying
    to update framework but I still get the error. He also had me try the website download version but that didn’t work either. I just got a new computer and am running Windows 10 Home. Can you help?

    [Moved from:Windows / Windows 10 / Performance & system failures]

  3. I can not open the xml files with the xml editor

    When I double click on a .xml file an error message is appearing that there is no appropriate program to open this kind of files. I tried to match the xml editor program with the files having a .xml extension and this didn’t work too.

    Please tell me a way to pair the xml file editor with the .xml extension files.

  4. Error 25541. Failed to open XML file…

    Problem when opening a XML file

    Hi Roberto — From another source I received a suggestion to open the offending file in Wordpad and to save it as an Office Open XML document which would have an extension of ‘.xml.doc’ then remove the ‘.doc’ part

    That idea unfortunately hasn’t worked for me. Having saved the file as suggested I then tried to open it. In Internet Explorer and MS Edge I get a completely blank page. In Notepad, Wordpad or Office XML Handler (which uses Notepad) I just get unintelligible
    «mumbo jumbo». In XML Notepad it states «Data at the root level is invalid Line 1 Position 1 and asks if I wish to open it using Notepad. Answering yes just results in «mumbo jumbo» as before.

    The file only opens correctly in Word 2016, (i.e. showing all the elements etc.) but if I try to open any of the other XML files using Word, I get a message that «The file contains custom XML elements that are no longer supported in Word. Saving the fie will
    remove these elements permanently», and only the data for each element is shown for these files and there is no sign of the various elements themselves.

    Don’t know if any of the above gives some indication of what is wrong, but it’s all very frustrating . Can’t help feeling that it is something very simple! I would stress that the other four xml files used by the program all open properly in a Edge window

Thema:

Error 25541. Failed to open XML file…

  1. Error 25541. Failed to open XML file… — Similar Threads — Error 25541 Failed

  2. .XML files wont stop opening in Internet explorer

    in Windows 10 Network and Sharing

    .XML files wont stop opening in Internet explorer: .XMl Files wont stop opening in internet explorer on windows 10 Help

    https://answers.microsoft.com/en-us/windows/forum/all/xml-files-wont-stop-opening-in-internet-explorer/90c020fe-a94a-42fe-bd68-701373a8356d

  3. .XML files wont stop opening in Internet explorer

    in Windows 10 Gaming

    .XML files wont stop opening in Internet explorer: .XMl Files wont stop opening in internet explorer on windows 10 Help

    https://answers.microsoft.com/en-us/windows/forum/all/xml-files-wont-stop-opening-in-internet-explorer/90c020fe-a94a-42fe-bd68-701373a8356d

  4. .XML files wont stop opening in Internet explorer

    in Windows 10 Software and Apps

    .XML files wont stop opening in Internet explorer: .XMl Files wont stop opening in internet explorer on windows 10 Help

    https://answers.microsoft.com/en-us/windows/forum/all/xml-files-wont-stop-opening-in-internet-explorer/90c020fe-a94a-42fe-bd68-701373a8356d

  5. download .xml file

    in Windows 10 Network and Sharing

    download .xml file: I am unable to download .xml files and changing the setting doesn’t work/

    https://answers.microsoft.com/en-us/windows/forum/all/download-xml-file/e09a3a25-3436-4466-8f2a-918f6ece0a21

  6. XML Files

    in Windows 10 Software and Apps

    XML Files: Hi folks! Just registered to this forum and glad to have found it.

    So I was installing Ubuntu on my computer which already had windows 10.I wanted to have a dual OS. Things went south and windows got deleted/ over written or whatever.

    I used a hard drive recovery device to…

  7. Can’t open, edit and save xml files

    in Windows 10 Network and Sharing

    Can’t open, edit and save xml files: Hello

    I have som xml files i want to edit, but for some reason my pc dont let choose what program i want to open the xml files with. It only show «open» and not «open with» notepad. Then i forced it to open it with notepad by making it default for xml files. Then i was able…

  8. xml error

    in AntiVirus, Firewalls and System Security

    xml error: When doing a scan with free version of Spybot I get the message (in bold) below about file 180702-213610.xml. Has been on the ‘cleaner’ page for a few days. What is 180702-213610.xml? Is it a virus? Has it been cleaned based on note in green below? I use Webroot…

  9. Problem when opening xml file

    in Windows 10 Software and Apps

    Problem when opening xml file: I have a small program, which uses a number of xml files. The program is not working properly and I suspect that is due to a problem with one of the xml files. When I click on any except one of those files it opens in a MS Edge (the default Windows 10 browser) window and all…

  10. MP4 file opens on personal laptop as XML Document file

    in Windows 10 Support

    MP4 file opens on personal laptop as XML Document file: I downloaded an MP4 video file on my work laptop (Windows 7) and was able to open and watch it on Windows Media Player. I copied the file onto an external memory drive to watch the video at home but when I open the drive on my personal laptop (Windows 10) the file changes…

Users found this page by searching for:

  1. erreur 25541

    ,

  2. error 25541 failed to open xml file office 2010 Windows 10

    ,

  3. error 25541 failed to open xml file office 2010

    ,

  4. failed to open xml file,
  5. error 25541 failed

A customer’s hard drive was generating SMART error. I replace the drive, reinstalled Windows 8.1, and used Laplink’s PC Mover to move all of the applications from the failing hard drive to the replacement. Everything worked except MS Office 2010, which required that a product key be entered. Entering the product key solved the problem with Word and Excel, but Outlook did not recognize the OST file for the customer’s Exchange account or the PST file for his POP account. I tried to create a new profile using the Mail applet in Control Panel, but it was greyed out. A repair of MS office was not successful, so I removed it, planning on reinstalling. Now when I try to reinstall I get «»Error 25541. Failed to open XML file C:windowsmicrosoft.netframeworkv2.0.50727configmachine.config, system error: -2147024786″». The installation then backs out previous changes and terminates, suggesting a reboot.

As far as I can tell, this is a problem with .Net Framework 2.0. SFC /scannow found no problems. The folder for .Net Framework 2.050727 exists, but the only content is the config folder, which is empty.

What do I have to do to install MS Office 2010?

Read these next…

  • Curated WINDOWS 10 "glitch" - file explorer

    WINDOWS 10 «glitch» — file explorer

    Windows

    Hi.I have been experiencing a black line (glitch) on my file explorer which comes for milliseconds then it goes away. See screen grab. Is there anyone who has experienced such and how were they able to solve it?Thank you.

  • Curated Are you updating workstations to Windows 11?

    Are you updating workstations to Windows 11?

    Windows

    Has anyone started updating workstations on a AD domain to Windows 11? what type of issues are you facing?What is the user reaction been?Thanks!

  • Curated Snap! -- Psyche Probe, DIY Gene Editing, RaiBo, AI handwriting, Metric Pirates

    Snap! — Psyche Probe, DIY Gene Editing, RaiBo, AI handwriting, Metric Pirates

    Spiceworks Originals

    Your daily dose of tech news, in brief.

    Welcome to the Snap!

    Flashback: January 27, 1880: Thomas Edison receives patent for the Electric Lamp. (Read more HERE.)

    Bonus Flashback: January 27, 1967: Apollo 1 Tragedy (Read more HERE.)

    You …

  • Curated NEC Inmail Email doesn't Change

    NEC Inmail Email doesn’t Change

    Collaboration

    Hey Everyone,Recently a client of mine wanted to change the email to their QA extension to her email as to help keep voicemails consolidated instead of spread out among different emails. Normally this wouldn’t be a huge deal. Logged in to to Webpro, hoppe…

  • Curated I inherited some really cool equipment. I just have no clue how to use it!

    I inherited some really cool equipment. I just have no clue how to use it!

    Hardware

    So I’ve got some switches, and some servers. The switches seem pretty straight forward, plug in packet go zoom, but I have no clue how these servers work. They’re headless rack servers. I know there must be a way to get some kind of UI going with a monito…

  • Remove From My Forums
  • Question

  • Can someone help me resolve this error which is encountered while installing office 2010. So far support for my issue has been weak to non responsive!

Answers

  • Hi,

    The .NET Framework 3.5 can fail to install on a system where MSXML is not properly registered.  There is a custom action that runs during .NET Framework 3.5 setup that tries to use some APIs in MSXML to modify some information in the web_mediumtrust.config
    file that is a part of the .NET Framework 2.0.  In the cases that we’ve seen of this issue so far, one of the MSXML CLSID values was somehow unregistered on the system, and that causes this custom action to fail.

    You can use one of the following options to work around this issue if you encounter it during .NET Framework 3.5 setup.  Note that these workarounds are only useful for this exact error and HRESULT value.  They will not help fix all possible .NET
    Framework 3.5 setup failures.

    1. Re-register msxml3.dll by running regsvr32 msxml3.dll
    2. Re-install MSXML3 by downloading and installing the package from
      http://www.microsoft.com/downloads/details.aspx?familyid=28494391-052b-42ff-9674-f752bdca9582

    For more information about details about the root cause of this issue, you can refer to this article:

    http://blogs.msdn.com/b/astebner/archive/2007/11/01/5826719.aspx

    Hope that helps.

    • Marked as answer by

      Thursday, October 21, 2010 5:21 AM

Понравилась статья? Поделить с друзьями:
  • Ошибка 307 тесо вы отключены от сервера
  • Ошибка 25541 failed to open xml file
  • Ошибка 3 d secure авторизации сбербанк
  • Ошибка 30504 call of duty
  • Ошибка 25531 не удалось открыть xml файл