Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Cannot load Microsoft.MSXML Version

Posted on 2008-11-03
Medium Priority
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
  • 3
  • 2
LVL 20

Expert Comment

ID: 22871117

Author Comment

ID: 22871305
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

ID: 22871330
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

ID: 22876661
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

Juan_Barrera earned 750 total points
ID: 22880614
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…

571 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