SQL 2008 Setup Error 25541 - Failed to open machine.config

  • When installing SQL 2008 I keep getting the following error:

    MSI Error: 25541 Error 25541.Failed to open XML file

    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config, system

    error: -2147024786

    I have tried the suggestions on the web about reinstalling MSXML3 to no

    avail. I have uninstalled completely, cleared temp files and attempted

    reinstall with the same error continuing to occur. The only thing I was able to get successfully installed was some client tools and Reporting Services. Integration Services, BIDS, and the core DB files all fail.

  • I finally figured out why this was happening. I typically use Textpad to modify my machine.config file and it does not check syntax of XML files when open in the editor. I opened the machine.config in Visual Studio and it had an error listed about some hexidecimal character (0x00) is not allowed in XML files. I could not visibly see this character but the error was syntax highlighted at the end of the file. I deleted the last line and then re-added it and the error went away and my install was successful after that. I have absolutely no clue as to how this character got in my machine.config.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply