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("S QLXMLBulkLoad.S QLXMLBulkLoad.2 .0")
objBL.Connectio nString ="provider=SQLO LEDB.1;data
source=devpc1;d atabase=Winterg reen;integrated security=true;"
objBL.ErrorLogF ile = "c:\error.l og"
objBL.Execute "c:\customermap ping.xml", "c:\customers.x ml"
Set objBL = Nothing
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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("S QLXMLBulkLoad.S QLXMLBulkLoad.2 .0")
objBL.Connectio nString ="provider=SQLO LEDB.1;data
source=devpc1;d atabase=Winterg reen;integrated security=true;"
objBL.ErrorLogF ile = "c:\error.l og"
objBL.Execute "c:\customermap ping.xml", "c:\customers.x ml"
Set objBL = Nothing
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Comment