Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MS SQL Server


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





DTS 2000 Package Designer 2005 Doesnt Have File--&>New Package


I just put SQL Server 2005 on a machine and the DTS 2000 Package Designer 2005 doesnt have a "File-->New DTS Package" menu item. The only way I can create a package is to import an old one and clear the contents.

Anyone know why I am seeing this problem?




View Complete Forum Thread with Replies

Related Forum Messages:
DTS 2000 Package Designer And SQL Server 2005
I am not sure where to ask this question.  So I figured here may be ok

 

I have several DTS 2000 packages and I have SQL 2005 installed on my local machine.  However the rest of the company is still using SQL 2000 (for now).   So I do not want to convert them to ssis yet.  One of the things we just did to the packages is make all flat files use \localhost and any servers point to (local).  Now in ssis this works fine but using the DTS 2000 package designer it does not like either of these at all.  The reason we wanted to do this is so when we switch out servers there is no changes to our DTS packages.

View Replies !
Save DTS Package Created In DTS Designer(SQL 2000) On SQL 2005 Under Legacy
 

Hi All,
One of my user was able create DTS package using DTS Wizard, working from his workstation and saved this DTS in Legacy(in Data Transaformation services) on different SQL 2005 EE SP 2(9.0.3042) production server..
At same time he has no access to msdb on this SQL 2005 server(he also not sysadmin for this server).. How this could happen..??
 
 

View Replies !
How Do You Schedule Package With Sql 2000 Dts Designer?
We just did an in-place upgrade from sql2000EE to sql2005EE and I installed the SQL Server 2000 DTS Designer componets but I don't see the option to schedule a package.
 
Thanks for you input.

View Replies !
Package Validation Error : The Package Designer Deletes The Code From Script Task.
While Creating a script task in Control Flow, I am getting "Package Validation Error". Here is the complete message:

Error at Validate File and  Load Data: The task is configured to pre-compile the script, but binary code is not found. Please visit the IDE in Script Task Editor by clicking Design Script button to cause binary code to be generated.
 (Microsoft.DataTransformationServices.VsIntegration)

As mentioned in the message, I opened the script IDE and added the code I need. When I close the VSA IDE, package designer displays the same error message.

The worst part of whole story is that if I close the package designer and reopen it, I find that all the code I wrote in the script task has been deleted by the package designer. This is not at all acceptable as I saved the package the and still lost all my work. I did all the coding from scratch for that task.

Please respond if anyone faced similar problem.

Thanks in advance!

Anand

PS: If any one from Microsoft is reading this, please see what you guys are coding there. Due to the buggy software you deliver, I am loosing my credibility.<P< P>

View Replies !
IS Package Doesnt Ship With Password
Hi,
I tried many times checking "Save password" in connection manager editor. But everytime I open the editor again and I see the password field blank.
I took it as normal, and deployed my IS Package, It couldnt run because of login failed for user 'sa'.


How do I force IS to save password  on any ProtectionLevel ?



Thanks,
Fahad

View Replies !
Logging Of SSIS Package Doesnt Work When Executed As A Job
I am having the same problems as those in another post. SSIS package works fine when executed in BIDS and through execute package utility but it doesnt work when executed as a step in a job.

The other problem is that the logging also doesnt work when i try executing it as a job. So I have no clue about what to do without knowing what error it is. When I run the job it simply says the step has failed.

I have tried most of the solutions posted in other websites most of them to do with using proxies with credentials but havent hit a solution. I would love to get any input on what to do.

Thanks

View Replies !
Error Redirected To Script Component : Package Doesnt Fail.
 

I have created a data flow task. In that, in a 'data conversion', if a column fails validation then that row is redirected to a script component, which in turn writes the error to a variable.

 

But though the error is generated and script component receives the error, package doesnt fail.

 

Is there any way to set the package result to failure inside the script component? I tried set 'FailPackageOnFailure' to true but doesnt work.

 

Any help is greatly appreciated.

 

Thanks,

Don

 

 

View Replies !
SSIS Deployment Utility - Package Configurations Doesnt Show Up??
Hi:

After moving my deployment folder to the Target Server, I run the Installation Wizard. As I move next, I am missing the window which is supposed to allow me to set package config values as stated in MSDN:

"If the package includes configurations, you can edit updatable configurations by updating values in the Value list on the Configure Packages page."

Source: http://msdn2.microsoft.com/en-us/library/ms141802.aspx

Does anyone know why I am not seeing it? In my deployment bundle which I have moved over has currently 3 files:

1) SSIS Deployment Manifest

2) SSIS Package

3) SSIS Config File

Again, I double click on SSIS Deployment Manifest, and it starts fine. I go thru the steps for File System Deployment, and then it prompts for installation folder path. After that, it takes me directly to validation. Why is it not showing me the Configure Packages Page as described in the MSDN Documentation. Please advise. Thanks.

View Replies !
Passing A Variable Value (Package Scope) To A DTS Package Embedded Into Execute DTS 2000 Task
Hi friends,

I have a for each loop that populates from a set of flat files into a  Sql Server table,  I run the Flat file Import via  a dts package embedded into  Execute DTS 2000 Task. I want to pass the Sourcefile Name that is fetched by the For Each Loop to assign it Global Variable in DTS. how this can be made ?

 

Thanks

Subhash Subramanyam

View Replies !
Passing The Xml Configuration File To The Package As An Input Parameter While Executing The Package
Hi,

I am planning to develop a single package that will download files from ftp server, move the files to internal file server and upload it in the database. But I want to run this package for multiple ftp file providers. For each provider the ftp server might be different and the transformation to upload the files into a database table might be different.

So can I create a single package and then multiple configuration files (xml), which will contain the details fo the ftp file providers and then pass the xml file as a parameter while executing the package. The reason being that the timings of fetching the files is different for each ftp file provider and hence cannot be combined into one.

Is this possible?

Thanks for your help.

$wapnil

View Replies !
Configure A Child Package To Use The Configuration File Of A Parent Package?
Hi guys,

Here's the deal. I have a child package, (say, pack01.dtsx), which uses a dtsconfig file for its connection string, which can be called from other packages, but which also can be called by itself.

However I also have another package (say, pack02.dtsx) which uses the same dtsconfig file for its connection string. It calls on pack01.dtsx.

When I use DTEXECUI and run pack01.dtsx, specifying the proper .dtsconfig file, it goes well. But when I try and run pack02.dtsx, an error occurs saying pack01.dtsx connection cannot be established.

How do I pass the connectionstring being used by pack02 to pack01, without having to remove the configuration file setting of pack01? Can a Parent Package configuration and a configuration file try and map to the same property?

Hope someone could help. Thanks.

View Replies !
DTS Package Designer
I need to build a DTS package that will transfer data from an OLTP source to an OLAP destination. I also need to combine first, middle and last name columns from a table in the source database into a single column in the destination table. How can I do this? Thanks very much.

View Replies !
Schedule A SSIS Package Which Execute DTS 2000 Package
 

I have successfully created a SSIS package which execute a DTS 2000 package and with no problem to execute the task. But I failed to schedule this package. I was not success in setting the logging. When running the package in command line:





 
 
dtexec file "C:Documents and SettingslyangMy DocumentsVisual Studio 2005ProjectsTraingDTSTraingDTSDTSTraining.dtsx"
 

Error: 2008-03-24 08:03:24.36
   Code: 0xC0012024
   Source: Execute DTS 2000 Package Task
   Description: The task "Execute DTS 2000 Package Task" cannot run on this edit
ion of Integration Services. It requires a higher level edition.
End Error
Warning: 2008-03-24 08:03:24.38

   Code: 0x80019002
   Source: DTSTraining
   Description: The Execution method succeeded, but the number of errors raised
(2) reached the maximum allowed (1); resulting in failure. This occurs when the
number of errors reaches the number specified in MaximumErrorCount. Change the M
aximumErrorCount or fix the errors.
End Warning
DTExec: The package execution returned DTSER_FAILURE (1).
 
 
Any help will be greatly appreciated.
 
(32 bit machine, standartd edition of SQL 2005)

 

View Replies !
Problem With DTS Designer Package
 

Hi,
I have installed backward compatimility package and dts designer components on my computer wich run sql server 2005.
When i try to open a DTS package in management studio, It tries to install sql server 2000 and ask for sql2000.msi.
Does any one know how to fix this so i can edit dts packages in management studio 2005?
 
/Fredrik

View Replies !
Package Designer- Feature Pack
after installing the Microsoft SQL Server 2000 DTS Designer Com feature pack and then restarting my management studio, I still cannot see or edit my dts packages. I also tried editing  them in the integration services consule but no luck there. I see them under the msdb and have no option to edit them.

 

Has anyone got this utility to work?

 

Thanks,
David

View Replies !
Package Designer Layout Not Being Saved
When I change the alignment of shapes on the Package Design surface and then save the package, and then close and re-open the package, the alignment changes are gone.

Sometimes, if I change other things in the package, the alignment changes do get saved. I noticed the same problem with a Text Annotation.

Any suggestions?

View Replies !
Execution Of Child Package From Parent Package In Sql Server 2005 Integration Services
Hi,

I created a package which passes some infornmations( through parameters) to its child package.

I need to do some processing in parent package based on execution status of child package.i.e.

 if child fails then some operation and if child succeeds then other operation.

To determine the status of execution of child package I am using two differnt constraint ..one constraint is having value "Success" and other having value "Failure".

My problem is that when child packge is executed successfully the constraint with value = "Success" works properly but when child fails the constraint with value "Failure" does not work.

 -Prashant

View Replies !
Copy Data To Excel File Using Dts Package In Sql Server 2000
Friends
 
Any one of you share your knowledge how to transfer data from a database to  a excel using dts packages in sqlserver 2000.
 
I want clear steps how to create a dts package
 
Appreciate your help
 
Thanks
satish

View Replies !
Why DTS Package Worked From DTS Designer But Failed On Scheduled Job?
I created a DTS Package. It worked fine if I  execute the DTS from DTS designer. It failed after I right clicked to Schedule Package, and than right clicked on the job to Start Job from Management - SQL Server Agnet - Jobs. When I clicked View Job History, the error was "The job failed. The last step to run was step 1 (DTSPackageName).

Why did it fail from scheduled DTS?  Thanks.
DanYeung

View Replies !
SSIS Package Designer Performance After Installing SP1
Hi,

When I installed SP1 on my SQL Server 2005, the performance of the package designer dropped enormously. I have to wait like 30 seconds after I drag-and-drop a datasource from the toolbox to the design area. Also it takes a very long time to run the very simple package. Not to mention opening some complicated package that was done before applying SP1. The package scheduled in SQL Agent went from 3-4min to 5-6min.

Can anyone address this issue? Maybe there's something I did wrong?

While installing SP1 I ecountered strange behaviour (some messages about file locking, rebooting and stuff), but in the end it said that it was successful

Best Regards
Wojtek

View Replies !
Cannot Insert A Variable In SSIS Package Designer
Hello,
This morning I got an odd problem, I just added a new package to my dtproj and I cannot add a variable. Am I missing anything. ?

here is the image

View Replies !
Report Designer Package Fails To Load
I have installed the SQLExpress 2005 Advanced Package & the portion of the Toolkit that includes the BIDS - Report Designer, all of which installed normally.  When I use the SQL Server BIDS shortcut, the Vis Studio 2005 IDE appears normally, but without any of the BIDS features.  When I try Help About, I get a message stating that the "Report Designer Package has failed to load properly " followed by a GUID and further instructions to disable loading.

My VisStudio 2005 software is not installed on the C: drive & I when I first tried the BIDS shortcut it querried on the location of devenv.exe; I answered that & it finds it ok. 

I tried removing all of the SQLExpress software & re-installing but the results are the same. 

Any help would be appreciated.   

 

 

 

 

 

View Replies !
How To Convert 2005 Package To 2000
Dear friends, can we do this? converting a package made in ssis 2005 to dts packages of 2000? or we can somehow make the same working on sql server 2000? any ideas?

thanks,

View Replies !
Package Running(Package Import In Sql Server 2005)
 

hi friends ,
is it a package file name(FlatFile)
FlatFile.dtsx
if package file name
 
in sql server i connected integration services
 
-> in stored packages
   -> file system
           -> i selected (r.clcik) import package
 
 
in this FlatFile.dtsx file exist C:WROXWROXFlatFile.dtsx
now i was added
 
steps
 
package location : SSIS Package storage
 server       :  local
pak path   :  C:WROXWROX
package name : FlatFile.dtsx
 
 
when i click on the ok
ERROR : the path is not valid
 

View Replies !
Programmatically Changing Connections In DTS Package Causes Issue In DTS Designer
I have an ActiveX task containing vbscript that when placed in a DTS package, will set all Connection and DataTransformation (DataPump) information correctly. Additionally, the package appears to work perfectly afterwards.

The Question:
Why when I go into the DTS Designer and open a transformation (Black Arrow) between connections - that I get the "Verifying Transformations" dialog with the three radio button options of "Remove Invalid transforamtions", "Change Source/Destination", and "Remove all transformations and redo auto-mapping"?

It appears that the SourceObjectName and SourceSQLStatements are getting correctly updated as well as the DestinationObjectName, etc.

Is there a property that is supposed to be set when I modify the source and destination properties in my code to prevent this dialog?

Thanks a bunch in advance for any assistance

View Replies !
Logging Difference Between Designer And SQL Agent Package Executions
After fine-tuning my package logging, I built a query against SYSDTSLOG9 that uses the combination of the OnPreExecute events and any subsequent event for each task to build a nice view of a package in progress, including the duration of each event. (Running tasks would have a row with a NULL EndTime.)

When running the package within the Designer, everything works as expected. Events are logged at the task level and everything bubbles-up to the package level.

However, when I run the package from SQL Agent (using the SSIS job step), none of my OnPreExecute or sub-component events are written. That is, I only get package-level OnInformation, OnPostExecute and OnError events.

This means when the job/package is executing, I can't directly see which steps are currently in progress nor can I get a duration for each step once it's completed. This will be very disconcerting for my teammates who will have to help support this at some point.

Any idea how or why there would be a change in behavior between these two execution methods?

Thanks in advance for any help. Until then, banging my head against the wall...
Tim

View Replies !
SSIS Package Designer Lookup Component GUI Error?
Has anybody seen this issue already?

If you try to "enable memory restriction" from the Lookup component GUI you need to input both 32 and 64 bit size of maximum memory. However when clicking "OK" on the editor you get a message like :

TITLE: Microsoft Visual Studio
------------------------------

Error at Update Execution Logs [Lookup folder path 1 [4429]]: Failed to set property "MaxMemoryUsage64" on "component "Lookup folder path 1" (4429)".

 

------------------------------
ADDITIONAL INFORMATION:

Exception from HRESULT: 0xC0204006 (Microsoft.SqlServer.DTSPipelineWrap)

------------------------------
BUTTONS:

OK
------------------------------


You can only set the properties directly for mthe Properties window (F4).

I think this is a post SP1 bug in Visual studio designer...

 

 

View Replies !
SSIS Package Designer Error Displaying The Layout
Our Visual Studio installation suddenly starting producing the error below upon trying to open any .dtsx package; although by "suddenly" I'm sure it was due to some Windows update or other program install, update, or uninstall.  I've spent two days uninstalling, reinstalling, and repairing everything that is seemingly related to VS, but no luck.  I've searched the forums and could not find this specific error mentioned, although I have tried some of the suggestions to fix possibly related 'class not registered' errors, but again no luck.
 
===================================
There was an error displaying the layout. (Microsoft Visual Studio)
------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%u00ae+Visual+Studio%u00ae+2005&ProdVer=8.0.50727.762&EvtSrc=Microsoft.DataTransformationServices.Design.SR&EvtID=DDSErrorDeserializeDiagram&LinkId=20476
===================================
Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) (msddsp)
------------------------------
Program Location:
   at MSDDS.IDdsDiagram.CreateShape(String ProgID, Boolean Visible, Int32 X, Int32 Y)
   at Microsoft.DataWarehouse.Controls.Interop.AxMSDDS.CreateShape(String progID, Boolean visible, Int32 x, Int32 y)
   at Microsoft.DataWarehouse.Design.ComponentDiagram.OnCreateShape(Object logicalObject, Int32 x, Int32 y, Boolean visible)
   at Microsoft.DataTransformationServices.Design.DtsComponentDiagram.OnCreateShape(Object component, Int32 x, Int32 y, Boolean visible)
   at Microsoft.DataWarehouse.Design.ComponentDiagram.CreateShape(Object logicalObject, Int32 x, Int32 y)
   at Microsoft.DataTransformationServices.Design.DtrControlFlowDiagram.CreateExecutableShape(DtsContainer dtsContainer, Int32 x, Int32 y, Int32 width, Int32 height)
   at Microsoft.DataTransformationServices.Design.DtrControlFlowDiagram.RefreshSequenceExecutables(IDTSSequence sequence)
   at Microsoft.DataTransformationServices.Design.DtrControlFlowDiagram.AfterDeserialize()
 

 
Any help would be greatly appreciated.
 
TIA,
 
Scott

View Replies !
RUN SQL 2005 SSIS Package On SQL 2000 BOXES?
I have a package designed and working correctly for months now.  My challenge now is to run this package on a box that does not have SQL 2005 SSIS install.  It has SQL 2000 installed.

My question is - Can I compile the SSIS into EXE or any other kind of DTS package to run on a none-SQL 2005 box?


Thanks!

--Jon

View Replies !
Help On Migrating From 2000 To 2005- SSIS Package
Hi,

I have to create a migration package ..means package should migrate the sql server 2000 tables to 2005 tables (Not dealing with data at this point of time and ignoring SPs,DTS packages).But there are lot of normalisation ans schema changes in 2005 compared to 2000.Like,

- One 2000 table devided into 3-4 tables in 2005
- Lot of changes in the filed names
- Handling integrity relationship between the newversion tables 

Being new to SSIS ,iam in confusion like how to start and where to start.can you pls tell me the steps(Structured way) i have to fallow

-- I have around 8-9 tables in 2000 ,I have to migrate them into 18-19 tables (with some new fileds )
    
-- For each table i have to create  one package(bcoz lot of transformations are there) or I can create one package for all of those ? but the finally i have to handover one package to the client


pls ask me if u need any further info to come up with the explanation..bcoz iam not sure whether i provided enough info or not


Thanks for ur help
Niru

View Replies !
Migrating SQL 2000 DTS Package To SSIS 2005
 

I have successfully used migrate wizard to migrate DTS pacakge to TrainingDTS.dtsx.
What should I do next? when I run

C:>dtexec /file "C:TrainingDTS.dtsx"


Error: 2008-05-13 09:14:31.36
   Code: 0xC0029172
   Source: File Transfer Protocol Task  undefined FTP Task
   Description: The connection is empty. Verify that a valid FTP connection is p
rovided.
End Error
Error: 2008-05-13 09:14:31.36
   Code: 0xC0024107
   Source: File Transfer Protocol Task  undefined
   Description: There were errors during task validation.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).

 

 

View Replies !
How To Specify Config File For Package Within A Package
I have a situation where I have Package A, which is called from Package B.  Both packages have been designed to use config files for their connections, etc.

The issues arises when executing Package B.  I can specify a config for Package B to use, but how do I tell the embedded package to use its correct config file?

By default, Package A has its config file pointed to development, but I would rather not have to save a special version of Package A that points to production.

I dont see any option within the execute package task.

Any ideas???

View Replies !
How To (the Steps) To Create DTS Package In 2005 As In The Case Of SQL 2000
Hi,

 

Warm Wishes for all !!

 

I used to create DTS Package in SQL Server 2000 and some times schedule accordingly , but in SQL 2005 although there is  a provision to buid the same through integration service but couldnt able to succeed.

( the goal is to transfer the data from one table to another in different database)

 

Is there any document or any one can provide the steps involved in developing DTS Package in SQL 2005

 

Thanks

Aravind

View Replies !
2000 Dts Package Transformations Not Editable With Sql Source To 2005 Database
Hello All,

 

After migration of the datawarehouse's source database from SQL 2000 to 2005 my dts packages (in 2000) to load staging tables (in SQL 2000) will not show any source table fields. I am using a sql query as source like this example:

 

-- Select data from current navision company
declare @comp varchar(254), @sql varchar(254)
set @comp = (select max([name]) from company)
set @sql = 'select * from ['+@comp+'$Item Ledger Entry]'
exec(@sql)

 

For the original SQL 2000 database it works fine and i am able to map source and destination fields. Now an error message shows that fields have changed and mapping should be redone when i click the transformations tab . When I create a new package it appears the source is completely empty so nothing can me mapped.

 

When i preview the sql query source data is showing fine. Also when i directly choose the table as source it is working fine.

 

Is this a known issue? What can I do to map source to destination now and still use the sql query as source?

 

Regards,

View Replies !
Programmatically Created SSIS Package, CSV File To OLDDB (SQLSever 2005)
Hi everyone,

I wanted to thank everyone for posting a ton of valuable information in these forums. I also want to thank all the moderators that have been replying with really insightful help!

I am trying to programmatically create an SSIS package to take .CSV data and put it into a SQL Server 2005. I am assuming that this is pretty common scenario.

I have used many of the examples in this forum as well as heavily borrowing from this example http://www.codeproject.com/csharp/Digging_SSIS_object_model.asp written by Moim Hossain.

I can get my package to create and execute properly but no data is being written to the SQL Server table. This has puzzled me for the last 2 days!

I know the issue isnt with the server itself because I tested it by graphically creating a test SSIS package and it transfers the .CSV data to the table perfectly.

Would anyone know why this would happen? The Execution results are returning success but no data is written to the table!

Could anyone please provide insight as to what my issue may be?

Thanks in advance!





Code Snippet

using System;
using System.IO;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Text;
using Microsoft.SqlServer.Dts.Runtime;
using PipeLineWrapper = Microsoft.SqlServer.Dts.Pipeline.Wrapper;
using RuntimeWrapper = Microsoft.SqlServer.Dts.Runtime.Wrapper;

namespace SumCodeApp
{
    class SumCodeApp
    {
        // Variables.
        private Package package;
        private ConnectionManager flatFileConnectionManager;
        private ConnectionManager destinationDatabaseConnectionManager;
        private Executable dataFlowTask;
        private List<String> srcColumns;

        int file_count;
        SqlConnection connection;

        String folder_path;
        String username;
        String password;
        String DB_server;
        String catalog;

        // Default Constructor.
        public SumCodeApp()
        {
        }

        // Constructor taking in user info.
        public SumCodeApp(String folder_path, String username, String password,
            String DB_server, String catalog)
        {
            this.folder_path = folder_path;
            this.username = username;
            this.password = password;
            this.DB_server = DB_server;
            this.catalog = catalog;
        }

        private void CreatePackage()
        {
            package = new Package();
            package.CreationDate = DateTime.Now;
            package.ProtectionLevel = DTSProtectionLevel.DontSaveSensitive;
            package.Name = "SumCode Package";
            package.Description = "Upload the SumCode files to the database";
            package.DelayValidation = true;
            package.PackageType = DTSPackageType.DTSDesigner90;
        }

        private void CreateFlatFileConnection()
        {
            String flatFileName = ".1105.csv";
            String flatFileMoniker = "FLATFILE";
            flatFileConnectionManager = package.Connections.Add(flatFileMoniker);
            flatFileConnectionManager.Name = "SSIS Connection Manager for Files";
            flatFileConnectionManager.Description = String.Concat("SSIS Connection Manager");
            flatFileConnectionManager.ConnectionString = flatFileName;

            // Set some common properties of the connection manager object.
            //flatFileConnectionManager.Properties["ColumnNamesInFirstRow"].SetValue(flatFileConnectionManager, false);
            flatFileConnectionManager.Properties["Format"].SetValue(flatFileConnectionManager, "Delimited");
            flatFileConnectionManager.Properties["TextQualifier"].SetValue(flatFileConnectionManager, """);
            flatFileConnectionManager.Properties["RowDelimiter"].SetValue(flatFileConnectionManager, "
");
            flatFileConnectionManager.Properties["DataRowsToSkip"].SetValue(flatFileConnectionManager, 0);

            // Create the source columns into the connection manager.
            CreateSourceColumns();
        }

        private void CreateSourceColumns()
        {
            // Get the actual connection manager instance
            RuntimeWrapper.IDTSConnectionManagerFlatFile90 flatFileConnection = flatFileConnectionManager.InnerObject as RuntimeWrapper.IDTSConnectionManagerFlatFile90;

            RuntimeWrapper.IDTSConnectionManagerFlatFileColumn90 column;
            RuntimeWrapper.IDTSName90 name;

            // Fill the source column collection.
            srcColumns = new List<String>();
            srcColumns.Add("CreateDate");
            srcColumns.Add("CorpID");
            srcColumns.Add("SumCodeID");
            srcColumns.Add("Priority");
            srcColumns.Add("SumCodeAbv");
            srcColumns.Add("SumCodeDesc");
            srcColumns.Add("SumCodeGroupID");
       
            foreach (String colName in srcColumns)
            {
                column = flatFileConnection.Columns.Add();
                if (srcColumns.IndexOf(colName) == (srcColumns.Count - 1))
                    //column.ColumnDelimiter = "
";
                    column.ColumnDelimiter = "{CR}{LF}";
                else
                    //column.ColumnDelimiter = ",";
                    column.ColumnDelimiter = "Comma {,}";

                name = (RuntimeWrapper.IDTSName90)column;
                name.Name = colName;

                column.TextQualified = true;
                column.ColumnType = "Delimited";
                column.DataType = Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_STR;
                column.ColumnWidth = 0;
                column.MaximumWidth = 255;
                column.DataPrecision = 0;
                column.DataScale = 0;

            }

        }

        private void CreateDestinationDatabaseConnection()
        {
            destinationDatabaseConnectionManager = package.Connections.Add("OLEDB");
            destinationDatabaseConnectionManager.Name = "Destination Connection - SumCodeCorpGroup";
            destinationDatabaseConnectionManager.Description = "Connection to the temporary table SumCodCorpGroup";
            destinationDatabaseConnectionManager.ConnectionString = "Data Source=DIVWL-356KCB1;Initial Catalog=SumCode;Provider=SQLOLEDB;Persist Security Info=True;User ID=sum;Password=code";
        }

        public class Column
        {
            private String name;
            private Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType dataType;
            private int length;
            private int precision;
            private int scale;
            private int codePage = 0;

            public String Name
            {
                get { return name; }
                set { name = value; }
            }
            
            public Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType DataType
            {
                get { return dataType; }
                set { dataType = value; }
            }

            public int Length
            {
                get { return length; }
                set { length = value; }
            }

            public int Precision
            {
                get { return precision; }
                set { precision = value; }
            }
            
            public int Scale
            {
                get { return scale; }
                set { scale = value; }
            }
            
            public int CodePage
            {
                get { return codePage; }
                set { codePage = value; }
            }
        }

        private Column GetTargetColumnInfo(string sourceColumnName)
        {
            Column cl = new Column();
            if (sourceColumnName.Contains("CreateDate"))
            {
                cl.Name = "CreateDate";
                cl.DataType = Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_STR;
                cl.Precision = 0;
                cl.Scale = 0;
                cl.Length = 255;
                cl.CodePage = 1252;
            }
            else if (
                sourceColumnName.Contains("CorpID"))
            {
                cl.Name = "CorpID";
                cl.DataType = Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_STR;
                cl.Precision = 0;
                cl.Scale = 0;
                cl.Length = 255;
                cl.CodePage = 1252;
            }
            else if (sourceColumnName.Contains("SumCodeID"))
            {
                cl.Name = "SumCodeID";
                cl.DataType = Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_STR;
                cl.Precision = 0;
                cl.Scale = 0;
                cl.Length = 255;
                cl.CodePage = 1252;
            }
            else if (sourceColumnName.Contains("Priority"))
            {
                cl.Name = "Priority";
                cl.DataType = Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_STR;
                cl.Precision = 0;
                cl.Scale = 0;
                cl.Length = 255;
                cl.CodePage = 1252;
            }
            else if (sourceColumnName.Contains("SumCodeAbv"))
            {
                cl.Name = "SumCodeAbv";
                cl.DataType = Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_STR;
                cl.Precision = 0;
                cl.Scale = 0;
                cl.Length = 255;
                cl.CodePage = 1252;
            }
            else if (sourceColumnName.Contains("SumCodeDesc"))
            {
                cl.Name = "SumCodeDesc";
                cl.DataType = Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_STR;
                cl.Precision = 0;
                cl.Scale = 0;
                cl.Length = 255;
                cl.CodePage = 1252;
            }
            else if (sourceColumnName.Contains("SumCodeGroupID"))
            {
                cl.Name = "SumCodeGroupID";
                cl.DataType = Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType.DT_STR;
                cl.Precision = 0;
                cl.Scale = 0;
                cl.Length = 255;
                cl.CodePage = 1252;
            }
            return cl;
        }

        private void CreateDataFlowTask()
        {
            String dataFlowTaskMoniker = "DTS.Pipeline";
            dataFlowTask = package.Executables.Add(dataFlowTaskMoniker);
            
        }

        public void ImportFile(String directory_path)
        {
            // Create the package.
            CreatePackage();

            // Create Flat File Source Connection.
            CreateFlatFileConnection();

            // Create Database Destination Connection.
            CreateDestinationDatabaseConnection();

            // Create DataFlowTask.
            CreateDataFlowTask();

            // Create the DataFlowTask
            PipeLineWrapper.IDTSComponentMetaData90 sourceComponent = ((dataFlowTask as TaskHost).InnerObject as PipeLineWrapper.MainPipe).ComponentMetaDataCollection.New();
            sourceComponent.Name = "Source File Component";
            sourceComponent.ComponentClassID = "DTSAdapter.FlatFileSource";

            PipeLineWrapper.CManagedComponentWrapper managedFlatFileInstance = sourceComponent.Instantiate();
            managedFlatFileInstance.ProvideComponentProperties();
            sourceComponent.RuntimeConnectionCollection[0].ConnectionManagerID = flatFileConnectionManager.ID;
            sourceComponent.RuntimeConnectionCollection[0].ConnectionManager = DtsConvert.ToConnectionManager90(flatFileConnectionManager);

            managedFlatFileInstance.AcquireConnections(null);
            managedFlatFileInstance.ReinitializeMetaData();


            Dictionary<String, int> outputColumnLineageIDs = new Dictionary<String, int>();
            PipeLineWrapper.IDTSExternalMetadataColumn90 exOutColumn = null;

            foreach (PipeLineWrapper.IDTSOutputColumn90 outColumn in sourceComponent.OutputCollection[0].OutputColumnCollection)
            {
                exOutColumn = sourceComponent.OutputCollection[0].ExternalMetadataColumnCollection[outColumn.Name];
                managedFlatFileInstance.MapOutputColumn(sourceComponent.OutputCollection[0].ID, outColumn.ID, exOutColumn.ID, true);
                outputColumnLineageIDs.Add(outColumn.Name, outColumn.ID);
            }
            managedFlatFileInstance.ReleaseConnections();


            String a = sourceComponent.RuntimeConnectionCollection[0].Name.ToString();
            String b = sourceComponent.OutputCollection[0].Name;
            String c = sourceComponent.OutputCollection[0].Description;
            String d = sourceComponent.OutputCollection[0].OutputColumnCollection.Count.ToString();

            // Create DataFlowTask Destination Component.
            PipeLineWrapper.IDTSComponentMetaData90 destinationComponent = ((dataFlowTask as TaskHost).InnerObject as PipeLineWrapper.MainPipe).ComponentMetaDataCollection.New();
            destinationComponent.Name = "OLEDB SQL Connection";
            destinationComponent.ComponentClassID = "DTSAdapter.OLEDBDestination";

            PipeLineWrapper.CManagedComponentWrapper managedOleInstance = destinationComponent.Instantiate();
            managedOleInstance.ProvideComponentProperties();

            // Create a path and attach the output of the source to the input of the destination.
            PipeLineWrapper.IDTSPath90 path = ((dataFlowTask as TaskHost).InnerObject as PipeLineWrapper.MainPipe).PathCollection.New();
            path.AttachPathAndPropagateNotifications(sourceComponent.OutputCollection[0], destinationComponent.InputCollection[0]);

            destinationComponent.RuntimeConnectionCollection[0].ConnectionManagerID = destinationDatabaseConnectionManager.ID;
            destinationComponent.RuntimeConnectionCollection[0].ConnectionManager = DtsConvert.ToConnectionManager90(destinationDatabaseConnectionManager);

            managedOleInstance.SetComponentProperty("AccessMode", 0);
            managedOleInstance.SetComponentProperty("OpenRowset", "[SumCode].[dbo].[SumCodeCorpGroup]");
            managedOleInstance.SetComponentProperty("AlwaysUseDefaultCodePage", false);
            managedOleInstance.SetComponentProperty("DefaultCodePage", 1252);
            managedOleInstance.SetComponentProperty("FastLoadKeepIdentity", false);     // Fast load
            managedOleInstance.SetComponentProperty("FastLoadKeepNulls", false);
            managedOleInstance.SetComponentProperty("FastLoadMaxInsertCommitSize", 0);
            managedOleInstance.SetComponentProperty("FastLoadOptions","TABLOCK,CHECK_CONSTRAINTS");

            managedOleInstance.AcquireConnections(null);
            managedOleInstance.ReinitializeMetaData();

            PipeLineWrapper.IDTSInput90 input = destinationComponent.InputCollection[0];
            PipeLineWrapper.IDTSVirtualInput90 vInput = input.GetVirtualInput();

            foreach (PipeLineWrapper.IDTSVirtualInputColumn90 vColumn in vInput.VirtualInputColumnCollection)
            {
                //if (outputColumnLineageIDs.ContainsKey(vColumn.LineageID.ToString()))
                //{
                    managedOleInstance.SetUsageType(input.ID, vInput, vColumn.LineageID, Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSUsageType.UT_READONLY);
                //}
            }

            List<String> tmp = new List<String>();
            foreach(PipeLineWrapper.IDTSInputColumn90 inc in destinationComponent.InputCollection[0].InputColumnCollection)
            {
                tmp.Add(inc.Name);
            }



            PipeLineWrapper.IDTSExternalMetadataColumn90 exColumn;
            foreach (PipeLineWrapper.IDTSInputColumn90 inColumn in destinationComponent.InputCollection[0].InputColumnCollection)
            {
                exColumn = destinationComponent.InputCollection[0].ExternalMetadataColumnCollection[inColumn.Name];
                Column mappedColumn = GetTargetColumnInfo(exColumn.Name);
                String destName = mappedColumn.Name;

                exColumn.Name = destName;

                managedOleInstance.MapInputColumn(destinationComponent.InputCollection[0].ID, inColumn.ID, exColumn.ID);
            }

            managedOleInstance.ReleaseConnections();

            DTSExecResult result = package.Execute();
            a = "0";
        }

    }
}

View Replies !
Setting ReportViewer URI And Path In Designer Works, C# Doesnt Work
in both vs2008 I added a ReportViewer control to my WinForm, intending to render an RS 2005 report remotely.  In the design pane (Report Viewer Tasks Popup) I specify <server report>,
URL    http://server name/reportserver$instance name
path /folder/report name
 
and everything is fine.
 
When I set these values in c# as

reportViewer1.ProcessingMode = ProcessingMode.Remote;

reportViewer1.ServerReport.ReportServerUrl = new Uri("http://server name/reportserver$instance name");

reportViewer1.ServerReport.ReportPath = "/folder/report name";
 
I started getting a msg saying "the source of the report definition has not been specified".  If I hit refresh, the report renders.  Before I started playing with the designer setting,  and only had the c# stuff specified, I wouldnt even get the message, the control would appear with all RS buttons (eg page forward arrow etc) disabled.
 
Does anybody know why the message is appearing and how to get c#'s settings to work immediately like designer settings? 

View Replies !
Failed When Running SSIS Package For Pulling Data From A SQL Server 2005 Database To A DBase 4 File
I created a SSIS package (package.dtsx) in SQL Server 2005 Business Intellegence Development Studio. The control flow consists of a SQL Statement Task and a Data Flow. The Data Flow consists of an OLEDB Data Source which is a table in SQL 2005 database, a Derived Column which uses Substring function to truncate the length of the source column to meet the requirement for the destination column, an OLEDB Destination which is a DBase 4 file. Before pulling data from the source to destination, I use the above mentioned SQL Statement Task to delete the DBase table (DELETE FROM dbaseTableName). So The package is supposed to delete an existing DBase table from the destination first, then pull data from a table in SQL Server 2005, truncate the column width, push the truncated data to the DBase file. It seemed no problem when I run the package the first time from within the Business Intellegence Development Studio. It always says execusion completed successfully. However, when I run it again, there were less records returned (about 1/3 less). When I run it more than three times, the resulting file is empty but the file size kept growing. So It seemed that the task failed to delete the previous DBase file and keep appending data to the file which made the file size grew but for some reason the data is missing.

I tried to change the destination to a flat file which had no problem. So I think the problem might be the delete DBase table statement is wrong or the truncate column width part is wrong or both. Could be something to do with the DBase file.

Does anybody know what's wrong with it?  any solution?

View Replies !
RESTORE FILELIST Is Terminating Abnormally Error When Running A DTS Package In SQL 2005. Works Fine In SQL 2000
Currently I receive the following error when executing script within a DTS package in SQL 2005 (it seems to be working in SQL 2000):
 

Processed 27008 pages for database 'Marketing', file 'Marketing_Data' on file 5.

Processed 1 pages for database 'Marketing', file 'Marketing_Log' on file 5.

BACKUP DATABASE successfully processed 27009 pages in 15.043 seconds (14.708 MB/sec).

(5 row(s) affected)

Msg 213, Level 16, State 7, Line 1

Insert Error: Column name or number of supplied values does not match table definition.

Msg 3013, Level 16, State 1, Line 1

RESTORE FILELIST is terminating abnormally.
 
The code I am using is:
 

-- the original database (use 'SET @DB = NULL' to disable backup)

DECLARE @DB varchar(200)

SET @DB = 'Marketing'

-- the backup filename

DECLARE @BackupFile varchar(2000)

SET @BackupFile = 'C:SQL2005 dbsMarketing.dat'

-- the new database name

DECLARE @TestDB2 varchar(200)

SET @TestDB2 = datename(month, dateadd(month, -1, getdate())) + convert(varchar(20), year(getdate())) + 'Inst1'

-- the new database files without .mdf/.ldf

DECLARE @RestoreFile varchar(2000)

SET @RestoreFile = 'C:SQL2005 dbs' + @TestDB2

DECLARE @RestoreLog varchar (2000)

SET @RestoreLog = 'C:SQL2005 dbs' + @TestDB2

-- ****************************************************************

-- no change below this line

-- ****************************************************************

DECLARE @query varchar(2000)

DECLARE @DataFile varchar(2000)

SET @DataFile = @RestoreFile + '.mdf'

DECLARE @LogFile varchar(2000)

SET @LogFile = @RestoreLog + '.ldf'

IF @DB IS NOT NULL

BEGIN

SET @query = 'BACKUP DATABASE ' + @DB + ' TO DISK = ' + QUOTENAME(@BackupFile, '''')

EXEC (@query)

END

-- RESTORE FILELISTONLY FROM DISK = 'C: empackup.dat'

-- RESTORE HEADERONLY FROM DISK = 'C: empackup.dat'

-- RESTORE LABELONLY FROM DISK = 'C: empackup.dat'

-- RESTORE VERIFYONLY FROM DISK = 'C: empackup.dat'

 

 

 

IF EXISTS(SELECT * FROM sysdatabases WHERE name = @TestDB2)

BEGIN

SET @query = 'DROP DATABASE ' + @TestDB2

EXEC (@query)

END

RESTORE HEADERONLY FROM DISK = @BackupFile

DECLARE @File int

SET @File = @@ROWCOUNT

DECLARE @Data varchar(500)

DECLARE @Log varchar(500)

SET @query = 'RESTORE FILELISTONLY FROM DISK = ' + QUOTENAME(@BackupFile , '''')

CREATE TABLE #restoretemp

(

LogicalName varchar(500),

PhysicalName varchar(500),

type varchar(10),

FilegroupName varchar(200),

size int,

maxsize bigint

)

INSERT #restoretemp EXEC (@query)

SELECT @Data = LogicalName FROM #restoretemp WHERE type = 'D'

SELECT @Log = LogicalName FROM #restoretemp WHERE type = 'L'

PRINT @Data

PRINT @Log

TRUNCATE TABLE #restoretemp

DROP TABLE #restoretemp

IF @File > 0

BEGIN

SET @query = 'RESTORE DATABASE ' + @TestDB2 + ' FROM DISK = ' + QUOTENAME(@BackupFile, '''') +

' WITH MOVE ' + QUOTENAME(@Data, '''') + ' TO ' + QUOTENAME(@DataFile, '''') + ', MOVE ' +

QUOTENAME(@Log, '''') + ' TO ' + QUOTENAME(@LogFile, '''') + ', FILE = ' + CONVERT(varchar, @File)

EXEC (@query)

END


 
 
 
 

View Replies !
Error Creating Package - Failed To Save Package File &&"... Emp EmpD4B.tmp&&" With Error 0x80040154 &&"Class Not Registered&&"
I had just installed SQL 2005 dev on my laptop and got an error message when I tried to create a package using the BI IDE. I received the same error using VS2005 IDE. But the project was created regardless without any packages. When I tried to create a new package in the project, I received the same error again, but with an option to view the error details.
 
Following is the text of the error details:
 
TITLE: Microsoft Visual Studio
------------------------------
 
Error creating package
 
------------------------------
ADDITIONAL INFORMATION:
 
Failed to save package file "C:Documents and SettingsmyoungbloodLocal SettingsTemp mpD4B.tmp" with error 0x80040154 "Class not registered".
 

------------------------------
 
Failed to save package file "C:Documents and SettingsmyoungbloodLocal SettingsTemp mpD4B.tmp" with error 0x80040154 "Class not registered".
 

------------------------------
BUTTONS:
 
OK
------------------------------
I found a similar post that suggested that they try the following:
 

regsvr32 msxml3.dll
regsvr32 msxml4.dll
regsvr32 msxml6.dll
 
But msxml6.dll could not be found.
 
I did get a copy of this file from a coworker, and after copying it and registering it, I was able to add a package to the project.
 
My concern now is what is the likelyhood of this being the only file missing from the installation.
 
I'm wondering if I should reinstall, or (if it exists) do a repair on the installation.
 
Thanks.
 
Marshall

View Replies !
How To Import SQL 2005 .BAK From One Hosting Package To A Different Hosting Package?
 

I have a SQL .bak generated by our existing hosting package at 1and1.com, I want to import that SQL .bak to our new hosting package at ixwebhosting.com.
 
ixwebhosting.com don't have a import feature in their control panel.
 
I have to maintain the SQL at ixwebhosting.com using Microsoft SQL Server Management Studio Express since they don't have that feature in their cp. I don't see any import features in Microsoft SQL Server Management Studio Express either.
 
How can I import it using Microsoft SQL Server Management Studio Express or another free GUI program?

View Replies !
DTS Migration Wizard Failed To Save Package File -with Error 0x80070002 - Th System Cannot Find The File Specified.
Hi,

I use the DTS 2000 Migration Wizard to migrate one of the DTS 2000 packages to SSIS.  The migration failed with the following error message:


LogID=17
#Time=6:31 PM
#Level=DTSMW_LOGLEVEL_ERR
#Source=Microsoft.SqlServer.Dts.MigrationWizard.Framework.Framework
#Message=Microsoft.SqlServer.Dts.Runtime.DtsRuntimeException: Failed to save package file "C:Documents and SettingsfuMy DocumentsVisual Studio 2005ProjectsKORTONKORTONProcessCubesMF.dtsx" with error 0x80070002 "The system cannot find the file specified.".
 ---> System.Runtime.InteropServices.COMException (0xC001100E): Failed to save package file "C:Documents and SettingsfuMy DocumentsVisual Studio 2005ProjectsKORTONKORTONProcessCubesMF.dtsx" with error 0x80070002 "The system cannot find the file specified.".

   at Microsoft.SqlServer.Dts.Runtime.Wrapper.ApplicationClass.SaveToXML(String FileName, IDTSPersist90 pPersistObj, IDTSEvents90 pEvents)
   at Microsoft.SqlServer.Dts.Runtime.Application.SaveToXml(String fileName, Package package, IDTSEvents events)
   --- End of inner exception stack trace ---
   at Microsoft.SqlServer.Dts.Runtime.Application.SaveToXml(String fileName, Package package, IDTSEvents events)
   at Microsoft.SqlServer.Dts.MigrationWizard.DTS9HelperUtility.DTS9Helper.SaveToXML(Package pkg, String sFileLocation)
   at Microsoft.SqlServer.Dts.MigrationWizard.Framework.Framework.StartMigration(PackageInfo pInfo)

Looking at the call stack, it looks like COM wrapper fails on SaveToXML.  Can someone tell me how I should workaround this problem?

Thanks,

Bobby Fu

View Replies !
DTS 2000 Package Performance Issue On Sqlserver 2000
 
 

Hi guys,
 
I have a performance related question about the DTS package in sqlserver 2000 which i have developed
We have developed a DTS package which will migrate a view 'ATTRITION' from Sqlserver 2000 to  an Oracle database.The design of the package is as follows
First step:  It checks for the existance of the table 'ATTRITION' in oracle database, if  table 'ATTRITION' is not there it will create a table called 'ATTRITION' in the oracle db.If the table 'ATTRITION' is already present in the oracle db,then the table is truncated.

Second step: The view 'ATTRITION' is migrated to Oracle table 'ATTRITION'.
For the migration, i have used a connection object which connects to sqlserver 2000 and for oracle connection i have used another connection object 'Microsoft ODBC driver for oracle' and i have joined both the connection objects with 'Transform data task' task which maps one to one from sqlserver 2000 where view 'ATTRITION' exists with oracle database where Table 'ATTRITION' exists.
Roughly i have around 65000 rows in 'ATTRITION' view of sqlserver 2000 which needs to be migrated.When im running the package on my system it takes around 4 minutes to migrate all the rows but when im running it on the server it takes a lot lot of time more than 1 hour.
 
The view definition im using has more than 10 tables joined together.But if its a problem of query used in the view,and if i run the view seperately it quickly displays the data hardly takes 1 minute. and even if i run the package on my local pc it doenst take much time.Now my confusion is why its taking soo much time on server.If i create a indexed view then will it solve my problem.Please suggest...
Thanks in advance
 
REgards
Arvind L

View Replies !
Error Stating Package Failure While Executing SSIS Package In Standard Edition
Hi,

      I have developed an SSIS package for ETL purpose. I am invoking the SSIS package through .Net console application by referencing the ManagedDTS Assembly. I am able to execute the package in Sql Server 2005  Developer Edition and it runs fine till completion.

But when i try to execute the packahe in Sql Server 2005 Standard edition, by invoking the package  through .Net console application the status of the package is failure.

 Can any one help me how to over come this problem.

 

 

View Replies !
Package Changes Made And Saved Revert To Prior State When Package Closed And Re-opened
I copied and added an existing package as a new package to a project and have been having trouble with settings reverting to those for the original package after I modify and save the changes for the new package. Sometimes happens with the save itself, other times it happens when I close and re-open the package. Most cases are with connections that revert back to the original file reference, but there are also control flow and data flow elements that keep reverting back to either settings from the original package or defaults that result in the re-opened package being in error. Not sure how to get around this issue short of developing the new package from scratch which I'd rather not do since it is fairly complex. Any help anyone can provide is appreciated. Thanks.

View Replies !
Passing Execute DTS Package Result (success/failure) To Calling SSIS Package
I have a SSIS job, one of the last steps it performs is to execute a SQL 2000 DTS package. This has to be done as a SQL 2000 DTS package as it is performing rebuilds of SQL 2000 Analysis Services dimensions and cubes. We've found that when the DTS fails the SSIS job is happily completing showing as a success, we would prefer to know it went wrong.
 
As far as I'm aware SSIS merely starts the DTS off and doesn't care about it's result. I've taken a look in to turning on the logging for the execute DTS package and thought that the ExecuteDTS80PackageTaskTaskResult would give me the answer I need...but is merely written to the log not available as an event-handler. It also looks like it is not safe to put a SQL task in as the next item to go look at the SQL 2000 system tables to look at the log for the DTS package as the SSIS documentation warns that the DTS package can continue to run after the execute DTS package task has ended.
 
Ideally I want any error raised within the DTS package to cascade up to be an error in the SSIS job, I can then handle it appropriately. I cannot find a way to do this. Is there a way?
 
If not, can anyone suggest how in the remainder of the SSIS tasks I can be sure that the DTS has completed before I start any other tasks that will check for the SQL 2000 log of its execution?

View Replies !
Does Not Work --ETL Package Tutorial (Lesson 1: Creating The Project And Basic Package )
Hi,

I am new to SSIS. I followed the direction of the tutorial Creating Simple ETL Tutorial package in BooksOnline.  I have tried more than five times and have done exactly as suggested in the tutorial but it does not work.

The URL is:

http://msdn2.microsoft.com/en-us/library/ms169917.aspx

I get these warnings and finally fails:

1)[Lookup [30]] Error: Row yielded no match during lookup.

2) [Lookup [30]] Error: The "component "Lookup" (30)" failed because error code 0xC020901E occurred, and the error row disposition on "output "Lookup Output" (32)" specifies failure on error. An error occurred on the specified object of the specified component.

3) [DTS.Pipeline] Error: The ProcessInput method on component "Lookup" (30) failed with error code 0xC0209029. The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.

4) [DTS.Pipeline] Error: Thread "WorkThread0" has exited with error code 0xC0209029.

Can someone  help me with this tutorial error? or Am I doing something wrong.

Thank you,

 

 

 

 

View Replies !
How To Pass Parent Package Parameters To A Package Executed By SQL Server Job Agent
Hi,

I'd like to know if there's a way to pass parent package parameters to a package executed by SQL Server Job Agent? It appears that sp_start_job doesn't have any variable that could accomodate this.

Hope to hear your ideas.

View Replies !
Several Different Errors When Creating And Running SSIS Package. Package Runs Successfuly Sometimes.
Hi All,

 

I am in the process of moving from a 32-bit SQL Server 2005 Enterprise (9.0.3054) to a 64-bit SQL Server 2005 Enterprise (9.0.3054  with 4 CPUs and 8GB of memory on Win 2003 SP2) and the process has been very frustrating to say the least. I am having a problem with packages that I created on my 64-bit SQL Server. I am importing a few tables from the 32-SQL Server into the 64-bit SQL Server using the Task --> Import to create the package.

 

Sometimes when I am creating a package I get the following error in a message box:

 

SQL Server Import and Export Wizard

The SSIS Runtime object could not be created. Verify that DTS.dll is available and registered. The wizard cannot continue and it will terminate.

Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (System.Windows.Forms)

 

 

Other times when I run a package that has run successfully before I get the following error:

 

Faulting application dtexecui.exe, version 9.0.3042.0, stamp 45cd726d, faulting module unknown, version 0.0.0.0, stamp 00000000, debug? 0, fault address 0x025d23f0.

 

 

Other times I get this error message:

 

.NET Runtime version 2.0.50727.1433 - Fatal Execution Engine Error (79FFEE24) (80131506)

 

 

And still other times

 

The package appears to hang when running. By this I mean that the Package Execution Progress shows progress up to a point then it just stops. (The package takes about 17 seconds to run normally) CPU usage is at 1% and the package cannot be stopped.  

 

 

I have deleted and re-created the package several times and I have also re-installed the service pack on the SQL Server (9.0.3054) but that did not help.

 

 

Does anyone have any other suggestions to try?

 

 

Thanks.

 
 
 

View Replies !
Package Path Filename Not Found Package Instalation Wizard : Warning
 

I have small package , using Package Configuration i select XML Configuration file and select some path like c:SSIS Configuration in the developemnt. While instalaing the Package in Test Eniveronment i got warning package configuration filename c:SSIS ConfigurationpackageCFG.dtsconfig not found.It takes the developemt machine path. How to configure this different environment ?
 
Thanks
Sam K
 
 

View Replies !
Is It Possible To Change Or Replace The Default Package Template Named New SSIS Package?
I would like to standardize SSIS development so that developers all start with the same basic template. I have set it up so it is an available template ( http://support.microsoft.com/kb/908018 ) but I would like it to be the default when a new project or package is created. Is this an option?

View Replies !
Variable In A Foreach Loop Becomes NULL When Package Executed As Child Package
I have created a SSIS package with a Foreach Loop including a Data Flow Task, which in turn include a Row Count component which pass the row count value to variable with package scope. The variable is used in an Execute SQL Task following the Data Flow Task.

 

The package executes successfully when executed on its own, but when executed as a child from a parent package (which only include an Execute Package Task) the variable from the Foreach Loop becomes NULL.

 

There are a lot of other variables in the package receiving values dynamically without any problem, the row count variable however is the only variable in the package that receives a value as part of a Data Flow (and used in following tasks within the Foreach Loop).

 

Why does the variable become Null? For your information,  I am using a variable with package scope and no variables from the parent package are used or passed from the child package to the parent package.

 

(For your information, we are running the 64 bit version)


 

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved