-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: bombastic27
Message 3 in Discussion


Hi Balaji,
   Thanks for ur help. When I try to 
execute this line
 
Call package.LoadFromSQLServer("SHAJU", 
"dreamuser", "empire", , , , , "AAA") 
 
where 'AAA' is the package name in xls format in my 
C drive.
 
I get the following error
 
Run-time error '-2147217900 (80040e14)'
The 
specified DTS Package ('Name='AAA'; ID.VersionID={[not specified]},{[not 
specified]}') does not exist.
 
Can u tell me what could be the problem?? I had 
added the Microsoft DTSPackage Object Library reference 
 
Thanks in Advance
 
Regards
Ramesh

  ----- Original Message ----- 
  From: 
  BalajiKrishnan 
  To: BDOTNET 
  Sent: Wednesday, December 03, 2003 1:33 
  PM
  Subject: Re: DTS
  

  
    
      
      New Message on BDOTNET
    
      

  DTS


    
      
      
        Reply

        
          
            
            
               
              Reply to Sender   Recommend 
              Message 2 in 
                Discussion 
      
        
          
            
            
              From: BalajiKrishnan 
            
              

                Hi Ramesh,
                 
                You can execute the DTS Package 
                by this method 
                 
                Dim package As New 
                DTS.package
Call package.LoadFromSQLServer(Server, UserName, 
                
Password, , , , , "DTSPackage Name")
Call 
                package.Execute
Set package = Nothing
                 
                One more method is using Stored 
                procedure 
                 
                Create a Stored procedure that 
                executes the DTS Package using DTSRun command and then execute 
                the SP from VB Application
                 
                Hope this will help 
                you,,,
                 
                Balaji
View other groups in this 
    category. 



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to