dbTalk Databases Forums  

EXCEPTION_ACCESS_VIOLATION error when trying to run a custom task in DTS

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


Discuss EXCEPTION_ACCESS_VIOLATION error when trying to run a custom task in DTS in the microsoft.public.sqlserver.dts forum.



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

Default EXCEPTION_ACCESS_VIOLATION error when trying to run a custom task in DTS - 09-18-2003 , 01:26 PM






I have a DTS package I am trying to build that contains 2 tasks and a
workflow. The first task is a Dynamic Properties Task that takes the values
of global variables and places them in the properties of the custom task.
The workflow simply runs the custom task if the Dynamic Properties Task
succedes. The problem that I have is that when I run the package via
DTSRUN, I get the following output:

DTSRUN /Spsc1204 /NSubmitCPRRequest /E /ADBName:8=NITSSDEV
/ADBServerName:8=psc1204 /APPDID:8="N01-05532"

DTSRun: Loading...
DTSRun: Executing...
DTSRun OnStart: DTSStep_DTSDynamicPropertiesTask_1
DTSRun OnError: DTSStep_DTSDynamicPropertiesTask_1, Error = -2147221499
(80040005)
Error string: Code execution exception: EXCEPTION_ACCESS_VIOLATION
Error source: Microsoft Data Transformation Services (DTS) Package
Help file: sqldts80.hlp
Help context: 1100

Error Detail Records:

Error: -2147221499 (80040005); Provider Error: 0 (0)
Error string: Code execution exception: EXCEPTION_ACCESS_VIOLATION
Error source: Microsoft Data Transformation Services (DTS) Package
Help file: sqldts80.hlp
Help context: 1100

DTSRun OnFinish: DTSStep_DTSDynamicPropertiesTask_1
DTSRun: Package execution complete.



The custom package is a DLL I have created in VB6. I am running SQL Server
2000 SP2.

Does anyone have any suggestions as to how to fix this?

TIA
Ron Lounsbury



Reply With Quote
  #2  
Old   
Aaron Bertrand - MVP
 
Posts: n/a

Default Re: EXCEPTION_ACCESS_VIOLATION error when trying to run a custom task in DTS - 09-18-2003 , 01:36 PM






This URL points to about 24 threads in Google that involve DTS and this
error message on SQL Server 2000 SP3. Maybe you can regurgitate some help
from there?
http://tinyurl.com/nuhq




"Ron Lounsbury" <rlounsbury AT Progeny DOT net> wrote

Quote:
I have a DTS package I am trying to build that contains 2 tasks and a
workflow. The first task is a Dynamic Properties Task that takes the
values
of global variables and places them in the properties of the custom task.
The workflow simply runs the custom task if the Dynamic Properties Task
succedes. The problem that I have is that when I run the package via
DTSRUN, I get the following output:

DTSRUN /Spsc1204 /NSubmitCPRRequest /E /ADBName:8=NITSSDEV
/ADBServerName:8=psc1204 /APPDID:8="N01-05532"

DTSRun: Loading...
DTSRun: Executing...
DTSRun OnStart: DTSStep_DTSDynamicPropertiesTask_1
DTSRun OnError: DTSStep_DTSDynamicPropertiesTask_1, Error = -2147221499
(80040005)
Error string: Code execution exception: EXCEPTION_ACCESS_VIOLATION
Error source: Microsoft Data Transformation Services (DTS) Package
Help file: sqldts80.hlp
Help context: 1100

Error Detail Records:

Error: -2147221499 (80040005); Provider Error: 0 (0)
Error string: Code execution exception: EXCEPTION_ACCESS_VIOLATION
Error source: Microsoft Data Transformation Services (DTS) Package
Help file: sqldts80.hlp
Help context: 1100

DTSRun OnFinish: DTSStep_DTSDynamicPropertiesTask_1
DTSRun: Package execution complete.



The custom package is a DLL I have created in VB6. I am running SQL
Server
2000 SP2.

Does anyone have any suggestions as to how to fix this?

TIA
Ron Lounsbury





Reply With Quote
  #3  
Old   
Ron Lounsbury
 
Posts: n/a

Default Re: EXCEPTION_ACCESS_VIOLATION error when trying to run a custom task in DTS - 09-18-2003 , 02:13 PM



Aaron
Thanks for the reply. It turned out that I needed the "Execute on main
package thread" checkbox checked on BOTH tasks, not just on the custom task.
That seems to have taken care of it.

Ron Lounsbury


"Aaron Bertrand - MVP" <aaron (AT) TRASHaspfaq (DOT) com> wrote

Quote:
This URL points to about 24 threads in Google that involve DTS and this
error message on SQL Server 2000 SP3. Maybe you can regurgitate some help
from there?
http://tinyurl.com/nuhq




"Ron Lounsbury" <rlounsbury AT Progeny DOT net> wrote in message
news:OPRnmJhfDHA.3024 (AT) tk2msftngp13 (DOT) phx.gbl...
I have a DTS package I am trying to build that contains 2 tasks and a
workflow. The first task is a Dynamic Properties Task that takes the
values
of global variables and places them in the properties of the custom
task.
The workflow simply runs the custom task if the Dynamic Properties Task
succedes. The problem that I have is that when I run the package via
DTSRUN, I get the following output:

DTSRUN /Spsc1204 /NSubmitCPRRequest /E /ADBName:8=NITSSDEV
/ADBServerName:8=psc1204 /APPDID:8="N01-05532"

DTSRun: Loading...
DTSRun: Executing...
DTSRun OnStart: DTSStep_DTSDynamicPropertiesTask_1
DTSRun OnError: DTSStep_DTSDynamicPropertiesTask_1, Error = -2147221499
(80040005)
Error string: Code execution exception: EXCEPTION_ACCESS_VIOLATION
Error source: Microsoft Data Transformation Services (DTS) Package
Help file: sqldts80.hlp
Help context: 1100

Error Detail Records:

Error: -2147221499 (80040005); Provider Error: 0 (0)
Error string: Code execution exception: EXCEPTION_ACCESS_VIOLATION
Error source: Microsoft Data Transformation Services (DTS) Package
Help file: sqldts80.hlp
Help context: 1100

DTSRun OnFinish: DTSStep_DTSDynamicPropertiesTask_1
DTSRun: Package execution complete.



The custom package is a DLL I have created in VB6. I am running SQL
Server
2000 SP2.

Does anyone have any suggestions as to how to fix this?

TIA
Ron Lounsbury







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.