Cannot load Microsoft.MSXML Version

Posted on 2008-11-03
Last Modified: 2013-11-07

I am trying to deploy an Ajax-enabled ASP.NET 2.0 web application that leverages NHibernate for OR-mapping.  Works fine locally, but when I deploy to the web server and browse to the Login.aspx page, I get the following error.  Can someone tell me what the problem means?  And if I need to download a new version of MSXML parser to install on the web server, where can I find it?

Server Error in '/' Application.

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Microsoft.MSXML, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 52:                         <add assembly="System.Windows.Forms, Version=, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 53:                         <add assembly="vjslib, Version=, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 54:                         <add assembly="Microsoft.MSXML, Version=, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 55:                         <add assembly="Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 56:                         <add assembly="Microsoft.VisualStudio.ProjectAggregator, Version=, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

Source File: C:\Websites\tradetracker\web.config    Line: 54

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.MSXML, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
Question by:RCG_Support
    LVL 20

    Expert Comment


    Author Comment

    Unfortunately that doesn't help.  We already had MSXML 6.0 installed on the web server.  I uninstalled, reinstalled, and rebooted for good measure, and I'm still getting the same exact error.
    LVL 20

    Expert Comment

    Mmm...I had a similar problem, but with another 3rd party componenty, and installing the MSXML parser solved it.
    I'm sorry it didn't work

    Author Comment

    Makes sense, but what version would this be?  Below is a link to a list of Microsoft.MSXML versions and there is no  Is it possible that any 8.x version would be suitable?
    LVL 20

    Accepted Solution

    Good link the one you posted. I would try all the one that are 8.0.x.x version, like:

     2.5 SP1     Msxml.dll8.0.52262.5
     2.5 SP2    Msxml.dll, Msxmlr.dll (the last DLL is a                           resource-only DLL)8.0.5718.12.5
     2.5 SP3    Msxml.dll, Msxmlr.dll (the last DLL is a                           resource-only DLL)8.00.6730.0
     3.0            Msxml3.dll, Msxml3a.dll, Msxml3r.dll (the last                           two DLLs are resource-only DLLs)8.0.7820.0

    When you install them, you can check in the GAC the version number and the public token, if you find one that matches the web.config assembly definition, it should be the one.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    WS_CHILD window 14 36
    Gridview Edit Row 10 37
    Help with saving data added in DatagridView 1 40
    The Using statement in C# 5 12
    After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
    Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now