Click here to Skip to main content
12,455,917 members (49,474 online)
   

ASP.NET

 
GeneralRe: Login control doesn authenticate user after closing/changing database Pin
thes@int13-Nov-12 2:14
memberthes@int13-Nov-12 2:14 
GeneralRe: Login control doesn authenticate user after closing/changing database Pin
jkirkerx13-Nov-12 6:57
memberjkirkerx13-Nov-12 6:57 
QuestionIt takes too long to execute a query in aspx page Pin
Abdul Rahman Hamidy9-Nov-12 20:10
memberAbdul Rahman Hamidy9-Nov-12 20:10 
AnswerRe: It takes too long to execute a query in aspx page Pin
jkirkerx10-Nov-12 19:58
memberjkirkerx10-Nov-12 19:58 
GeneralRe: It takes too long to execute a query in aspx page Pin
David Mujica13-Nov-12 3:53
memberDavid Mujica13-Nov-12 3:53 
QuestionProblem with MapPageRoute Pin
jrahma9-Nov-12 8:50
memberjrahma9-Nov-12 8:50 
AnswerRe: Problem with MapPageRoute Pin
Marcus Kramer9-Nov-12 9:46
memberMarcus Kramer9-Nov-12 9:46 
GeneralRe: Problem with MapPageRoute Pin
jrahma9-Nov-12 9:50
memberjrahma9-Nov-12 9:50 
Question{36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80010001 Call was rejected by callee. Pin
Member 95859818-Nov-12 23:55
memberMember 95859818-Nov-12 23:55 
AnswerRe: {36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80010001 Call was rejected by callee. Pin
jkirkerx10-Nov-12 20:09
memberjkirkerx10-Nov-12 20:09 
QuestionHi friends i want to create a web application Pin
VinothData8-Nov-12 23:52
memberVinothData8-Nov-12 23:52 
Questionlarger file uploading issue Pin
silentspeaker8-Nov-12 3:17
membersilentspeaker8-Nov-12 3:17 
QuestionUnable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
silentspeaker8-Nov-12 1:55
membersilentspeaker8-Nov-12 1:55 
AnswerRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
Richard Deeming8-Nov-12 2:26
memberRichard Deeming8-Nov-12 2:26 
I'm not sure how the error message could be any clearer:
  • the HttpPostedFile.InputStream property is a System.Web.HttpInputStream, which inherits from System.IO.Stream;
  • you are attempting to store it in a variable of type System.IO.FileStream, which is a different type of System.IO.Stream.

Change your fStream variable to be a System.IO.Stream:
Dim fStream As Stream = FulFile.PostedFile.InputStream

Also, you're still not calling the GetResponse method on your requestFTP object. If you don't call that method, your request will never be sent.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
silentspeaker8-Nov-12 2:34
membersilentspeaker8-Nov-12 2:34 
GeneralRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
Richard Deeming8-Nov-12 2:44
memberRichard Deeming8-Nov-12 2:44 
QuestionWCF Pin
sandeep81467-Nov-12 22:42
membersandeep81467-Nov-12 22:42 
AnswerRe: WCF Pin
J4amieC7-Nov-12 22:44
memberJ4amieC7-Nov-12 22:44 
QuestionCould not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Pin
arch067-Nov-12 19:47
memberarch067-Nov-12 19:47 
AnswerRe: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Pin
shanalalkasim7-Nov-12 22:08
membershanalalkasim7-Nov-12 22:08 
AnswerRe: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Pin
Sentenryu7-Nov-12 23:12
memberSentenryu7-Nov-12 23: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. Pin
helperofrinto7-Nov-12 18:11
memberhelperofrinto7-Nov-12 18: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. Pin
Sentenryu7-Nov-12 23:18
memberSentenryu7-Nov-12 23:18 
QuestionCompleteWizardStep not working Pin
pier19897-Nov-12 5:47
memberpier19897-Nov-12 5:47 
AnswerRe: CompleteWizardStep not working Pin
jkirkerx7-Nov-12 13:25
memberjkirkerx7-Nov-12 13:25 
QuestionHow to increase execution time Pin
silentspeaker7-Nov-12 2:48
membersilentspeaker7-Nov-12 2:48 
AnswerRe: How to increase execution time Pin
Keith Barrow7-Nov-12 3:15
mentorKeith Barrow7-Nov-12 3:15 
AnswerRe: How to increase execution time Pin
Sentenryu7-Nov-12 3:17
memberSentenryu7-Nov-12 3:17 
GeneralRe: How to increase execution time Pin
silentspeaker7-Nov-12 19:56
membersilentspeaker7-Nov-12 19:56 
QuestionFTP Files Downloader Pin
silentspeaker7-Nov-12 1:34
membersilentspeaker7-Nov-12 1:34 
AnswerRe: FTP Files Downloader Pin
deflinek7-Nov-12 23:05
memberdeflinek7-Nov-12 23:05 
AnswerRe: FTP Files Downloader Pin
gopal pradhan8-Nov-12 23:10
membergopal pradhan8-Nov-12 23:10 
QuestionPosting a file as a property of a bigger object ASP.NET MVC3 [Solved (Kind Of)] Pin
Sentenryu6-Nov-12 6:54
memberSentenryu6-Nov-12 6:54 
Answer"Resolution" Pin
Sentenryu7-Nov-12 3:12
memberSentenryu7-Nov-12 3:12 
Questionsign in Popup like codeproject.com Pin
RA|-|UL PATEL6-Nov-12 1:27
memberRA|-|UL PATEL6-Nov-12 1:27 
AnswerRe: sign in Popup like codeproject.com Pin
Matt U.6-Nov-12 2:14
memberMatt U.6-Nov-12 2:14 
QuestionNeed help to upload 500 MB file on FTP Pin
silentspeaker6-Nov-12 0:39
membersilentspeaker6-Nov-12 0:39 
AnswerRe: Need help to upload 500 MB file on FTP Pin
Richard Deeming6-Nov-12 1:32
memberRichard Deeming6-Nov-12 1:32 
GeneralRe: Need help to upload 500 MB file on FTP Pin
silentspeaker6-Nov-12 3:31
membersilentspeaker6-Nov-12 3:31 
GeneralRe: Need help to upload 500 MB file on FTP Pin
Richard Deeming6-Nov-12 4:05
memberRichard Deeming6-Nov-12 4:05 
GeneralRe: Need help to upload 500 MB file on FTP Pin
silentspeaker6-Nov-12 4:38
membersilentspeaker6-Nov-12 4:38 
GeneralRe: Need help to upload 500 MB file on FTP Pin
Richard Deeming6-Nov-12 4:59
memberRichard Deeming6-Nov-12 4:59 
GeneralRe: Need help to upload 500 MB file on FTP Pin
silentspeaker6-Nov-12 5:05
membersilentspeaker6-Nov-12 5:05 
GeneralRe: Need help to upload 500 MB file on FTP Pin
Richard Deeming6-Nov-12 5:16
memberRichard Deeming6-Nov-12 5:16 
AnswerRe: Need help to upload 500 MB file on FTP Pin
jkirkerx7-Nov-12 13:45
memberjkirkerx7-Nov-12 13:45 
AnswerRe: Need help to upload 500 MB file on FTP Pin
xut24477-Nov-12 14:37
memberxut24477-Nov-12 14:37 
QuestionHow to Get Local Area IP Address? Pin
Nandan Basak5-Nov-12 22:15
memberNandan Basak5-Nov-12 22:15 
AnswerRe: How to Get Local Area IP Address? Pin
Bernhard Hiller6-Nov-12 21:11
memberBernhard Hiller6-Nov-12 21:11 
GeneralRe: How to Get Local Area IP Address? Pin
Nandan Basak4-Dec-12 19:08
memberNandan Basak4-Dec-12 19:08 
AnswerRe: How to Get Local Area IP Address? Pin
rameshkashanna7-Nov-12 2:05
memberrameshkashanna7-Nov-12 2:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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
Web01 | 2.8.160826.1 | Last Updated 29 Aug 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid