Solved

Using SQLXML Bulk Load on the Server - SQL Sever 2000, Windows 2003 Server

Posted on 2009-05-13
4
1,066 Views
Last Modified: 2012-08-14
We are using the SQLXML bulk load object to load XML to a SQL Server 2000 database in a DTS package. The load occurs with no problems at all when a client executes the package, but when it is run on the server, I get the error: ActiveX component can't create object: 'SQLXMLBulkLoad.SQLXMLBulkLoad.4.0'


Can someone tell me what needs to be installed on the Windows 2003 server to allow the code to execute as a job on the server?

set objBL = CreateObject("SQLXMLBulkLoad.SQLXMLBulkLoad.4.0")
 
	objBL.ConnectionString = "provider=SQLOLEDB;data source=servername;database=user;integrated security=SSPI" 
 
	objBL.KeepIdentity = false
	objBL.ErrorLogFile = "c:\error.xml"
	objBL.Execute schemaFile, inputFile
	set objBL = Nothing

Open in new window

0
Comment
Question by:dbbishop
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
ludo_friend earned 500 total points
ID: 24381590
hi -
SQLXML handles SQLXMLBulkLoad.SQLXMLBulkLoad.4.0
it is available in the sqlxml4.msi which can be found on a sql server 2005 cd under Servers\Setup (or tools\setup). I don't believe  SQLXML4 is available to download

0
 
LVL 15

Author Comment

by:dbbishop
ID: 24386066
Will this work with SQL Server 2000?
0
 
LVL 8

Expert Comment

by:ludo_friend
ID: 24390963
I'm not sure dbbishop - have you got a dev server set up that you can test this on?

 a quick google search turned up this - http://social.msdn.microsoft.com/Forums/en-US/sqlxml/thread/c81d2007-6083-4c1d-a8bb-36ee0c816cb4

they didn't really answer the guys question, but they didn't say it wasn't compatible either. I'd test it on a dev box first :)
0
 
LVL 15

Author Comment

by:dbbishop
ID: 24398967
Looks like it worked. Thanks.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

707 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