dbTalk Databases Forums  

Out of Memory Error

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


Discuss Out of Memory Error in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Akber
 
Posts: n/a

Default Out of Memory Error - 03-24-2005 , 02:47 AM






I am using Transform Data Task to transform data from table to text file. I
am using lookup query to get the value of a single column using VBScript in
transform data task. But when I test the particular VBScript task it gives me
the following error

Error Code:0
Error Source: Microsoft VBScript runtime error
Error Description: Out of Memory

Any Idea on how to resolve the error?
--
Thanks
Akber.

Reply With Quote
  #2  
Old   
Ryan Walberg [MCSD]
 
Posts: n/a

Default Re: Out of Memory Error - 03-28-2005 , 11:13 AM






Akber wrote:
Quote:
I am using Transform Data Task to transform data from table to text file. I
am using lookup query to get the value of a single column using VBScript in
transform data task. But when I test the particular VBScript task it gives me
the following error

Error Code:0
Error Source: Microsoft VBScript runtime error
Error Description: Out of Memory
That can't be all right... error code 0 means no error.


Reply With Quote
  #3  
Old   
Akber
 
Posts: n/a

Default Re: Out of Memory Error - 03-29-2005 , 12:11 AM



Ryan thanks for the response.

But that is what SQL Server DTS is showing me the error.
However I have identified and resolved the problem.
The problem was that whenever the VBScript Transformation in Data Transform
Data Task encounters a null value from the source column and it tries to pass
that value to the lookup query it fails. The resolution was to first check if
the source column value is null, if yes then do what ever suites ur
requirement. Either to ignore that value or replace it with some constant and
then pass it to ur lookup query.


"Ryan Walberg [MCSD]" wrote:

Quote:
Akber wrote:
I am using Transform Data Task to transform data from table to text file. I
am using lookup query to get the value of a single column using VBScript in
transform data task. But when I test the particular VBScript task it gives me
the following error

Error Code:0
Error Source: Microsoft VBScript runtime error
Error Description: Out of Memory

That can't be all right... error code 0 means no error.


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.