![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'm getting the following error on a win2k sp2 machine when I run my DTS package Step Error Source: Microsoft Data Transformation Services (DTS) Data Pump Step Error Description:The number of failing rows exceeds the maximum specified. (Microsoft Data Transformation Services (DTS) Data Pump (80020101): ActiveX Scripting Transform 'DTSTransformation__1' encountered a Run Time Error during the execution of the script.) Step Error code: 8004206A Step Error Help File:sqldts80.hlp Step Error Help Context ID:0 However when I run it on another box, win2k sp3, I get no errors at all. The execution fails always on the first row. I've removed a few rows and massaged the data but neither of these work. The dts fails always on the transformation which is from a flat file to a Sybase 11 datasource. The vbscript in the transformation parses ok and runs ok on the win2k sp3 box. Any help would be appreciated. |
#3
| |||
| |||
|
|
I've tracked the error message down to the following. I assign a dictionary object to a Global Variable as part of an ActiveX script step. As part of the transformation that's failing I assign the Global Dictionary object to a local variable i.e. one just dim'd in the transformation script. When I try and use the exists method on the local dictionary object I get the error message below. I've included some sample code from the Transformation. The vartype of myDc is 9 and the TypeName is Object. Dim myDc Set myDc = DTSGlobalVariables("Dictionary").value If myDc.Exists("SomeKey") Then 'Process row..... Else 'Skip row End If Can someone shed some light? danfromdublin (AT) yahoo (DOT) com (Dan) wrote in message news:<fc71ba4e.0408120750.1a46cbe7 (AT) posting (DOT) google.com>... Hi, I'm getting the following error on a win2k sp2 machine when I run my DTS package Step Error Source: Microsoft Data Transformation Services (DTS) Data Pump Step Error Description:The number of failing rows exceeds the maximum specified. (Microsoft Data Transformation Services (DTS) Data Pump (80020101): ActiveX Scripting Transform 'DTSTransformation__1' encountered a Run Time Error during the execution of the script.) Step Error code: 8004206A Step Error Help File:sqldts80.hlp Step Error Help Context ID:0 However when I run it on another box, win2k sp3, I get no errors at all. The execution fails always on the first row. I've removed a few rows and massaged the data but neither of these work. The dts fails always on the transformation which is from a flat file to a Sybase 11 datasource. The vbscript in the transformation parses ok and runs ok on the win2k sp3 box. Any help would be appreciated. |
#4
| |||
| |||
|
|
In message <fc71ba4e.0408121723.7b51285d (AT) posting (DOT) google.com>, Dan danfromdublin (AT) yahoo (DOT) com> writes I've tracked the error message down to the following. I assign a dictionary object to a Global Variable as part of an ActiveX script step. As part of the transformation that's failing I assign the Global Dictionary object to a local variable i.e. one just dim'd in the transformation script. When I try and use the exists method on the local dictionary object I get the error message below. I've included some sample code from the Transformation. The vartype of myDc is 9 and the TypeName is Object. Dim myDc Set myDc = DTSGlobalVariables("Dictionary").value If myDc.Exists("SomeKey") Then 'Process row..... Else 'Skip row End If Can someone shed some light? danfromdublin (AT) yahoo (DOT) com (Dan) wrote in message news:<fc71ba4e.0408120750.1a46cbe7 (AT) posting (DOT) google.com>... Hi, I'm getting the following error on a win2k sp2 machine when I run my DTS package Step Error Source: Microsoft Data Transformation Services (DTS) Data Pump Step Error Description:The number of failing rows exceeds the maximum specified. (Microsoft Data Transformation Services (DTS) Data Pump (80020101): ActiveX Scripting Transform 'DTSTransformation__1' encountered a Run Time Error during the execution of the script.) Step Error code: 8004206A Step Error Help File:sqldts80.hlp Step Error Help Context ID:0 However when I run it on another box, win2k sp3, I get no errors at all. The execution fails always on the first row. I've removed a few rows and massaged the data but neither of these work. The dts fails always on the transformation which is from a flat file to a Sybase 11 datasource. The vbscript in the transformation parses ok and runs ok on the win2k sp3 box. Any help would be appreciated. That looks like a scheduled package log output, so can you logon to the box itself, using the same account as SQL Server Agent and run the package manually to see if you can get a better error description from within Enterprise Manager? Try setting the ActiveX Script Task that creates the Dictionary object and the DataPump task that uses it to both execute on the main thread. (Right-click task, Workflow Properties, Options). |
![]() |
| Thread Tools | |
| Display Modes | |
| |