Fixing Error 25541. Failed to open XML file

Fixing Error 25541.

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:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.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:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config.default to C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.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] Veeam: Failed change tracking (CBT)