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 > february 2004 > threads for february 22 - 28, 2004

Filter by week: 1 2 3 4

Invalid Class String
Posted by Scott Bieker at 2/28/2004 7:31:05 AM
We are receiving the "Invalid Class String" Exception when trying to execute our package from a VB.Net application running on a client computer that was not used for developmen or anything else to do with SQL/VB.Net/etc. It is a "normal" environment where our user will running the application ...more >>

Permission to run DTS packages from Application Server
Posted by Sin Min at 2/27/2004 6:51:05 PM
Good day Scenario ---------- DbServer (DTS packages) <--- AppServer (C# application - Only Windows Authentication allowe - Duplicate Windows user on both machine What are the minimum permissions that I need to set on the user (on DbServer box) to enable this scenario? (i.e. enable public for...more >>

Need to create a script to insert records
Posted by JerryK at 2/27/2004 6:06:25 PM
Hi, I need to create a script that will insert a subset of the records in a table into another copy of the table on a remote system. I do not have access to the remote system via Enterprise Manager. Rather, I need to email the script and have an operator execute the script in Query Analyzer....more >>

update records problem
Posted by smarter at 2/27/2004 5:24:06 PM
hi, i'm working on a project need to update the sql by using the mdb files. one of the tasks is modify the member ID since there will be a chance for member to replace their membership card (my project is a kinda membership system). in my case, there will be a mdb file storing the new member id ...more >>

Design question [Global Variables and VB]
Posted by alien2_51 at 2/27/2004 4:20:32 PM
Here's what I need to do. I have several MS Excel templates that I want to create a copy of, then put the file in a working directory and push data to several worksheets inside the Excel files using DTS, then I'd like to move the file to an FTP server. I have one particular task that I'm not sure...more >>

script generated by DTS causes the package to fail
Posted by rocio.katsanis NO[at]SPAM softwareservices.net at 2/27/2004 12:09:06 PM
This is weird. I wrote a simple DTS package to copy a server Database to a laptop database. The program runs fine, but after probably 1 hour of running (this is a big db), it fails with the message: ALTER TABLE statement conflicted with COLUMN FOREIGN KEY constraint 'FK_Parcel Item Image_Ima...more >>

Executing DTS packages under control of VB.NET
Posted by Lee Gillie at 2/27/2004 11:06:57 AM
I am loading the package from SSF. I set all steps to EXECUTE IN THE MAIN THREAD. I see lots of posts this is necessary with VB6, but do I need to do this with VB.NET? I tried using EVENTS. This is really strange. I get the same event refiring repeatedly, with the same event parameter data. Perh...more >>

anyone pls help
Posted by haseeb at 2/27/2004 9:10:34 AM
Hi all, Sql server 7.0 I am using web assistant job to display some data on web page which refreshes every 1 min. the jobs running fine but when i checked event viewer of application logs, i found the below error Error: 16821, Severity: 16, State: 1 2004-02-27 07:37:02.70 ods . Oper...more >>



Export Data to PDF (How to?)
Posted by Gary at 2/27/2004 9:06:10 AM
Is there an easy way to export to PDF in DTS SQL 2000 Need a data connection for PDF? Any thoughts on something simple Thanks for any thoughts in advance Gary...more >>

DTS Package Transfer
Posted by Olutimi at 2/27/2004 3:32:06 AM
How do i transfer a DTS package to another SQL server. I have a SQL 2K SP3 running on WIN 2K SP4. Thanks for your kind help. Regards ...more >>

Can MSDE 2000 run scheduled DTS Jobs ?
Posted by Niall HQ at 2/27/2004 2:46:35 AM
I have an application which is networked based, but allows a local version to be depolyed. The local version would use MSDE. The application needs to run a scheduled job on the local machine to update diary entries for data cahnge while the user is using it in local mode. I have looked...more >>

OLE: Stored Procedure Error
Posted by seddonm1 NO[at]SPAM anz.com at 2/26/2004 3:35:08 PM
Gday guys, I am having a problem invoking a DTS packade on my SQL Server. I am using the stored procedures that use the OLE object to invoke the DTS package. The package I am using is available 'http://www.databasejournal.com/features/mssql/article.php/10894_1459181_1' called 'spExecutePKG'. ...more >>

Network login in the DTS package component
Posted by Areli at 2/26/2004 3:12:20 PM
Here is what my DTS Package does: 1. Extract records from a SQL Server DB and store in a recordset. 2. Write recordset contents to text file located on a network drive. 3. Run macro utilizing above text file as input. The package works great when I manually execute it. When I schedule the...more >>

Step name incorrect in DTS Exception file
Posted by Brad at 2/26/2004 1:21:11 PM
This is a pretty trivial problem, but I don't want the log file to be confusing when an operator reads it I created one DTS package to import one file, then opened/saved as a different package in order to clone the package. I changed all of the properties in each package. But when they run, they...more >>

best way to manage exceptions in transformations ?????
Posted by Antonio Lopez Arredondo at 2/26/2004 12:47:36 PM
hi all !!! the most common reason for DDQ failure I suffer are duplicate key in inserts. I wonder what's the best way to handle this errors within the transformations. what I would do is: for each record to insert, run a lookup query to check if exists if doesn't exist, do an DT...more >>

Error importing from AS/400 library
Posted by Antonio Giossa at 2/26/2004 11:33:23 AM
I am trying to import some files located in an AS/400 library. I use Mochasoft to connect my Windows 2000 Server to the AS/400 library through a ODBC connection. The ODBC connection works fine. I use it from MS Access to import the AS/400 tables and the import job works fine. When I use ...more >>

Loading more than one file from Excel with DTS
Posted by Anabela Figueiredo at 2/26/2004 11:31:10 AM
Hi I know that this is possible, because I've done it before... actuallly it was about two years ago when I came up the the solution on this newsgroup.. So hopefully there's someone out there with better memory. This is what I need I want to load all the excel files found in a particular dir...more >>

Transform Access primary key to SQLServer
Posted by Earl at 2/26/2004 6:27:40 AM
I've noticed during transformation that my Access autonumber primary keys are changed to int types as default. Is there a better choice? ...more >>

DTS Package runs fine, but won't run when scheduled
Posted by Gregory Hart at 2/26/2004 5:06:08 AM
I have several DTS packages that are grabbing data from a BTrieve data source. When the data source was on the local server as a test source, everything worked fine, both scheduling and the package itself. But when I re-pointed my ODBC driver to a mapped drive on our network, to a server with the ...more >>

Oracle Long Data Type - RTF Truncated
Posted by Andrew Mogford at 2/26/2004 3:26:05 AM
We are using DTS to copy from Oracle Views to SQL server tables. One Oracle column is Long data type and contains text in rtf format. When transformed to a SQL Server 2000 text field the data is truncated to 100 characters long. Have recreated this transformation with the same results. I w...more >>

Importing information from a Progress Database
Posted by Imran at 2/26/2004 3:01:55 AM
Hi, I hope someone can help me out with this matter. I am trying to implement a DW Solution for an Organization. I need to clarify the following points. (1)is there a provider for Progress so that i could connect to progress database in order to import the Data through DTS?Are all ...more >>

Dynamic Transforms
Posted by Paul Smith at 2/25/2004 9:25:58 PM
Hi, I need to export data from several (100+) tables in a non-SQL Server database to a CSV file and I would ideally like to do this with just one dynamically modified DTS package. In the past I have used BCP and altered the various parameters when exporting from SQL Server. However, BCP is not...more >>

DTS Ini File
Posted by Scott Bieker at 2/25/2004 9:11:05 PM
We have an application that utilizes a dozen or so (and will be more) DTS Packages The major issue we have is that although we take advantage of the INI file configuration we are "forced" into hard-coded the location of the INI file. Is it possible to have thi be set dynamically as well? Our cl...more >>

Extended SP to load global params
Posted by Brandon Olson at 2/25/2004 5:49:21 PM
Hello, I would like to have a DTS package read Global Variables that are stored in a app.config (XML) file located on a network share. What is the best way to accomplish this? I have tried writing an extended stored procedure in VC++ 7 to return a value based on a key as an input parameter, ...more >>

transformation between a SQL connection adn a text file : works on SP1 not in SP3
Posted by Nicolas Lievain at 2/25/2004 2:22:26 PM
i try to do something very simple : export data from an sql query to a text file It works fine when i export a table, but doesn't work when data comes from a view/sp/query, the DTS designer don't create the appropriate column when i clik on "execute" and when i click on the "define colums" but...more >>

Export to text file
Posted by PaulC at 2/25/2004 1:17:27 PM
My client requirement is to have an exported text file with specific fields widths ( these do not match the column widths ). eg column1 50 column2 25 column3 40 etc etc. I have written an ActiveX transformation that takes the 50 columns of data and outputs it to 1 destinati...more >>

How do I install or check version of MSXML?
Posted by JDP NO[at]SPAM Work at 2/25/2004 1:15:49 PM
If I right-click on msxml2.dll I see version 8.3xxx What's up with the versioing? I have a test script that says... ''' If MSXML 4.0 is not installed this will not work! Set oDom = CreateObject("Msxml2.DOMDocument.4.0") TIA JeffP.... ...more >>

XML as Linked Server?
Posted by JDP NO[at]SPAM Work at 2/25/2004 12:50:00 PM
I've been working with csv files as linked servers.... I'm starting to explore XML and was wondering if there is a way to apply the schema to enable an XML document to be a linked server? TIA JeffP..... ...more >>

Exception.txt.dest being overwritten on multiple calls to the same package
Posted by John Kotuby at 2/25/2004 11:59:49 AM
I have a data migration package that pulls data from DBF files located in different folders on disk and loads the data into a single SQL table. The package is called from another package containing an ActiveX Script which sets Global Variables that tell the called package where the next DBF file ...more >>

CRAXDRT Problem...
Posted by ratna.garapati NO[at]SPAM sbcglobal.net at 2/25/2004 10:49:20 AM
Hi, I was trying to open a crystal report through DTS and this is the code I am trying to execute: Function Main() Dim lCrystalApp Set lCrystalApp = CreateObject("CRAXDRT") Main = DTSTaskExecResult_Success End Function I am getting the following error: ActiveX Compone...more >>

Transform Data Task - properties gives error
Posted by Thomas Turn Jensen at 2/25/2004 8:58:42 AM
I have been given the task of slightly modifying a DTS package but know absolutely nothing about DTS. I have been able to copy it from one server to another where I am to use the new package. I have also been able to edit the connections and Execute SQL tasks, but the main 4 transform da...more >>

Microsoft Excell Connection
Posted by borys.jarzembski NO[at]SPAM bunge.com at 2/25/2004 7:04:56 AM
Hello I created a Linked server to access a secured Access Database. According to SQL Server Help file I configured (using the Registry Editor) the Windows Registry I have add the full path name of the Workgroup Information file Used by my Access Database => in the line HKEY_LOCAL_MACHINE...more >>

CompactDB just hangs when used in DTS process but works great by itself???
Posted by Mike at 2/25/2004 6:17:26 AM
Here's the explanation. My DTS process uses a text file to populate a sql server table and an access table. It works fine before adding the CompactDB step. I wrote a VB program that compacts a database using the Jet method compactdatabase. It works great when ran alone on the command l...more >>

file name in global variable
Posted by Ména at 2/25/2004 5:51:08 AM
Hi I would like to use a global variable to initialize the file name file of a source text file box Can someone help thanks...more >>

Migrating DTS Local Package from test to production environments v7.0
Posted by Ted at 2/24/2004 6:17:02 PM
In a class I took there were some warnings given about creating a DTS package in a test environment and then moving it to a production environment. Sadly, I can't find my notes anymore! :-( Does anyone know the subtleties of doing this migration? I have a client I'm going to tomorrow who is ...more >>

setting sql query of Transform Data Task with ActiveX Script Task inside DTS package?
Posted by Alexander Nenashev at 2/24/2004 5:53:59 PM
is it possible? could anyone give sample code for ActiveX Script Task? ...more >>

problem with "artificially" parametrized query...
Posted by Antonio Lopez Arredondo at 2/24/2004 4:27:45 PM
hi all !!! my destination database does not support parameters (?) at the insert queries. so for each record I dynamically build a new insert query, customized with the data to insert. the problem is that although the new insert query is created, DTS doesn't use it. It uses the SQL inser...more >>

TransferObjectsTask
Posted by Stephen Cook at 2/24/2004 3:49:20 PM
I'm writing a utility, in VB6, to create a new database for non-dba's (mustn't give those developer's too many rights). I create a new database using SQLDMO and then give the user the choice of creating the appropriate table structure (for use with one of their utilities) from a script, or copyi...more >>

problem with DELETE execute sql task
Posted by Alexander Nenashev at 2/24/2004 1:37:49 PM
hello. i need execute from an execute sql task the following: delete discoinv_dbt from oinvoice_dbt inner join discoinv_dbt on Dprt = Numb_Dprt and Invoice = Numb_Invoice where Date >= ? when i check syntax dts designer shows error: Invalid column name: 'Date' but this sql w...more >>

SendMail Task: MAPI error
Posted by JR at 2/24/2004 10:00:17 AM
I have created a DTS package with an Send Mail Task at the end. All task complete successfully when the DTS package is ran manually. However when the package is scheduled all complete with the exception of the Send Mail Task. The error is "MapiLogonEx Failed due to MAPI error 273". SQL M...more >>

exec oracle java package within DTS
Posted by Ned Radenovic at 2/24/2004 9:07:31 AM
Hi, I am trying to run a package that calls a series of java classes within oracle 9i on windows 2000. There are two parameters passed in, two paths on a windows 2000 machine. I have set permissions to these paths as follows: exec dbms_java.grant_permission ( 'AVENTISDM', 'SYS:jav...more >>

To skip the last line of CSV file
Posted by danewbie NO[at]SPAM yahoo.com at 2/24/2004 8:40:49 AM
Dear DTS experts, Using DTS data to load data from CSV, I can skip first line (such as title). My CSV file contains a foot that I want to skip. Can DTS skip the last line of the text file (CSV file). thanks! Dan...more >>

Detecting a failed Transformation during a DTS Execution
Posted by John Tallon at 2/24/2004 8:14:17 AM
Hi, I have a quick question on DTS. I have a number of packages that scan a directory for files, txt, csv, and xsl. Each fiel type is in it own folder, like c:\new_xsl, C:\new_csv and C:\new_txt. There is a different package doing the transformation for each file type. The problem th...more >>

Executeable using DTS
Posted by Mike at 2/24/2004 6:49:01 AM
I'm using an execute task to call the system stored procedure to execute an exe. Unfortunately, it gives an erro saying somethign about SELECT, UPDATE, DELETE etc... How should one execute an executeable using DTS, in an EXECUTE TASK or something else. Thanks. Mike...more >>

Execute DTS from VB Using File DSN
Posted by rajbrown NO[at]SPAM hotmail.com at 2/24/2004 4:09:34 AM
I'm trying to execute a DTS package from VB and would prefer to use a file DSN to connect to the database rather than code the connection info within VB. Does anyone know if this can actually be done though? I can run the package ok using objDTS.LoadFromSQLServer .... which requires the SQL...more >>

DTS Import Error
Posted by Darren Gillie at 2/24/2004 2:52:22 AM
Not sure if this is a Commerce Server issue or DTS, but I have an exsiting DB which imports on a scheduled DTS package. Our servers had some down time and it missed a few days importing, I've pulled the weblogs off which were missed but when I start the import process I get a the followin...more >>

Directory scanning
Posted by Ména at 2/24/2004 12:11:05 AM
Hi I have a job using a flat file source I would like to launch the same job with every file of a directory! Could someone help thx...more >>

Error catching
Posted by Ména at 2/24/2004 12:06:06 AM
Hi What is the 0 (zero) in "On Error Goto 0" I found it in the microsoft site and I don't understand where it goes Could someone help thx...more >>

Global Variables using RowSet
Posted by Vijey at 2/23/2004 7:48:38 PM
We have 2 servers SERVER1 & SERVER2 respectively. SERVER1 has the following tables as given below: Create Table Control( StoreID int, LastSuccessDate datetime ) INSERT INTO Control (StoreID,LastSuccessDate) VALUES (1, '2003-01-01') INSERT INTO Control (StoreID,LastSuccessDate) VALUES ...more >>

OWC and executing DTS
Posted by J. Nathalia at 2/23/2004 2:31:09 PM
Hi Does anybody have experience with creating a button that executes a DTS on a MS SQL Server. The button must be created on a MS Data Access Page that is using the OWC (web components). I'm sure someone has done it before Jeroe ...more >>

setup an offline connection
Posted by rocio.katsanis NO[at]SPAM softwareservices.net at 2/23/2004 2:23:19 PM
I wrote a DTS package that includes connections to 2 computers: a server and a laptop. Then I call this DTS file in a VB6 program to do other things. I test my program, and it runs fine. Now, before I ship the laptop to a client, I would like to modify the DTS package to delete the connection to...more >>

Formatting output
Posted by Barbara Boyer at 2/23/2004 12:49:24 PM
I would like to use DTS to create a nicely formatted file that will be either emailed or faxed. What is the easiest way to have the output include white space for faxes? Any suggestions will be appreciated. Barb...more >>

Searching for a column name in many DTS packages
Posted by mknight NO[at]SPAM epicor.com at 2/23/2004 12:19:43 PM
I have inherited about 60 large DTS packages and now I have to find where a column name is used in all of them. Is there some metadata I can search to look for something when I do not know where it is? Thanks for any help Mike...more >>

DTS Package Execution Error Log: Error -2147220440
Posted by Mr. TW at 2/23/2004 10:24:56 AM
Hi All, the following problem is giving me a little headache: a DTS package, which has run for quite some time automatically and quietly in the background, now massively logs errors (almost every 2nd run) to "sysdtspackagelog" in msdb. The package reads a textfile (Source) and writes a da...more >>

Search many DTS packages
Posted by mknight NO[at]SPAM epicor.com at 2/23/2004 10:11:43 AM
I have inherited maintaining about 70 large dts packages, and I am now looking for all instances of one coulmn name which gets used in many transformations. Normally I would use something like syscolumns in normal SQL, but cannot find anything similar. Is there a similar 'global' search mechan...more >>

Removing carrage returns from txt file when importing via DTS
Posted by Gary Conte at 2/23/2004 9:44:08 AM
I'm using the data pump to import txt data. In one column a carrage return exist in an unidentified position. Is there a was to remove this character during the transfomation?...more >>

Checking if File Exist without using the ActiveX Script Task
Posted by Robert at 2/23/2004 9:38:28 AM
I have a visual basic program that uses the DTSPackage Object Library to execute DTS packages. Is there a way to check to see if the file that is going to be imported exists other than then the ActiveX Script Task. I have been looking for a method in the Object Library that will do this fo...more >>

How do I make DTS update data changes
Posted by Jim Arnold at 2/23/2004 2:11:58 AM
I am still very new to DTS and am apparently missing a few of the basics. I have a DTS package that runs twice daily. It works fine to add any new records from the source to the destination, however, it doesn't update any records that have been changed in the source. What additional set...more >>

Run DTS within a DTS, OLAP job fails
Posted by J. Nathalia at 2/23/2004 1:51:05 AM
Hi I have made a simple DTS that processes an OLAP job. THis DTS runs fine. As soon as I create a new DTS where I invoke the other DTS with the OLAP job it fails. It just stucks I do frequently apply sub-DTS whithin a main DTS and with normal SQL jobs it runs fine, but with Analysis Services it'...more >>

features in this version are not available in databases with older formats
Posted by S at 2/22/2004 8:18:04 PM
I wrote a routine in visual basic 6.0 that compacts an access database so that I can use DTS process to run the exe. When I try to run it I get this message, "features in this version are not available in databases with older formats ". The routine works, I know that for sure because I r...more >>

dts error while scheduling
Posted by satish at 2/22/2004 6:55:57 PM
Hi, I am not sure why this error is occuring. This happens when i run the package as a job. The job succeeds 3 times and fails 3 times. The error message i get in the steo details while failing is, ----------------------------------------- Executed as user: xxx\yyy. DTSRun: Loading... ...more >>

DTS Job Error
Posted by kol_sat NO[at]SPAM yahoo.com at 2/22/2004 6:30:06 PM
Hi, I am not able to solve this problem. I keep getting this error and i do not have a clue as to why this is coming. Executed as user: xxx\yyy. DTSRun: Loading... Error: -2147467259 (80004005); Provider Error: 17 (11) \Error string: [DBNETLIB][ConnectionOpen (Connect())....more >>


DevelopmentNow Blog