I'm trying to load XML to SQL SERVER
But after executing the *.*vbs code below i get the error:-
ActiveX can't create object :- SQLXMLBUlkLoad.
Why?
Am i misssing something!
** And what are the best ways to do this..can anybody forward me samples
in .NET!!
Set objBL = CreateObject("SQLXMLBulkLoad.SQLXMLBulkLoad.2.0")
objBL.ConnectionString ="provider=SQLOLEDB.1;data
source=devpc1;database=Wintergreen;integrated security=true;"
objBL.ErrorLogFile = "c:\error.log"
objBL.Execute "c:\customermapping.xml", "c:\customers.xml"
Set objBL = Nothing
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!