Today when I was migrating our SSIS packages to SQL Server 2008, I was getting this error “Name ‘Dts’ is not declared”.
When I searched in google I found this support article. In my code we initialized dts variables in ScriptMain.vb, when we moved that code to main function; the issue got resolved.
http://support.microsoft.com/kb/955525
Advertisement