All of a sudden this morning my ASP files started generating the error:

Out of String Space: 'Replace'

These script files have been running just fine for several weeks with no
problems. I did review the code and yes the script is calling the
Replace function at the line specified in the error information.

I'm puzzled as to why the code would all of a sudden start generating
this error ?



Any ideas ?

Ed

Re: Out of String Space: 'Replace' by Ray

Ray
Tue Jul 22 08:37:58 CDT 2003

How large is this string? A string is limited to "approximately" 2 billion
characters. What's your code?

Ray at work


"Ed Swartz" <Ed.Swartz@SandyPondConsulting.com> wrote in message
news:3F1D3BCD.50707@SandyPondConsulting.com...
>
> All of a sudden this morning my ASP files started generating the error:
>
> Out of String Space: 'Replace'
>
> These script files have been running just fine for several weeks with no
> problems. I did review the code and yes the script is calling the
> Replace function at the line specified in the error information.
>
> I'm puzzled as to why the code would all of a sudden start generating
> this error ?
>
>
>
> Any ideas ?
>
> Ed
>



Re: Out of String Space: 'Replace' by Bob

Bob
Tue Jul 22 08:52:23 CDT 2003

Here's a more narrowed-down search result: http://tinyurl.com/hoe5

Bob Barrows wrote:
> Ed Swartz wrote:
>> All of a sudden this morning my ASP files started generating the
>> error:
>>
>> Out of String Space: 'Replace'
>>
>> These script files have been running just fine for several weeks with
>> no problems. I did review the code and yes the script is calling the
>> Replace function at the line specified in the error information.
>>
>> I'm puzzled as to why the code would all of a sudden start generating
>> this error ?
>>
>>
>>
>> Any ideas ?
>>
>> Ed
>
> I had never seen this either. so i did a Google search:
> http://tinyurl.com/hoc3
>
> HTH,
> Bob Barrows




Re: Out of String Space: 'Replace' by Ed

Ed
Tue Jul 22 09:34:35 CDT 2003

Ray: The string in question is about 11,398 characters in length. This
is much less than the 2 billion limit. So, from that viewpoint there
shouldn't be any problem with ASP handling a string of 11K characters.

The code is rather complicated so I'm not sure it's worth posting it here.

Aaron:

The code example in ASPFAQ shows working with a string of 32,000,000
characters. The string I'm working with is about 11K characters as noted
above.


The hosting firm reset the server, the errors have stopped and my web
pages are displaying just fine.


Ed


Ed Swartz wrote:
>
> All of a sudden this morning my ASP files started generating the error:
>
> Out of String Space: 'Replace'
>
> These script files have been running just fine for several weeks with no
> problems. I did review the code and yes the script is calling the
> Replace function at the line specified in the error information.
>
> I'm puzzled as to why the code would all of a sudden start generating
> this error ?
>
>
>
> Any ideas ?
>
> Ed
>