dbTalk Databases Forums  

SYSTEM Hangs when executing DTS package from Vb 6.0

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


Discuss SYSTEM Hangs when executing DTS package from Vb 6.0 in the microsoft.public.sqlserver.dts forum.



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

Default SYSTEM Hangs when executing DTS package from Vb 6.0 - 01-13-2004 , 08:14 AM






Hi All,

I am trying to load a text file into sql server table
using DTS package saved as vb module.This executes fine
for the first time when it is created , but any attempt to
run again hangs the system.

any clues why it is happening so?

I am using sql server 8.0 and vb 6.0.
Same package runs fine when manually executed at sql
server enterprise manager.

Thanks in advance.
sudha


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

Default Re: SYSTEM Hangs when executing DTS package from Vb 6.0 - 01-13-2004 , 09:04 AM






Are there any locks on resources?
Database | text file.

Maybe the connection is being kept open. (in Workflow Properties for the
connection set "Close Connection on Completion")

What is contained in the package ?


--

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

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"sudha" <s_sudha (AT) yahoo (DOT) com> wrote

Quote:
Hi All,

I am trying to load a text file into sql server table
using DTS package saved as vb module.This executes fine
for the first time when it is created , but any attempt to
run again hangs the system.

any clues why it is happening so?

I am using sql server 8.0 and vb 6.0.
Same package runs fine when manually executed at sql
server enterprise manager.

Thanks in advance.
sudha




Reply With Quote
  #3  
Old   
sudha
 
Posts: n/a

Default Re: SYSTEM Hangs when executing DTS package from Vb 6.0 - 01-13-2004 , 09:21 AM




Hi Allan,

There are no locks on the resources,I created the package
and saved it as VB file and then trying to execute it from
vb.Connections are closed and set to nothing after first
run.DO i need to close any other connections opened for
other transactions from application before executing this??

Thanks for response.
Quote:
-----Original Message-----
Are there any locks on resources?
Database | text file.

Maybe the connection is being kept open. (in Workflow
Properties for the
connection set "Close Connection on Completion")

What is contained in the package ?


--

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

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"sudha" <s_sudha (AT) yahoo (DOT) com> wrote in message
news:0d8701c3d9df$8f1aab90$a101280a (AT) phx (DOT) gbl...
Hi All,

I am trying to load a text file into sql server table
using DTS package saved as vb module.This executes fine
for the first time when it is created , but any attempt
to
run again hangs the system.

any clues why it is happening so?

I am using sql server 8.0 and vb 6.0.
Same package runs fine when manually executed at sql
server enterprise manager.

Thanks in advance.
sudha



.


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

Default Re: SYSTEM Hangs when executing DTS package from Vb 6.0 - 01-13-2004 , 09:32 AM



If the package always works the first time and then you execute immediately
afterwards and it hangs it suggests to me that something is being Queued.


--

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

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"sudha" <s_sudha (AT) yahoo (DOT) com> wrote

Quote:
Hi Allan,

There are no locks on the resources,I created the package
and saved it as VB file and then trying to execute it from
vb.Connections are closed and set to nothing after first
run.DO i need to close any other connections opened for
other transactions from application before executing this??

Thanks for response.
-----Original Message-----
Are there any locks on resources?
Database | text file.

Maybe the connection is being kept open. (in Workflow
Properties for the
connection set "Close Connection on Completion")

What is contained in the package ?


--

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

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"sudha" <s_sudha (AT) yahoo (DOT) com> wrote in message
news:0d8701c3d9df$8f1aab90$a101280a (AT) phx (DOT) gbl...
Hi All,

I am trying to load a text file into sql server table
using DTS package saved as vb module.This executes fine
for the first time when it is created , but any attempt
to
run again hangs the system.

any clues why it is happening so?

I am using sql server 8.0 and vb 6.0.
Same package runs fine when manually executed at sql
server enterprise manager.

Thanks in advance.
sudha



.




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.