Hi,
I'm trying to test a SQL XML Bulk Load routine with SQL Server 2008 R2 installed on Server 2008 R2. I'm receiving the below error when running my script.
The code in my vbs script is as follows (with personal details altered).
Set objBL = CreateObject("SQLXMLBulkLoad.SQLXMLBulkLoad.4.0") objBL.ConnectionString = "provider=SQLOLEDB.1;data source=servername\instance;database=MyDatabase;User id=domain\username;Password=PASSWORD" objBL.ErrorLogFile = "c:\error.log" objBL.Execute "c:\customermapping.xml", "c:\customers.xml" Set objBL = Nothing
I thought I had the connection string right, could anybody comment on why I might be receiving this error?
Many Thanks,
James
James Bratley