Showing posts with label packages. Show all posts
Showing posts with label packages. Show all posts

Monday, March 19, 2012

BIDS programming

Hi,

I want to create a wizard to help build my packages for certain situations, something like the export and import wizard.

I couldn't find the API to do it. can you help?

Thanks

Noa

Search Books Online for Integration Services Programming.

Lots o' content there.

K

|||

Can you be more specific?

I only found programming custom components to SSIS, not a wizard to ease use.

|||

SQL Server Books Online does not have documentation on programming your own Wizard application. I think that you'll find some information on this in the Visual Studio documentation.

As for creating a package programmatically -- which is what you want your wizard to do, as I understand -- you will find sections in BOL on "Building Packages Programmatically" and "Building the Data Flow Programmatically" to get you started.

We are all learners when it comes to the vast and flexible new Integration Services APIs.

-Doug

|||

Noa wrote:

Can you be more specific?

I only found programming custom components to SSIS, not a wizard to ease use.

You will need general VS documentation. See topics VsWizard Interface, IDTWizard Inteface.

Also there is a topic Walkthrough: Creating a Wizard in Dev Tools & Languages > VS > IDE > Customizing and Automating the Development Environment > Automation and Extensibility for Visual Studio > Creating Add-ins and Wizards.

BIDS programming

Hi,

I want to create a wizard to help build my packages for certain situations, something like the export and import wizard.

I couldn't find the API to do it. can you help?

Thanks

Noa

Search Books Online for Integration Services Programming.

Lots o' content there.

K

|||

Can you be more specific?

I only found programming custom components to SSIS, not a wizard to ease use.

|||

SQL Server Books Online does not have documentation on programming your own Wizard application. I think that you'll find some information on this in the Visual Studio documentation.

As for creating a package programmatically -- which is what you want your wizard to do, as I understand -- you will find sections in BOL on "Building Packages Programmatically" and "Building the Data Flow Programmatically" to get you started.

We are all learners when it comes to the vast and flexible new Integration Services APIs.

-Doug

|||

Noa wrote:

Can you be more specific?

I only found programming custom components to SSIS, not a wizard to ease use.

You will need general VS documentation. See topics VsWizard Interface, IDTWizard Inteface.

Also there is a topic Walkthrough: Creating a Wizard in Dev Tools & Languages > VS > IDE > Customizing and Automating the Development Environment > Automation and Extensibility for Visual Studio > Creating Add-ins and Wizards.

Sunday, March 11, 2012

BIDev Studio Merging 2 SSIS packages in to one

Hi,

I am new to the product and have set up an intergration service comprising of two seperate ssis packages. At present as far as i know I have to execute them one at a time. Is there any way of performing a single execute to run them both or alternatively merging them into a single package.

Any help would be greatfully appreciated.

Chris

Chris, there is an "Execute Package" task in SSIS that should do the trick for you... Just place two on the control flow and point to the packages you currently have.

You could also merge them into one package, but I have not tried to copy/paste tasks/flows from one package into another...

|||

Thanks Dan

The Execute Package works a treat.

Chris

BIDev Studio Merging 2 SSIS packages in to one

Hi,

I am new to the product and have set up an intergration service comprising of two seperate ssis packages. At present as far as i know I have to execute them one at a time. Is there any way of performing a single execute to run them both or alternatively merging them into a single package.

Any help would be greatfully appreciated.

Chris

Chris, there is an "Execute Package" task in SSIS that should do the trick for you... Just place two on the control flow and point to the packages you currently have.

You could also merge them into one package, but I have not tried to copy/paste tasks/flows from one package into another...

|||

Thanks Dan

The Execute Package works a treat.

Chris

BI/SSIS Developer environment?

Which sql components are needed to develop/execute packages within BIStudio considering that SSIS is centralized in one sql server?
Is Source Safe 2005 integration within BI has the ability to add/update packages to a SQL server location instead of a system file?

Thanks,

Greg.I can only answer your first question.

When you install Business Intelligence Development Studio from the Client Tools node in SQL Server setup, the components necessary to develop and test Integration Services packages are also installed. However you cannot run packages outside the IDE on a client computer configured in this manner.

The best way to run a package from clients in an ad hoc manner is to create an unscheduled SQL Agent job on the server to run the package, and launch that job from the client by using the system stored procedure, sp_start_job.

-Doug

Sunday, February 19, 2012

Best way to promote DTS packages

To make the packages portable I have made connections as (local). Because once the packages go from say Development to Production, they would still work without re-designing them on a different box. The '(local)' as a the servername always looks for a the (local) server its on. But this seems too simple.

I have tired different methods such as using a INI file, Dynamic Protperties task etc., I have used global variables in the packages. Ultimately, I have used configuration tables to supply all the global variables, file names, etc.

Is there a flaw in this idea? Has anyone tired this before? If not how have you made DTS packages portable? Any ideas?

Thanks in advance.Your Idea sounds fine, but how does the package identify which record to pull to get the correct information. Do you query the server name, and use that in a where clause?

This is what I do, I put all my information in the registry of that machine. then have an active x script pull it out and assign it to global variables, then populate the properties of the tasks. How you populate the properties depends on the version of sql you are running.

hope this helps.|||Your Idea sounds fine, but how does the package identify which record to pull to get the correct information. Do you query the server name, and use that in a where clause?

This is what I do, I put all my information in the registry of that machine. then have an active x script pull it out and assign it to global variables, then populate the properties of the tasks. How you populate the properties depends on the version of sql you are running.

hope this helps.|||Originally posted by SHICKS
Your Idea sounds fine, but how does the package identify which record to pull to get the correct information. Do you query the server name, and use that in a where clause?

This is what I do, I put all my information in the registry of that machine. then have an active x script pull it out and assign it to global variables, then populate the properties of the tasks. How you populate the properties depends on the version of sql you are running.

hope this helps.

Yeah i run queries using the dynamic task properties to assign the global variables with the proper value from a conflict table. I have heard alot about putting the information in the registry of that machine. To do this wont you need to go on the computer you want to put the reg on? IF thats the case, it's hard for me to do that cuz the DEV,UAT,Production are spread all over the country.

But I would appreciate if I could find some more information about using registries.

Thanks is advance.|||Originally posted by vmlal
Yeah i run queries using the dynamic task properties to assign the global variables with the proper value from a conflict table. I have heard alot about putting the information in the registry of that machine. To do this wont you need to go on the computer you want to put the reg on? IF thats the case, it's hard for me to do that cuz the DEV,UAT,Production are spread all over the country.

But I would appreciate if I could find some more information about using registries.

Thanks is advance.

Updating the registry on remote machines is an administration issue I don't think I can anwser, but here is how I read the registy in an ActiveX script

Dim sh

Set sh = CreateObject("WScript.Shell")

path=sh.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\FileLocations\Path")
server=sh.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Server\Server")
database=sh.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Server\Database")
username=sh.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Login\Username")
password=sh.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Login\Password")