Hi,

I have an asp page that imports delimited text files into a database. One
of our users has rather large text files. Once all these files are
imported the page prints the word "Success" to the screen.

This no longer works when importing the large files. If I shorten the
number of files imported so it takes just a few minutes the word "Success"
appears and all works fine. If I alter the asp back to import all the
files (takes about 10 minutes) the browser sits at the page loading screen
indefinably.

This script creates log files as it goes so I can see that all the files
are imported successfully (that's why I know it takes about 10 minutes : )
just that the web page fails to report this.

After the last import I use Response.Write "Success".
I have tried Response.Flush, Response.End and played with the WriteBlock
command. None of these make any difference. Any ideas on how fix this?

Thanks

Dominic Godin

Re: Response.Write not writing anything by Viatcheslav

Viatcheslav
Mon May 24 15:50:11 CDT 2004

Check IIS settings - it can stop script after some time. Check
ConnectionTimeout, AspScriptTimeout, may be other timeouts. 10 minutes is
quite much for one page and may break one or another timeout.

//------------------------------------
Regards,
Vassiliev V. V.
http://www-sharp.com -
Scripting/HTA/.Net Framework IDE


"Dominic Godin" <nospam@plz> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:Xns94F3AF101AC94nospamplz@207.46.248.16...
> Hi,
>
> I have an asp page that imports delimited text files into a database. One
> of our users has rather large text files. Once all these files are
> imported the page prints the word "Success" to the screen.
>
> This no longer works when importing the large files. If I shorten the
> number of files imported so it takes just a few minutes the word "Success"
> appears and all works fine. If I alter the asp back to import all the
> files (takes about 10 minutes) the browser sits at the page loading screen
> indefinably.
>
> This script creates log files as it goes so I can see that all the files
> are imported successfully (that's why I know it takes about 10 minutes : )
> just that the web page fails to report this.
>
> After the last import I use Response.Write "Success".
> I have tried Response.Flush, Response.End and played with the WriteBlock
> command. None of these make any difference. Any ideas on how fix this?
>
> Thanks
>
> Dominic Godin
>



Re: Response.Write not writing anything by Dominic

Dominic
Tue May 25 04:32:27 CDT 2004

I tried this it has made no difference. Strangely if I output each line
imported with a Response.Write and a Response.Flush as I go along it
will print it all out followed by the word "Success". If I comment out
these lines as I just want the word "Success" the browser loads
indefinitely.

I seems if I start using the response early and continuously it doesn't
have a problem, however if I only use it at the end nothing happens.
Could this be something at the browser end? I'm using I.E. 6


Dominic Godin

"Viatcheslav V. Vassiliev" <msnewsgroup@www-sharp.com> wrote in
news:#0vw0CdQEHA.3016@tk2msftngp13.phx.gbl:

> Check IIS settings - it can stop script after some time. Check
> ConnectionTimeout, AspScriptTimeout, may be other timeouts. 10 minutes
> is quite much for one page and may break one or another timeout.
>
> //------------------------------------
> Regards,
> Vassiliev V. V.
> http://www-sharp.com -
> Scripting/HTA/.Net Framework IDE
>
>
> "Dominic Godin" <nospam@plz> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
> news:Xns94F3AF101AC94nospamplz@207.46.248.16...
>> Hi,
>>
>> I have an asp page that imports delimited text files into a database.
>> One of our users has rather large text files. Once all these files
>> are imported the page prints the word "Success" to the screen.
>>
>> This no longer works when importing the large files. If I shorten
>> the number of files imported so it takes just a few minutes the word
>> "Success" appears and all works fine. If I alter the asp back to
>> import all the files (takes about 10 minutes) the browser sits at the
>> page loading screen indefinably.
>>
>> This script creates log files as it goes so I can see that all the
>> files are imported successfully (that's why I know it takes about 10
>> minutes : ) just that the web page fails to report this.
>>
>> After the last import I use Response.Write "Success".
>> I have tried Response.Flush, Response.End and played with the
>> WriteBlock command. None of these make any difference. Any ideas on
>> how fix this?
>>
>> Thanks
>>
>> Dominic Godin
>>
>
>
>