MS SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMS SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old May 6th, 2004, 01:55 PM
LethysVBer LethysVBer is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 22 LethysVBer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 34 sec
Reputation Power: 0
DTS GetExecutionErrorInfo typemismatch

Hi All,

I think this is the correcty forum for this problem:


I'm trying to use vbscript to control DTS. I started with the vb code generated by saving the basic DTS package I need and inserted ito my vb. I had to sort various problems out but I've got to the point where I am completely bogged down by the following problem.

When I test the steps after execution for problems using the following line of code, I get a type mismatch error.

oPackage.Steps(i).GetExecutionErrorInfo ErrorCode, _ ErrorSource, ErrorDescription, ErrorHelpFile, _ ErrorHelpContext, ErrorIDofInterfaceWithError



I've got option explicit set, I've dim'd all the variables listed. I've tried forcing the variables to be initialised by setting errorcode=0 (and -1 ) and each of the string variables to "." all to no avail.

If I do a check on oPackage.steps.count it gives a value rather than an error so it doesn't look like that is the problem.

If I call the routine with the first parameter only without brackets I get the same error. If I use brackets I don't get an error but it doesn't return a value.

HELP!!!!!

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMS SQL Development > DTS GetExecutionErrorInfo typemismatch


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway