Error Summary HTTP Error 404.13 - Not Found The request filtering module is configured to deny a request that exceeds the request content length.
if (flupnewmessage.HasFile) { string flext = System.IO.Path.GetExtension(flupnewmessage.FileName); if (flext == ".swf") {try { flupnewmessage.SaveAs(Server.MapPath("~/messages/" + flupnewmessage.FileName)); Label7.Text = "File name: " + flupnewmessage.PostedFile.FileName + "<br>" + flupnewmessage.PostedFile.ContentLength + " kb<br>" + "Content type: " + flupnewmessage.PostedFile.ContentType + " is Uploaded successfully";} catch (Exception ex) { Label7.Text = "ERROR: " + ex.Message.ToString(); } } else { Label7.Text = "Only .SWF files are allowed"; } } else { Label7.Text = "You have not specified a file in message sample colomn"; } }</br></br>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)