Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

DTS packages from 2008sp2 to SQL 2017

DTS packages from 2008sp2 to SQL 2017

DTS packages from 2008sp2 to SQL 2017


Not sure if this is the right forum.

We are moving from SQL server 2008sp2 to SQL 2017. In 2008 we have some DTS packages. I have 2 questions

1. Where can I see in 2008 when the packages were last run in SQL.
2. How do I transfer the DTS packages to 2017, I know it probably will mean moving them to SSIS, but is their a tool that does this.


RE: DTS packages from 2008sp2 to SQL 2017

no other option for you other than SSIS - support for DTS ended already.

as you are still on 2008 take that opportunity to convert them to SSIS - on newer versions the tool is not available.



Frederico Fonseca
SysSoft Integrated Ltd

FAQ219-2884: How Do I Get Great Answers To my Tek-Tips Questions?
FAQ181-2886: How can I maximize my chances of getting an answer?

RE: DTS packages from 2008sp2 to SQL 2017


Ok managed to get the DTS migrated. However when I load it in BIDS I am running into coding issue.

I did not realise but the DTS is using Active X script. After some googling I found the script needs changing into C# of which I know nothing about. Is there any way to simply convert the code or does it need re-writing completely in C# The Active X script is below. Thanks

Function Main()
' copy correct datafile to 'current'

Dim ofilesys, Y, M, oFileCopy
Y = Right("0000" & CStr(Year(Now())),4)
M = Right("00" & CStr(Month(Now())),2)

set ofilesys=CreateObject("Scripting.FileSystemObject")
If ofilesys.FileExists("D:\MILL_FILES\O1\STOCK_" & Y & "_" & M & ".CSV") Then
set oFileCopy = ofilesys.getfile("D:\MILL_FILES\O1\STOCK_" & Y & "_" & M & ".CSV")
End If

set ofilesys = nothing
set ofilecopy = nothing

Main = DTSTaskExecResult_Success
End Function

RE: DTS packages from 2008sp2 to SQL 2017


Not easy for me unfortunately, I have googled somewhat but cannot find anything that helps. if you have any links you know of that would be useful.

Thanks for your reply I appreciate it.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close