Click here to Skip to main content
   

ASP.NET

 
GeneralRe: Login control doesn authenticate user after closing/changing database Pinmemberpier198910-Nov-12 23:11 
GeneralRe: Login control doesn authenticate user after closing/changing database Pinmemberjkirkerx11-Nov-12 12:32 
GeneralRe: Login control doesn authenticate user after closing/changing database Pinmemberthes@int13-Nov-12 3:14 
GeneralRe: Login control doesn authenticate user after closing/changing database Pinmemberjkirkerx13-Nov-12 7:57 
QuestionIt takes too long to execute a query in aspx page PinmemberAbdul Rahman Hamidy9-Nov-12 21:10 
AnswerRe: It takes too long to execute a query in aspx page Pinmemberjkirkerx10-Nov-12 20:58 
GeneralRe: It takes too long to execute a query in aspx page PinmemberDavid Mujica13-Nov-12 4:53 
QuestionProblem with MapPageRoute Pinmemberjrahma9-Nov-12 9:50 
AnswerRe: Problem with MapPageRoute PinmemberMarcus Kramer9-Nov-12 10:46 
GeneralRe: Problem with MapPageRoute Pinmemberjrahma9-Nov-12 10:50 
Question{36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80010001 Call was rejected by callee. PinmemberMember 95859819-Nov-12 0:55 
AnswerRe: {36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80010001 Call was rejected by callee. Pinmemberjkirkerx10-Nov-12 21:09 
QuestionHi friends i want to create a web application PinmemberVinothData9-Nov-12 0:52 
Questionlarger file uploading issue Pinmembersilentspeaker8-Nov-12 4:17 
I want to upload larger file but getting error:
 

Network Error (tcp_error) 
 
A communication error occurred: ""
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.
 

 

    Sub UploadFile()
 
        Try
            Dim fileName As String = FulFile.PostedFile.FileName
            Dim requestFTP As WebRequest = WebRequest.Create("ftp:....................../" & fileName)
            requestFTP.Credentials = New NetworkCredential("User ID", "Password")
            requestFTP.Method = WebRequestMethods.Ftp.UploadFile
 
            Dim bufferLength As Integer = 2048
            Dim buffer As Byte() = New Byte(bufferLength - 1) {}
 
            Dim uploadStream As Stream = requestFTP.GetRequestStream()
            Dim contentLength As Integer = FulFile.PostedFile.InputStream.Read(buffer, 0, bufferLength)
 
            While contentLength <> 0
                uploadStream.Write(buffer, 0, contentLength)
                contentLength = FulFile.PostedFile.InputStream.Read(buffer, 0, bufferLength)
            End While
            FulFile.PostedFile.InputStream.Close()
            requestFTP = Nothing
 
            LblMsg.Text = "File Uploading Is SuccessFull..."
 
        Catch ep As Exception
            LblMsg.Text = ep.Message
        End Try
 
    End Sub

QuestionUnable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pinmembersilentspeaker8-Nov-12 2:55 
AnswerRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' PinmemberRichard Deeming8-Nov-12 3:26 
GeneralRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pinmembersilentspeaker8-Nov-12 3:34 
GeneralRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' PinmemberRichard Deeming8-Nov-12 3:44 
QuestionWCF Pinmembersandeep81467-Nov-12 23:42 
AnswerRe: WCF PinmemberJ4amieC7-Nov-12 23:44 
QuestionCould not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Pinmemberarch067-Nov-12 20:47 
AnswerRe: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Pinmembershanalalkasim7-Nov-12 23:08 
AnswerRe: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. PinmemberSentenryu8-Nov-12 0:12 
QuestionWant to close window.showModalDialog() popUp pressing ESC key but i've 100s of popUp. How can i change in a single place and all popup will close pressing ESC Key. Pinmemberhelperofrinto7-Nov-12 19:11 
AnswerRe: Want to close window.showModalDialog() popUp pressing ESC key but i've 100s of popUp. How can i change in a single place and all popup will close pressing ESC Key. PinmemberSentenryu8-Nov-12 0:18 
QuestionCompleteWizardStep not working Pinmemberpier19897-Nov-12 6:47 
AnswerRe: CompleteWizardStep not working Pinmemberjkirkerx7-Nov-12 14:25 
QuestionHow to increase execution time Pinmembersilentspeaker7-Nov-12 3:48 
AnswerRe: How to increase execution time PinmentorKeith Barrow7-Nov-12 4:15 
AnswerRe: How to increase execution time PinmemberSentenryu7-Nov-12 4:17 
GeneralRe: How to increase execution time Pinmembersilentspeaker7-Nov-12 20:56 
QuestionFTP Files Downloader Pinmembersilentspeaker7-Nov-12 2:34 
AnswerRe: FTP Files Downloader Pinmemberdeflinek8-Nov-12 0:05 
AnswerRe: FTP Files Downloader Pinmembergopal pradhan9-Nov-12 0:10 
QuestionPosting a file as a property of a bigger object ASP.NET MVC3 [Solved (Kind Of)] PinmemberSentenryu6-Nov-12 7:54 
Answer"Resolution" PinmemberSentenryu7-Nov-12 4:12 
Questionsign in Popup like codeproject.com PinmemberRA|-|UL PATEL6-Nov-12 2:27 
AnswerRe: sign in Popup like codeproject.com PinmemberMatt U.6-Nov-12 3:14 
QuestionNeed help to upload 500 MB file on FTP Pinmembersilentspeaker6-Nov-12 1:39 
AnswerRe: Need help to upload 500 MB file on FTP PinmemberRichard Deeming6-Nov-12 2:32 
GeneralRe: Need help to upload 500 MB file on FTP Pinmembersilentspeaker6-Nov-12 4:31 
GeneralRe: Need help to upload 500 MB file on FTP PinmemberRichard Deeming6-Nov-12 5:05 
GeneralRe: Need help to upload 500 MB file on FTP Pinmembersilentspeaker6-Nov-12 5:38 
GeneralRe: Need help to upload 500 MB file on FTP PinmemberRichard Deeming6-Nov-12 5:59 
GeneralRe: Need help to upload 500 MB file on FTP Pinmembersilentspeaker6-Nov-12 6:05 
GeneralRe: Need help to upload 500 MB file on FTP PinmemberRichard Deeming6-Nov-12 6:16 
AnswerRe: Need help to upload 500 MB file on FTP [modified] Pinmemberjkirkerx7-Nov-12 14:45 
AnswerRe: Need help to upload 500 MB file on FTP Pinmemberxut24477-Nov-12 15:37 
QuestionHow to Get Local Area IP Address? PinmemberNandan Basak5-Nov-12 23:15 
AnswerRe: How to Get Local Area IP Address? PinmemberBernhard Hiller6-Nov-12 22:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150327.1 | Last Updated 27 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid