RE: SQL XML
From: mvp (mvp_at_discussions.microsoft.com)
Date: 02/04/05
- Next message: David Portas: "Re: Frequency distribution SQL statement"
- Previous message: Steve: "Re: Frequency distribution SQL statement"
- In reply to: Alejandro Mesa: "RE: SQL XML"
- Next in thread: Alejandro Mesa: "RE: SQL XML"
- Reply: Alejandro Mesa: "RE: SQL XML"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 4 Feb 2005 10:33:01 -0800
It is also not working.
Do i have to install anything additional to the sql server box.
Thanks
"Alejandro Mesa" wrote:
> Try,
>
> Set objXBulkLoad = CreateObject("SQLXMLBulkLoadLib.SQLXMLBulkLoad")
>
>
> AMB
>
>
> "mvp" wrote:
>
> > Hi Mike,
> > yes i tried it, still doesnt work same error.
> >
> > Activex component can not create.
> >
> > pls let me know,
> > thx
> >
> >
> >
> > "Mike Epprecht (SQL MVP)" wrote:
> >
> > > Hi
> > >
> > > Have you tried not specifying the object version?
> > >
> > > Set objXMLBulkLoad = CreateObject("SQLXMLBulkLoad.SQLXMLBulkLoad")
> > >
> > > Regards
> > > Mike
> > >
> > >
> > > "mvp" wrote:
> > >
> > > > Hello,
> > > > I am trying to load bulk xml into database table using
> > > > following ActiveX script in DTS package
> > > >
> > > > Function Main()
> > > >
> > > > Dim objXBulkLoad
> > > > Set objXBulkLoad = CreateObject("SQLXMLBulkLoad.SQLXMLBulkLoad.3.0")
> > > >
> > > > objXBulkLoad.ConnectionString = "provider=SQLOLEDB.1;data
> > > > source=usmeadmterptdev;database=GTEReporting;uid=pathami1;pwd=pathami1"
> > > >
> > > > 'objXBulkLoad.KeepIdentity = False
> > > >
> > > > 'Optional Settings
> > > > objXBulkLoad.ErrorLogFile = "c:\temp\Timeheader.LOG"
> > > >
> > > >
> > > > 'Executing the bulk-load
> > > > objXBulkLoad.Execute "c:\temp\xml\TimeHeader.xsd",
> > > > "c:\temp\xml\TimeHeader.xml"
> > > >
> > > > set objXBulkLoad = Nothing
> > > >
> > > > Main = DTSTaskExecResult_Success
> > > >
> > > >
> > > > End Function
> > > >
> > > > and it doesnt work. it throws that
> > > > Activex component can not create.
> > > >
> > > > Pls help me, do i need to install anything on the server where my sql server
> > > > is installed.
> > > >
> > > > thanks
> > > >
> > > >
> > > >
> > > > Expand AllCollapse All
> > > >
- Next message: David Portas: "Re: Frequency distribution SQL statement"
- Previous message: Steve: "Re: Frequency distribution SQL statement"
- In reply to: Alejandro Mesa: "RE: SQL XML"
- Next in thread: Alejandro Mesa: "RE: SQL XML"
- Reply: Alejandro Mesa: "RE: SQL XML"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|