SQLXML with Windows 2008 and SQL Server 2008

Posted by Rafa G. Argente on Stack Overflow See other posts from Stack Overflow or by Rafa G. Argente
Published on 2009-03-11T10:54:28Z Indexed on 2010/06/17 10:23 UTC
Read the original article Hit count: 759

Hi all,

I have an application that uses SQLXML to access data on the database. We have it working on a Windows 2003 server and SQL Server 2005. Now the client wants to install it on Windows 2008 and SQL Server 2008 and we are getting errors like:
Microsoft.Data.SqlXml.SqlXmlException: Class not registered ---> System.Runtime.InteropServices.COMException (0x80040154): Class not registered at Microsoft.Data.SqlXml.Common.UnsafeNativeMethods. ISQLXMLCommandManagedInterface.ExecuteToOutputStream() at Microsoft.Data.SqlXml.SqlXmlCommand.innerExecute(Stream strm) ... etc etc

This is driving me crazy. SQLXML is quite an obsolete technology, and we are trying to use it with the latest SO. I can't find official information about SQLXML and Windows 2008, it seems it's not officially supported but they don't say it's not supported either.

The SQLXML4.0SP1 installation seems to work fine, but it seems like it fails on runtime.

Do you have any ideas? Has someone tried anything like this?

© Stack Overflow or respective owner

Related posts about sql-server-2008

Related posts about windows-server-2008