How can I modify .dtsx file .?

  • Hi All,

    How can I modify .dtsx file .? Its SQL Server 2005 SSIS package.

    If I simply open in notepad and make the changes will it work .?

    Pelase guide. Thanks in advance.

    Smith

  • open it in BIDS and modify

  • Thanks for your response..

    I did it this way as I dint have entire solution.

    I created new package in BIDS. Imported this particular DTSX file. Modified it. Build the package and JUST COPIED the .DTSX file from Bin directory.

    I created a test job and it's working fine.

    Did I do right.? My doubt is that if I SIMPLY COPY THE UPDATED .DTSX in the folder in production server and rename the original existing file to something else, will it work.?? Will the updations reflect.?

    Thanks.

  • That works, as you've seen. The .dtsx file contains the changes you've saved. It's also a good idea to save the package\solution in source control also.

    Greg

  • Thank you somuch.

    Will update in production server and see.

    Thanks to all again.

  • As Greg said, that works...

    .... but only if you are running an Agent job against that particular DTSX file, stored on the file system.

    You may know this already, but I thought I'd add: if you store your jobs in MSDB and not on the file system, to change the package you must (1) export the package from MSDB to the file system; (2) edit the file in BIDS and save it; and (3) re-import the package from the file system back into MSDB.

    Once you've done this, the DTSX file on the file server is no longer needed. Again, this is true only if you are storing packages in MSDB.

    Rich

  • Thanks. I was not aware about it as well. Hardly worked in Integration Packages. Thanks again.

  • Hi,

    I tried to update the .dtsx file using notepad in development server and that change is in Script Component but when I ran the package that change didn't reflected in my DB.

    So I did the change in my local and again copy pasted the package in dev. after that everything worked well.

    Just wondering is it like we cannot modify the .dtsx file directly or we always we need to do it through BIDS.

    Thanks in advance.

  • trikha.ishan (6/18/2014)


    Hi,

    I tried to update the .dtsx file using notepad in development server and that change is in Script Component but when I ran the package that change didn't reflected in my DB.

    So I did the change in my local and again copy pasted the package in dev. after that everything worked well.

    Just wondering is it like we cannot modify the .dtsx file directly or we always we need to do it through BIDS.

    Thanks in advance.

    You can change most things except the compiled VSTA scripts, that is the script task and script component. Changes in those means it has to be re-build.

    😎

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply