Michael Rys

Musings on XML, XQuery and more...

<December 2008>
SuMoTuWeThFrSa
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910


Navigation

Papers

SQL Server XML Whitepapers

Weblogging Links

MS Bloggers

Recommended Books

Other Blogs

Recommended Links

Presentations (Upcoming)

Presentations (Recent)

Subscriptions

News


Upcoming Presentations


TechEd 2007, Orlando, June 4 to June 8, 2007


Books I co-authored



www.flickr.com
This is a Flickr badge showing public photos from Michael Rys. Make your own badge here.
eXTReMe Tracker

Post Categories

Article Categories



Do you see "Failed to load Msxmlsql.dll" when using the April CTP with OpenXML?

As part of our improvements on OpenXML, we have changed the MSXML component from 2.6 to 3.0 (running in 2.6 backwards-compatibility mode) and moved to a private DLL (called MSXMLSQL.DLL) in order to avoid the reboot requirement when installing SQL Server 2005. This change has been released the first time in the April CTP and will also be included in SQL Server 2000 SP4 (yeah!).

A couple of positives are that the parser will scale linear to the size of the document (there were cases when MSXML 2.6 was superlinear, ugh!), and the parent axis access in column pattern expressions will be finally performing (compared to the 2.6 based engine, it should be lightning fast :-)).

However, the April CTP seems to have an installation bug, if one decides to install the database engine (SQL Server 2005 April CTP that is) in a different location than the default (so is it still a non-breaking change? :-)).

MSXMLSQL.dll and .rll are installed to the same location as tools which is a configurable path. The default install location is:

%Program Files%\Microsoft SQL Server\90\Shared

However, if INSTALLSQLSHAREDDIR is provided on the command line or set during GUI setup MSXMLSQL will be installed to:

%INSTALLSQLSHAREDDIR%\90\Shared

Since the code only looks in the first location, it will not find it. So, if you encounter the above error message, please just copy the missing files from %INSTALLSQLSHAREDDIR%\90\Shared to %Program Files%\Microsoft SQL Server\90\Shared. We are working to get this fixed for the next CTP release (and of course make sure it does not occur in SP4 either).

If you install everying using default location, this is not an issue.

posted on Friday, April 22, 2005 4:58 PM by mrys


# OpenXML now with MSXML 3.0 @ Monday, April 25, 2005 12:43 PM

mrys

# OpenXML now with MSXML 3.0 @ Monday, April 25, 2005 12:44 PM

mrys

# re: Do you see &amp;quot;Failed to load Msxmlsql.dll&amp;quot; when using the April CTP with OpenXML? @ Thursday, February 22, 2007 4:11 PM

Michael,

I am experiencing the same error on MS SQL Server 2000 SP4. I have copied MSxmlsql.dll in the folder specified however, i am still receiving this error. Can you shed more light on this topic?

Anjana

# re: Do you see &quot;Failed to load Msxmlsql.dll&quot; when using the April CTP with OpenXML? @ Thursday, February 22, 2007 8:23 PM

Dear Anjana, do you have several 2000 SP4 instances running and have maybe uninstalled one or upgraded one of it to 2005?

There is a problem with the uninstaller of 2000 SP4 that gets called when upgrading to 2005. That uninstaller removes the MSXMLSQL files even though they are shared.

To fix this, (re)install a 2000 SP4 instance.

mrys

# SQL Server 装载 msxmlsql.dll 失败的解决办法 @ Saturday, May 24, 2008 6:21 AM

错误信息:装载 msxmlsql.dll 失败(Failed to load Msxmlsql.dll)。

Anonymous

# SQL Server 装载 msxmlsql.dll 失败的解决办法 @ Saturday, May 24, 2008 7:46 AM

Anonymous

# SQL Server 装载 msxmlsql.dll 失败的解决办法 @ Thursday, June 05, 2008 7:01 AM

Anonymous

# SQL Server 装载 msxmlsql.dll 失败的解决办法 @ Thursday, June 05, 2008 7:13 AM

错误信息: 装载 msxmlsql.dll 失败( Failed to load Msxmlsql.dll )。 环境: ASP.NET2.0 SQL Server 2000(SP4) 。 出错原因:

Anonymous




Powered by Dot Net Junkies, by Telligent Systems