dbTalk Databases Forums  

Connection

microsoft.public.sqlserver.xml microsoft.public.sqlserver.xml


Discuss Connection in the microsoft.public.sqlserver.xml forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
anonymous
 
Posts: n/a

Default Connection - 01-06-2004 , 01:35 PM






I have the folliwing connection to SQL in .vbs
When I run this code I get this error:
ActiveX component can't create object :
'SQLXMLBulkLoad.SQLXMLBulkLoad'
Any idea why?

Set objBL = CreateObject("SQLXMLBulkLoad.SQLXMLBulkLoad")
objBL.ConnectionString = "provider=SQLOLEDB.1;data
source=BSARDAK;database=MyDatabase"
objBL.ErrorLogFile = "c:\error.log"
objBL.Execute "c:\customermapping.xml", "c:\customers.xml"
Set objBL = Nothing

Reply With Quote
  #2  
Old   
Bryant Likes
 
Posts: n/a

Default Re: Connection - 01-07-2004 , 09:42 AM






"anonymous" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have the folliwing connection to SQL in .vbs
When I run this code I get this error:
ActiveX component can't create object :
'SQLXMLBulkLoad.SQLXMLBulkLoad'
Any idea why?
If you have SQLXML 3.0 sp2 installed, then try:
CreateObject("SQLXMLBulkLoad.SQLXMLBulkLoad.2.0")

--
Bryant




Reply With Quote
  #3  
Old   
anonymous
 
Posts: n/a

Default Re: Connection - 01-07-2004 , 01:23 PM



I have XML spy installed.
Still not working using your connection string.
Quote:
-----Original Message-----
"anonymous" <anonymous (AT) discussions (DOT) microsoft.com> wrote
in message
news:00d401c3d48c$42bedb20$a601280a (AT) phx (DOT) gbl...
I have the folliwing connection to SQL in .vbs
When I run this code I get this error:
ActiveX component can't create object :
'SQLXMLBulkLoad.SQLXMLBulkLoad'
Any idea why?

If you have SQLXML 3.0 sp2 installed, then try:
CreateObject("SQLXMLBulkLoad.SQLXMLBulkLoad.2.0")

--
Bryant


.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.