dbTalk Databases Forums  

ERROR: "Defining precedence between the selected items is not valid"

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


Discuss ERROR: "Defining precedence between the selected items is not valid" in the microsoft.public.sqlserver.dts forum.



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

Default ERROR: "Defining precedence between the selected items is not valid" - 02-23-2006 , 12:13 PM






Hello All,

I'm trying to go from a Dynamic Properties Task (or an ActiveX Script
Task) to an MS Excel 97-2000 Connection in a DTS Package. It doesn't
matter what I use: On Completion, On Success, or On Failure. I
continue to get the error message listed in the Subject line of this
post. Is there any way around this?

My package starts of with an ActiveX Script Task setting the global
variable used for the file name to empty quotes (for use in the next
step if I click cancel). Then I go to an Open File Dialog Task
(downloaded from SQLDTS.com) to select a file. Then on to one of the
2 tasks listed above. The Dynamic Properties task sets the file name
for the MS Excel connection with the global variable. The ActiveX
Script task first tests the file name global variable to see if it is
"" and fails the task if it is (and the whole package stops executing
if it is). If it actually has a file name in there, it will cut out
part of the file name and store it in a Date global variable and then
succeeds the task. And then on to the MS Excel connection. But it
doesn't look like I can get to the Excel connection from either of
these two tasks.

Any help on this matter will be greatly appreciated,

Conan Kelly



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: ERROR: "Defining precedence between the selected items is not valid" - 02-25-2006 , 02:26 PM






Hello Conan Kelly" CTBarbarin at msn dot com,

You do not go from Task to connection, you go from task to task in the workflow.
Is the Excel connection part of a task or just stood by itself?


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
Hello All,

I'm trying to go from a Dynamic Properties Task (or an ActiveX Script
Task) to an MS Excel 97-2000 Connection in a DTS Package. It doesn't
matter what I use: On Completion, On Success, or On Failure. I
continue to get the error message listed in the Subject line of this
post. Is there any way around this?

My package starts of with an ActiveX Script Task setting the global
variable used for the file name to empty quotes (for use in the next
step if I click cancel). Then I go to an Open File Dialog Task
(downloaded from SQLDTS.com) to select a file. Then on to one of the
2 tasks listed above. The Dynamic Properties task sets the file name
for the MS Excel connection with the global variable. The ActiveX
Script task first tests the file name global variable to see if it is
"" and fails the task if it is (and the whole package stops executing
if it is). If it actually has a file name in there, it will cut out
part of the file name and store it in a Date global variable and then
succeeds the task. And then on to the MS Excel connection. But it
doesn't look like I can get to the Excel connection from either of
these two tasks.

Any help on this matter will be greatly appreciated,

Conan Kelly




Reply With Quote
  #3  
Old   
Conan Kelly
 
Posts: n/a

Default Re: ERROR: "Defining precedence between the selected items is not valid" - 03-02-2006 , 01:46 PM



I figured it out.

I was trying to from my Dyn. Prop/ActiveX Scr. Task to my Excel Connection without yet having a Trans. Data Task between my Excel
connection and my destination connection.

Thanks for all the help


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
Hello Conan Kelly" CTBarbarin at msn dot com,

You do not go from Task to connection, you go from task to task in the workflow. Is the Excel connection part of a task or just
stood by itself?


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Hello All,

I'm trying to go from a Dynamic Properties Task (or an ActiveX Script
Task) to an MS Excel 97-2000 Connection in a DTS Package. It doesn't
matter what I use: On Completion, On Success, or On Failure. I
continue to get the error message listed in the Subject line of this
post. Is there any way around this?

My package starts of with an ActiveX Script Task setting the global
variable used for the file name to empty quotes (for use in the next
step if I click cancel). Then I go to an Open File Dialog Task
(downloaded from SQLDTS.com) to select a file. Then on to one of the
2 tasks listed above. The Dynamic Properties task sets the file name
for the MS Excel connection with the global variable. The ActiveX
Script task first tests the file name global variable to see if it is
"" and fails the task if it is (and the whole package stops executing
if it is). If it actually has a file name in there, it will cut out
part of the file name and store it in a Date global variable and then
succeeds the task. And then on to the MS Excel connection. But it
doesn't look like I can get to the Excel connection from either of
these two tasks.

Any help on this matter will be greatly appreciated,

Conan Kelly






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.