dbTalk Databases Forums  

ActiveX task hangs in DTS

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


Discuss ActiveX task hangs in DTS in the microsoft.public.sqlserver.dts forum.



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

Default ActiveX task hangs in DTS - 05-09-2005 , 02:12 PM






Hi......

For some reason everytime I run a DTS package with an ActiveX Script
Task it hangs. So I tried to create a test package with only an ActiveX
Script Task and it still hangs. The code in the task does only 2 things
(for testing), reads a variable and assigns a number to it. I tried
rebooting and it didnt help.
The only way to stop the package once it hangs is to
select ctrl + alt + del and to kill the task. I've let the package run
for over an hour and it was still hanging.


any ideas???

thank you
sam


Reply With Quote
  #2  
Old   
Jim Vierra
 
Posts: n/a

Default Re: ActiveX task hangs in DTS - 05-09-2005 , 03:05 PM






Probably throwing an exception.

--
Jim Vierra

"Sam123" <thesnakepath (AT) yahoo (DOT) com> wrote

Quote:
Hi......

For some reason everytime I run a DTS package with an ActiveX Script
Task it hangs. So I tried to create a test package with only an ActiveX
Script Task and it still hangs. The code in the task does only 2 things
(for testing), reads a variable and assigns a number to it. I tried
rebooting and it didnt help.
The only way to stop the package once it hangs is to
select ctrl + alt + del and to kill the task. I've let the package run
for over an hour and it was still hanging.


any ideas???

thank you
sam




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

Default Re: ActiveX task hangs in DTS - 05-09-2005 , 03:05 PM



It hangs when you manually execute it?

Can we see the script?

Which version of SQL Server and what service pack?

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"Sam123" <thesnakepath (AT) yahoo (DOT) com> wrote

Quote:
Hi......

For some reason everytime I run a DTS package with an ActiveX Script
Task it hangs. So I tried to create a test package with only an ActiveX
Script Task and it still hangs. The code in the task does only 2 things
(for testing), reads a variable and assigns a number to it. I tried
rebooting and it didnt help.
The only way to stop the package once it hangs is to
select ctrl + alt + del and to kill the task. I've let the package run
for over an hour and it was still hanging.


any ideas???

thank you
sam




Reply With Quote
  #4  
Old   
Sam123
 
Posts: n/a

Default Re: ActiveX task hangs in DTS - 05-13-2005 , 02:20 PM



Hi......

yes, it hangs when its executed manually and if scheduled.

Version is SQl server 2000
service pack: 3

the script is simple, see below:

Function Main()

dim x
dim y

x=5
y=8

Main = DTSTaskExecResult_Success

End Function


Allan Mitchell wrote:
Quote:
It hangs when you manually execute it?

Can we see the script?

Which version of SQL Server and what service pack?

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"Sam123" <thesnakepath (AT) yahoo (DOT) com> wrote

Hi......

For some reason everytime I run a DTS package with an ActiveX
Script
Task it hangs. So I tried to create a test package with only an
ActiveX
Script Task and it still hangs. The code in the task does only 2
things
(for testing), reads a variable and assigns a number to it. I tried
rebooting and it didnt help.
The only way to stop the package once it hangs is to
select ctrl + alt + del and to kill the task. I've let the package
run
for over an hour and it was still hanging.


any ideas???

thank you
sam



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

Default Re: ActiveX task hangs in DTS - 05-13-2005 , 06:28 PM



I am running SQL 2000 SP4 and this runs fine there.

It is strange it does not complete for you though




"Sam123" <thesnakepath (AT) yahoo (DOT) com> wrote


Quote:
Hi......

yes, it hangs when its executed manually and if scheduled.

Version is SQl server 2000
service pack: 3

the script is simple, see below:

Function Main()

dim x
dim y

x=5
y=8

Main = DTSTaskExecResult_Success

End Function


Allan Mitchell wrote:
It hangs when you manually execute it?

Can we see the script?

Which version of SQL Server and what service pack?

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"Sam123" <thesnakepath (AT) yahoo (DOT) com> wrote in message
news:1115665940.667260.151550 (AT) z14g2000cwz (DOT) googlegroups.com...
Hi......

For some reason everytime I run a DTS package with an ActiveX
Script
Task it hangs. So I tried to create a test package with only an
ActiveX
Script Task and it still hangs. The code in the task does only 2
things
(for testing), reads a variable and assigns a number to it. I tried
rebooting and it didnt help.
The only way to stop the package once it hangs is to
select ctrl + alt + del and to kill the task. I've let the package
run
for over an hour and it was still hanging.


any ideas???

thank you
sam



Reply With Quote
  #6  
Old   
Mike Gercevich via SQLMonster.com
 
Posts: n/a

Default Re: ActiveX task hangs in DTS - 05-13-2005 , 09:41 PM



add a ...
MsgBox "Package Done!"

statement prior to your "Main=...." line.
enable logging to a server located .txt file.

Make sure you do not have a Workflow script on the Step, this gets executed
prior to the Task!

reattempt to execute the package from the Designer GUI.
(make certain that the step is defined to actually execute)

This should give you a better clue as to if the task is executing properly.

-Mike Gercevich

--
Message posted via http://www.sqlmonster.com

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.