Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2005

Tip: Looking for answers? Try searching our database.

How to create a large file with ASP.Net

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stefan Wrobel - 26 Jul 2005 19:16 GMT
I'm trying to develop a webapp for an intranet application (meaning that
bandwidth isn't an issue) that creates a large file, which takes a while.  
Basically the app runs about 8 stored procedures, dumps all of the output
into a file, and does a Response.Redirect to that file.  This worked well
before when I was creating a much smaller file, but this process takes about
5 minutes to complete and creates about a 15mb file.  Everything goes fine
for a while, but then IE pops up a login & password box, which is really
weird, but I think it basically gives up waiting for the page to load while
all of the stuff is running, and never makes it to the Response.Redirect.  
The interesting thing is that if I check in the folder after about 5 minutes,
the file is there and complete.  It's just a matter of getting IE (or
ASP.Net, I'm not sure which is timing out, but I have increased the
SessionState timeout to 20 min) to stop from timing out before the redirect
happens.  Thanks.
Jon Paal - 26 Jul 2005 20:12 GMT
so what's the question ?

> I'm trying to develop a webapp for an intranet application (meaning that
> bandwidth isn't an issue) that creates a large file, which takes a while.
[quoted text clipped - 14 lines]
> redirect
> happens.  Thanks.
Stefan Wrobel - 26 Jul 2005 20:22 GMT
The question is what's going on ... why is IE popping up a login dialog and
why am I not just able to put the Response.Redirect after all of the  calls
to the stored procedure that write to the text file?

Or does someone have a better suggestion for how to generate a large file
that takes a while?

> so what's the question ?
>
[quoted text clipped - 16 lines]
> > redirect
> > happens.  Thanks.
Jon Paal - 26 Jul 2005 21:26 GMT
try another browser to see if the problem is browser dependent.

> The question is what's going on ... why is IE popping up a login dialog
> and
[quoted text clipped - 32 lines]
>> > redirect
>> > happens.  Thanks.
Stefan Wrobel - 26 Jul 2005 21:33 GMT
That really isn't an option since IE is used exclusively here.  Everyone is
running the latest version, and I did try it on several machines.

> try another browser to see if the problem is browser dependent.
>
[quoted text clipped - 34 lines]
> >> > redirect
> >> > happens.  Thanks.
Russ Farris - 27 Jul 2005 05:18 GMT
Can you create the file and then email the user when it is finished being
created with a direct link to the file?  We do this on internet application
we have for our maintenance downloads.  The user requests the software and
then we bulid the download behind the scenes and then email them when it is
finished.

Russ
> That really isn't an option since IE is used exclusively here.  Everyone
> is
[quoted text clipped - 43 lines]
>> >> > redirect
>> >> > happens.  Thanks.
Bruce Barker - 26 Jul 2005 22:09 GMT
the browser will not reliably wait this long for a response. use one of the
progressbar solutions (google this newgroup for progressbar).

-- bruce (sqlwork.com)

> I'm trying to develop a webapp for an intranet application (meaning that
> bandwidth isn't an issue) that creates a large file, which takes a while.
[quoted text clipped - 14 lines]
> redirect
> happens.  Thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.