dbTalk Databases Forums  

An error occurred while assigning a value to variable

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss An error occurred while assigning a value to variable in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gojowy@gmail.com
 
Posts: n/a

Default An error occurred while assigning a value to variable - 04-03-2008 , 01:15 PM






Hi,

I'm getting following error while running SSIS package:

[Execute SQL Task] Error: An error occurred while assigning a value to
variable "variable_name": Multiple-step OLE DB operation generated
errors. Check each OLE DB status value, if available. No work was
done.

My package works fine on my laptop, but it fails on server, so I
belive it may be security issue.

please advise,

cheers,
Lukasz

Reply With Quote
  #2  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: An error occurred while assigning a value to variable - 04-07-2008 , 07:11 AM






Hi Lukasz,

Are you getting any indication of what errors are being generated by
the OLE DB operation? This might help to debug the problem.

Good luck!
J

Reply With Quote
  #3  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: An error occurred while assigning a value to variable - 04-07-2008 , 07:11 AM



Hi Lukasz,

Are you getting any indication of what errors are being generated by
the OLE DB operation? This might help to debug the problem.

Good luck!
J

Reply With Quote
  #4  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: An error occurred while assigning a value to variable - 04-07-2008 , 07:11 AM



Hi Lukasz,

Are you getting any indication of what errors are being generated by
the OLE DB operation? This might help to debug the problem.

Good luck!
J

Reply With Quote
  #5  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: An error occurred while assigning a value to variable - 04-07-2008 , 07:11 AM



Hi Lukasz,

Are you getting any indication of what errors are being generated by
the OLE DB operation? This might help to debug the problem.

Good luck!
J

Reply With Quote
  #6  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: An error occurred while assigning a value to variable - 04-07-2008 , 07:11 AM



Hi Lukasz,

Are you getting any indication of what errors are being generated by
the OLE DB operation? This might help to debug the problem.

Good luck!
J

Reply With Quote
  #7  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: An error occurred while assigning a value to variable - 04-07-2008 , 07:11 AM



Hi Lukasz,

Are you getting any indication of what errors are being generated by
the OLE DB operation? This might help to debug the problem.

Good luck!
J

Reply With Quote
  #8  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: An error occurred while assigning a value to variable - 04-07-2008 , 07:11 AM



Hi Lukasz,

Are you getting any indication of what errors are being generated by
the OLE DB operation? This might help to debug the problem.

Good luck!
J

Reply With Quote
  #9  
Old   
jhofmeyr@googlemail.com
 
Posts: n/a

Default Re: An error occurred while assigning a value to variable - 04-07-2008 , 07:11 AM



Hi Lukasz,

Are you getting any indication of what errors are being generated by
the OLE DB operation? This might help to debug the problem.

Good luck!
J

Reply With Quote
  #10  
Old   
gojowy@gmail.com
 
Posts: n/a

Default Re: An error occurred while assigning a value to variable - 04-07-2008 , 10:17 AM



On Apr 7, 2:11*pm, jhofm... (AT) googlemail (DOT) com wrote:
Quote:
Hi Lukasz,

Are you getting any indication of what errors are being generated by
the OLE DB operation? *This might help to debug the problem.

Good luck!
J
Hi J,

I could not find this indication, but fortunatelly I found the
solution. It seems that passing value from sql query to SSIS variable
needed some extra type conversion (binary => varchar) - however on my
laptop (xp pro) conversion was not needed, whereas on server (WS2003)
it was.

best regards,
LG


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.