If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > Serious bug in DTS on SQL Server 2005

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-04-09, 08:34
adonisaseem adonisaseem is offline
Registered User
 
Join Date: Jul 2009
Posts: 5
Exclamation Serious bug in DTS on SQL Server 2005

Has anyone noticed this -

If you use a versioned SP with some input parameters in the data transformation task of DTS on SQL Server 2005, you'll get an error while executing the package. The same DTS runs perfectly on SQL Server 2000.

I hope everyone is familiar with versioning of a stored procedure by suffixing a semicolon and version number e.g. WP_GetDespatches;2

Serious bug in DTS on SQL Server 2005-bug.jpg

See the attached image showing the data transformation task properties. SP named WP_GetDespatches (version 2 having 2 parameters) is being called here. For some reason SQL Server 2005 finds the syntax invalid. Looks like its unhappy to see both ; and ? together whereas SQL Server 2000 has no problem with this.

As a workaround I had to create a new stored procedure called WP_GetDespatches2 and had to use that instead like this -
exec WP_GetDespatches2 ?,?

Please share your ideas if you ever encountered this bug.

Last edited by adonisaseem; 07-04-09 at 08:38.
Reply With Quote
  #2 (permalink)  
Old 07-04-09, 12:04
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,309
I've seen that problem, but it was fixed early in 2007. You need to apply service packs to both the DTS runtime and the SQL Server if you're still having that problem.

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote
  #3 (permalink)  
Old 07-04-09, 13:02
adonisaseem adonisaseem is offline
Registered User
 
Join Date: Jul 2009
Posts: 5
Thanks Pat Phelan for your post.

We did apply SP3 on SQL Server 2005 but it didn't help. Which patch you applied on DTS runtime to make it work?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On