Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007


all groups > sql server dts > september 2005 > threads for september 22 - 28, 2005

Filter by week: 1 2 3 4 5

Data Source connection fail
Posted by Felix_Jiang at 9/28/2005 8:27:02 PM
Hey guys, I encountered a problem recently while working in DTS. I am trying to connect to a remote SQL Server over network. What I did is as below: 1. In "SQL Server Client Network Utility", and in Alias tab I created a server alias with remote SQL Server IP address and port con...more >>

DTS runs when Manually launched but fails when Job launches it
Posted by Jim Abel at 9/28/2005 1:17:03 PM
Can you provide suggestions of how to troubleshoot a DTS Package that when I launch it runs sucessfully but when it is launched from a scheduled job it fails. This package is a very simple one that clears a table, then copies data from an Oracle view into the table cleared in the previous ste...more >>

DTS Transaction
Posted by Leo Quezada at 9/28/2005 12:52:03 PM
Hi, I have Windows Server 2003 Enterprise and SQL 2000, when i executed my DTS package i receive this error: Beginning of Package Transaction failed when executing Step 'DTSStep_DTSDataPumpTask_1'.A connection with the transaction manager was lost. Whitin the Package Properties I use ...more >>

DTS Error
Posted by XXX at 9/28/2005 12:16:26 PM
I have a DTS package which copies rows from 150 tables using Union ALL. Around 30 million rows are involved. However package fails after 8.6 million ros with the error Error at Source for Row number 8697091. Cannot convert nvarchar value of (NULL) to tinyint. Errors encountered so far in this...more >>

DTS Select and global variables / parameters
Posted by bnhcomputing at 9/28/2005 12:06:02 PM
I have a DTS package. The select for one of the transform data tasks look like: SELECT * FROM UDF1('1/1/2005','12/31/2009') right now the dates are hard coded. Is there a way to pass parameters to the DTS package to change the dates? Can I use DTS global variables? Any other ideas ...more >>

DTS Workflow on fail (fails)
Posted by bnhcomputing at 9/28/2005 12:00:01 PM
I have developed a DTS package. The package consists of several active X script tasks, and several transform data tasks. When all the task suceed, it works great. However, If I return _failure from one of the active X scripts, execution stops. The failure workflow path in NOT followed. ...more >>

DTS RUN.EXE APPLICATION ERROR
Posted by ASWANI KUMAR .J at 9/28/2005 8:42:06 AM
We have 2 jobs which will call the different procedures,this procedures will call different DTS Packages.These packages will get the data from LOTUS NOTES database.From the past 10 days we are getting an error DTSRUN.EXE-APPLICATION ERROR.THE MEMORY CANNOT BE READ....more >>

Permission Denied on CopyFile
Posted by BG at 9/28/2005 8:02:45 AM
I am trying to use an ActiveX script in DTS to copy a file from one drive to another. Both drives are on the same server as my instance of SQL2000. No matter how I run the script (Enterprise Manager, or job) from either my workstation or logged on to the server, I get the same error: Error...more >>



unknown (changing) column names in DTSSource
Posted by swasheck NO[at]SPAM gmail.com at 9/28/2005 7:27:56 AM
I was wondering if it is possible to do something like this: Dim ColName = "username" Dim SomeVar SomeVar = DTSSource(ColName) Does anyone know if it is? Thanks in advance for your help. ...more >>

bcp native format file from DTS
Posted by Soma at 9/28/2005 6:40:07 AM
Hi All, We have a task of generating flat files (.dat) with bcp native fromat by using DTS. we have OLTP tables, by applying business rules we have to create flat files, which are suppose to be in bcp native format. Can any one suggest how can we do this. ? Many thanks. Soma...more >>

DTS Package won't execute when Scheduled as a Job
Posted by Jeff Booth via SQLMonster.com at 9/27/2005 10:13:41 PM
I have created a DTS package that is made up of one ActiveX script that opens a .NET web page and generates a variety of reports, converts them to PDF and copies them to certain locations in our network. If I execute this DTS package manually everything works perfectly. Although when I go to sc...more >>

How Do You Explicitly Close a DTS Connection in VB.NET?
Posted by Anonymous at 9/27/2005 5:04:04 PM
In my scenario, I have a VB.NET class that runs a DTS package. This code has worked for years, but under heavy stress I am seemingly running out of connections from the connection pool. This leads me to believe that the connections being used by the DTS package are not being freed up properly ...more >>

DTS - Soruce EXCEL
Posted by Swami at 9/27/2005 4:37:01 PM
I am trying to import data from a excel sheet, for that created a DTS package and running the package through a scheduler. Initailly the file got 3 records and alter added 5 more rows to the sheet. Every time scheduler runs and populating old 3 records only and I am not seeing the new 5 row...more >>

Can't get destination column list for destination files
Posted by Eric at 9/27/2005 3:01:07 PM
I try to export a table with 86 columns to a coma delimited file but when trying to define the destination columns in the Transform Data Task Properties dialog box when clicking on define columns button SQL server crash a close immediatly. Why does this operation crash and how is it possible to ...more >>

Save as Meta Data Services impossible
Posted by Eric at 9/27/2005 2:52:16 PM
I try to save a simple data transform task from a table to a file to Meta Data services but this option is not available . I can only save to :SQL Server, Visual Basic File or Stuctured Storage File. Why is this option not available? Thank you in advance for any help on the subject Eric ...more >>

windows logged on username
Posted by Andre at 9/27/2005 1:58:51 PM
SQL 2k sp4 As part of a DTS package, I want to use the name of the currently logged on Windows user to populate a UserName field in my table. Can anyone tell me how I can do this - get the name of the currently logged on user? I'm figuring it can be done in an ActiveX step but don't know ...more >>

Can I have multiple Data Transform Task to the same Destination Ta
Posted by James Ma at 9/27/2005 1:44:02 PM
Hi, Now I am using multiple Data Transform Task to BULK INSERT to the same destination table at the same time. The aim is to boost performance and I found it pretty good. Do you know if there is any risk in doing that? Thanks in advance James...more >>

Deallocate Global Variable ADO RecordSet?
Posted by Wm. Scott Miller at 9/27/2005 10:53:19 AM
Hello all: I have an ActiveX Script Task that runs some code and builds an ADOR.RecordSet object and then assigns it to a global variable. The recordset is used through the rest of the package (its a loop). What I'd like to know is "Do I have to deallocate this global variable recordset o...more >>

import from excel, rounded numbers
Posted by n_o_s_p_a__m NO[at]SPAM mail.com at 9/27/2005 10:01:39 AM
This is probably a common problem, but I failed to find the answer on the Internet. I am trying to import the Excel-formatted (rounded to 1 decimal place) value of a number in a Worksheet into a decimal column. When it imports, I get the unrounded value. How do I tell DTS to import the rounde...more >>

DTSRun works at command line but not from script--help
Posted by cfreitag at 9/27/2005 9:35:02 AM
I am attempting to run a DTS package from a SQL script. When I run this: EXEC master.dbo.xp_cmdshell 'DTSRun.exe /S <mylocalserver> /E /N "PM DWH Master" /A @RunDate:7=10/10/2005' I get this error: Error string: Login failed for user '(null)'. Reason: Not associated with a trusted SQL...more >>

Workflow and Precedence for Transform Data Tasks?
Posted by mariestock123 NO[at]SPAM yahoo.com at 9/26/2005 11:51:48 PM
Hi, I'm trying to create a simple DTS package in SQL Server 2000 using Enterprise Manager .... I've 2 DB connections and multiple Transform Data Tasks (i.e. gray arrows) between them. I was wondering how I can control the order of the Transform Data Tasks (i.e. to have Transform Data T...more >>

several steps in a dts package
Posted by Wendy Elizabeth at 9/26/2005 4:42:01 PM
I just started a position where a person at this company submits file pulls from different sql server 2000 databases in lots of ways. This person does not have anything setup in steps like using a dts package. Thus I have the following questions about setting up DTS packages: 1. Can a dts p...more >>

Tracking down a memory leak
Posted by Griff at 9/26/2005 11:28:04 AM
We have a DTS package (VBScript) that contains an iterative loop. Within this loop, it will instantiate a DLL (VB6), call a method on this DLL and then set the instance to nothing. Within the DLL I have studiously tidied up all the in-memory objects; disconnected recordsets are closed and ...more >>

Connection to Data Source fails in Job
Posted by Jim Abel at 9/26/2005 9:01:03 AM
i I have set up a DTS job that pulls data from an Oracle Database It has worked for more than a year using the Oracle 8i Clients and and the Microsoft OLE DB Provider for Oracle. I installed the Oracle 9i Client and tested the DTS and it worked. I then removed the Oracle 8i Client and test ...more >>

DTS Export Numeric Data to Excel as Numeric Data
Posted by bnhcomputing at 9/26/2005 9:00:09 AM
I am trying to export data to an Excel named range via DTS. I have the data transfering but all data is transfering to my empty named range as text. I have formatted the area in excel as numeric before hand, but it still transfers as text. I have seen several references to this problem on...more >>

Unable to enlist in the transaction.
Posted by TobyRiley at 9/26/2005 4:26:04 AM
Re-post from Jan 20, 4:27 pm - still can't fix it!! Hi, When i execute the same DTS job on another server not running SQL Server I get the following errors. But if i run the job on the same server as the SQL Server it works. Or if the DTS transactions are turned off it works. Both ser...more >>

Saving a .bas file to SQL server as DTS
Posted by Jaideep Mehta at 9/26/2005 3:20:05 AM
How do i save a .bas file to SQL server DTS package? I have already tried porting the bas file code to dot net and used SQLToSave. all that works fine. What i want to know, is there a tool available that can save a .bas file to SQL server DTS packages?...more >>

Lotus 1-2-3 Connection
Posted by cct at 9/25/2005 12:00:00 AM
Dear all, Appreciate if anyone can share experience on connecting directly to Lotus 1-2-3 files through DTS. Currently I am using SQL Server 2000, and would like to connect to *.123 files (Lotus SmartSuite 9.8). Thanks in advance. ...more >>

Connecting to SQL from within VFP interface
Posted by Preacher Man at 9/23/2005 4:25:21 PM
In this post I am going to try to simply a question that I posted earlier. Can I use VFP to access a SQL Database? If so what is the command? What is the best software for creating applications to work with SQL? I am just getting my feet wet with SQL so please take it easy on a rookie. ...more >>

Importing From an Access DB Secured with a Workgroup Information File
Posted by Don at 9/23/2005 12:14:06 PM
Is it possible to import tables from an Access database which has been secured with a unique Workgroup file (as described in the Access Security FAQ)? I tried doing an import against the table and supplied my username and password. However, DTS returned the error ".......the workgroup info...more >>

Duplicate copy rows?? Help!!
Posted by Jonathan Hwang at 9/23/2005 11:33:03 AM
I have designed and scheduled running of a very simple sql 2000 DTS package. Out of my years of experience, I have not encounter this problem before. However if you know, you must be an expert! Well... I am trying to schedule a job to run during off peak hours to copy 13 million records ...more >>

Adding Primary Key Field--Import/Export Wizard Issue
Posted by jacob at 9/23/2005 9:17:15 AM
The original table has dublicate information because it was not properly normalized. There can be several different primary key values for the same item. For example: 1 GoodBookTitle 2 GoodBookTitle 3 PracticalBookTitle 4 GoodBookTitle 5 PracticalBookTitle 6 OkBookTitle I l...more >>

Remote DTS execution
Posted by Chad at 9/23/2005 7:49:04 AM
Have a DTS package that will run on the server and through a job scheduled on the server. But when attempting to run it from a remote machine or an ASP page it fails. On the ASP page I'm using objDTSPackage.LoadFromSQLServer "Supersix3", "DTSexec", "DTSexec", DTSSQLStgFlag_Default, "", "",...more >>

Strange requirement for linked server
Posted by Christopher Pankhurst at 9/23/2005 12:00:00 AM
We need to create a DTS script to push data from one sql server to another on a scheduled basis, changing some column names in the process (we do not want to do replication). I start creating the DTS script and click on copy tables and views and SQL server gives an error message about a server ca...more >>

Jobs not running
Posted by A.B. at 9/22/2005 10:56:04 AM
I have some jobs that just started failing. They were working fine and then they just stopped. Nothing was changed. This has happened before and then they just started working again. Can anybody tell me why this happens. The jobs execute DTS packages that import data from text files and other ...more >>

problem executing a data pump task
Posted by Flor at 9/22/2005 10:36:03 AM
I'm executing a store procedure in the source tab of a data pump task, the real problem is that the source server is a Sybase ADS 12.5.3, I was using a sybase 11.9 and when I select the transformation tab the source columns apears, but now they don't. So the Task returns error. Can Anybody h...more >>

How do I determine the sheet names in an Excel Spreadsheet?
Posted by Snake at 9/22/2005 7:47:01 AM
I would like to be able to read an Excel file and loop through all the sheet names until I find the one I want. I suspect there is a way to do this but I can't find it! thanks, Michael...more >>

Rows keeps on adding, even after I end DTS process.
Posted by k_s at 9/22/2005 7:39:08 AM
Today I faced a weired problem. I have a DTS package which is scheduled daily, generally it takes around 15 minutes to get fresh data. Due to some problem we had to clear the tables and start all over again. I have done it previously and the DTS took around 4.5 hrs to complete for around 5800...more >>

find a query/table from available DTS packages
Posted by k_s at 9/22/2005 12:30:02 AM
HI All, I am updating a DTS package created by smeone else. There is a table used in where condition. I need to find out how this table is populated. There are 650 DTs packages and searching all of them for finding this table is tedious job. can neone suggest a better method? thanks...more >>


DevelopmentNow Blog