Author |
Topic |
glt101
Starting Member
28 Posts |
Posted - 2008-03-11 : 10:31:46
|
Hi All,Whenever I try to execute sp_xml_preparedocument Iget the following error:Msg 6610, Level 16, State 1, Procedure sp_xml_preparedocument, Line 1Failed to load Msxmlsql.dll.We have SQL Server 2005 SP2running on Windows Server 2003 R2 SP2This is killing us right now.Can anyone help?Cheers,Geoff |
|
RickD
Slow But Sure Yak Herding Master
3608 Posts |
Posted - 2008-03-11 : 10:42:51
|
Did you upgrade from 2000?Oh and have you tried googling the error? If not then how can you say this is killing you right now? |
|
|
glt101
Starting Member
28 Posts |
Posted - 2008-03-11 : 11:01:27
|
Hi,No. This was a complete fresh install of SQL server 2005.I saw the MS KB article about the MSxmlsql.dll gettingdeleted from C:\Program Files\Microsoft SQL Server\80\Sharedduring the upgrade, but I think that causes the problem onSQL Server 2000 not 2005.http://support.microsoft.com/kb/929668So the solution proposed there is not applicable in this case...I think.C:\Program Files\Microsoft SQL Server\80\Sharedis indeed missing, but C:\Program Files\Microsoft SQL Server\90\Shared\msxmlsql.dllis present. This is what I would expect.Cheers,Geoff |
|
|
RickD
Slow But Sure Yak Herding Master
3608 Posts |
Posted - 2008-03-11 : 11:47:26
|
Have you read this KB article?http://support.microsoft.com/kb/941105 |
|
|
glt101
Starting Member
28 Posts |
Posted - 2008-03-11 : 11:52:00
|
Hi,Yes. I am planning a service restart at 12:30pm (inabout 40 minutes). We have another dll (an xp) arethat is working fine, so I have my doubts that it'sthis problem. But we'll see...Cheers,Geoff |
|
|
glt101
Starting Member
28 Posts |
|
RickD
Slow But Sure Yak Herding Master
3608 Posts |
Posted - 2008-03-11 : 12:52:14
|
I would guess it does, not tried it though. |
|
|
mclavreuil
Starting Member
1 Post |
Posted - 2011-06-16 : 12:30:20
|
I had a similar problem but with an x64 SQL Server 2008 R2 Developer edition.I post the workaround here for those who may be in the same situation.Some other product installed an x64 SQL Server 2008 Express beside my 2008R2Dev instance and all xml procedure stop to work with the same message quoted upper.The workaround. I copied two files from the installation DVD to my disk.Stop the SQL instanceFrom the DVD : \1033_ENU_LP\x64\Setup\sql_engine_core_shared_loc_msi\PFiles\SqlServr\100\Shared\Res\1033\msxmlsql.rllTo : \Program Files\Microsoft SQL Server\100\Shared\Resources\1033From the DVD: \x64\Setup\sql_engine_core_shared_msi\PFiles\SqlServr\100\Shared\msxmlsql.ddlTo : \Program Files\Microsoft SQL Server\100\SharedStart the instance.Test with a statement like this one:DECLARE @docHandle INTDECLARE @error INTEXEC sp_xml_preparedocument @docHandle OUTPUT, N'<root><child/></root>'SET @error =@@ERRORIF @error =0BEGINEXEC sp_xml_removedocument @docHandleENDAnd... OK : Command(s) completed successfully.Hope it will helpMartin CLAVREUIL |
|
|
glt101
Starting Member
28 Posts |
Posted - 2011-06-16 : 12:49:04
|
Hi Martin,We actually replaced that server since then.But nice to know your file replacement worked.Cheers,Geoffquote: Originally posted by mclavreuil I had a similar problem but with an x64 SQL Server 2008 R2 Developer edition.I post the workaround here for those who may be in the same situation.Some other product installed an x64 SQL Server 2008 Express beside my 2008R2Dev instance and all xml procedure stop to work with the same message quoted upper.The workaround. I copied two files from the installation DVD to my disk.Stop the SQL instanceFrom the DVD : \1033_ENU_LP\x64\Setup\sql_engine_core_shared_loc_msi\PFiles\SqlServr\100\Shared\Res\1033\msxmlsql.rllTo : \Program Files\Microsoft SQL Server\100\Shared\Resources\1033From the DVD: \x64\Setup\sql_engine_core_shared_msi\PFiles\SqlServr\100\Shared\msxmlsql.ddlTo : \Program Files\Microsoft SQL Server\100\SharedStart the instance.Test with a statement like this one:DECLARE @docHandle INTDECLARE @error INTEXEC sp_xml_preparedocument @docHandle OUTPUT, N'<root><child/></root>'SET @error =@@ERRORIF @error =0BEGINEXEC sp_xml_removedocument @docHandleENDAnd... OK : Command(s) completed successfully.Hope it will helpMartin CLAVREUIL
|
|
|
|