dbTalk Databases Forums  

Could not obtain a DataReader object from the specified data flow

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Could not obtain a DataReader object from the specified data flow in the microsoft.public.sqlserver.dts forum.



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

Default Could not obtain a DataReader object from the specified data flow - 03-02-2006 , 11:00 AM






I have a package saved in SQL server on my machine. It is one source dataflow
component(select..) and one datareader destination.
in a commandprompt I can execute with dtexec, everything goes OK.
When I try to run in VB (same machine) with dtsclient.dtsconnection
/dtscommand as
found in examples for retrieving from datareader, I get message
"Could not obtain a DataReader object from the specified data flow component."
I am logged in as a sysadmin and run with integrated security in the machine.

From a Windows application on an client machine (not an SQL server client) I
want to start a package execution on a remote server (SQL server hotel) and
get the result back in a datareader.
Is this the correct way to do so?
--
r-m

Reply With Quote
  #2  
Old   
rosie
 
Posts: n/a

Default RE: Could not obtain a DataReader object from the specified data flow - 03-03-2006 , 05:47 AM






Solved the problem, of some reason DelayValidation was set to True, when I
changed to false, everything worked OK.
Would still like an answer to my last question, if you can use dtsclient
assembly to call a package stored in a remote SQL server. How do you specify
the connection to
that SQL server then?
--
r-m


"rosie" wrote:

Quote:
I have a package saved in SQL server on my machine. It is one source dataflow
component(select..) and one datareader destination.
in a commandprompt I can execute with dtexec, everything goes OK.
When I try to run in VB (same machine) with dtsclient.dtsconnection
/dtscommand as
found in examples for retrieving from datareader, I get message
"Could not obtain a DataReader object from the specified data flow component."
I am logged in as a sysadmin and run with integrated security in the machine.

From a Windows application on an client machine (not an SQL server client) I
want to start a package execution on a remote server (SQL server hotel) and
get the result back in a datareader.
Is this the correct way to do so?
--
r-m

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 - 2012, Jelsoft Enterprises Ltd.