Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Other Development Tools
 Page cannot displayed error

Author  Topic 

Mamatha
Posting Yak Master

102 Posts

Posted - 2005-01-23 : 01:07:01
Hi

i have one ASP application,through that application i want to download file from one particular FTP site.But the file size contains nearly 76 MB and my browsing speed is normal,if i try to download a file,it downloding upto some percent and that executed page contains the error Page can not be displyed.I also set the vb script timeout to 10000sec at the properties of virtual directory,eventhough it displys the same error.
Why it will occur?,please suggest me to prevent that error.Thanks in advance.

Mamatha

robvolk
Most Valuable Yak

15732 Posts

Posted - 2005-01-23 : 08:26:20
Why would you even TRY to view a 76 MB within a web browser? Best way to prevent that error is...DON'T OPEN THE FILE in the browser. Download it to a hard drive and view it there.
Go to Top of Page

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2005-01-23 : 08:47:53
Unless it's a download script, so you are binary writing the file down to the client.
For files this big, it's a bad idea.

You are better off redirecting the browser to the address of the file, this is what most of the software download sites do.


Damian
Go to Top of Page

Mamatha
Posting Yak Master

102 Posts

Posted - 2005-01-24 : 02:35:00
I run the page as for example,
a.asp contains download button when i click that button,i wrote functionality like redirect that page to b.asp,
but accroding to our view a.asp page is displaying in browser but the functionlity of b.asp is running in background and the file is downloading.
After 1 hour a.asp displays like page can not be displyed.
In some websites on net, if we want to download some file then the page is displayed contineously.What is the reason and what is the logic behind that,is there any contineous loop running?
Please give me the solution

Mamatha
Go to Top of Page
   

- Advertisement -