Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


Uploading Video’s Over 15 MB



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> ASP & ASP.NET Forum
View previous topic :: View next topic  
Author Message
gyonis



Joined: 18 Sep 2005
Posts: 11

PostPosted: Thu Aug 17, 2006 1:12 pm    Post subject: Uploading Video’s Over 15 MB Reply with quote

Hi,
We’re building dynamic website for pop band with video section, when the admin try to upload video files (mostly mpeg, wmv) over 15 MB, it keeps loading in the browser’s status bar, but at the end I get “the page can not be displayed” error page, the programmer who’s working with me try to fix it using this:
In web.config is timeout="9000" )and put <httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="50000">

But it still doesn’t work, we have a DSL connection, so I don’t thing it’s the connection, we tried uploading 4 MB mp3’s and it worked, but most of the video clips would be more then 15 MB size.

Can any body help with this please, we’re on strict deadline, and this is the only thing we had lift. Thanx

And this is the code:
====================================================
if( ( File1.PostedFile != null ) && ( File1.PostedFile.ContentLength > 0 ) )
{

string fn = System.IO.Path.GetFileName(File1.PostedFile.FileName);
string SaveLocation = Server.MapPath("video") + "\\" + fn;
try
{
File1.PostedFile.SaveAs(SaveLocation);
Show_Message("The file has been added.");
Add_video(fn);
}
catch ( Exception ex )
{
Show_Message("Error: " + ex.Message);
}
}
else
{
Show_Message("Please select a file to Add.");
}
====================================================
Back to top
View user's profile Send private message
gyonis



Joined: 18 Sep 2005
Posts: 11

PostPosted: Thu Aug 17, 2006 6:35 pm    Post subject: Re: Uploading Video’s Over 15 MB Reply with quote

Any body knows any thing that can help please, I'm two days away from my deadline. Thanx
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> ASP & ASP.NET Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap