Click here to Skip to main content
15,886,919 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: File Upload error on live site. Pin
JimBob SquarePants29-Jul-08 19:03
JimBob SquarePants29-Jul-08 19:03 
AnswerRe: File Upload error on live site. Pin
Anand Desai29-Jul-08 19:14
Anand Desai29-Jul-08 19:14 
GeneralRe: File Upload error on live site. Pin
Venkatesh Mookkan29-Jul-08 19:16
Venkatesh Mookkan29-Jul-08 19:16 
GeneralRe: File Upload error on live site. Pin
JimBob SquarePants29-Jul-08 22:52
JimBob SquarePants29-Jul-08 22:52 
GeneralRe: File Upload error on live site. Pin
Venkatesh Mookkan30-Jul-08 0:17
Venkatesh Mookkan30-Jul-08 0:17 
GeneralRe: File Upload error on live site. Pin
JimBob SquarePants30-Jul-08 1:31
JimBob SquarePants30-Jul-08 1:31 
GeneralRe: File Upload error on live site. Pin
Venkatesh Mookkan30-Jul-08 2:12
Venkatesh Mookkan30-Jul-08 2:12 
GeneralRe: File Upload error on live site. Pin
JimBob SquarePants30-Jul-08 4:03
JimBob SquarePants30-Jul-08 4:03 
Ok this is what I have done so far. It's still giving me the same error.

Thanks for staying with me so far.

Dim photoFileUpload As FileUpload = CType(dvCrops.FindControl("photoFileUpload"), FileUpload)

Dim myfile As HttpPostedFile = photoFileUpload.PostedFile

Dim FileSize As Integer = 0

FileSize = myfile.ContentLength

Dim FileData(FileSize) As Byte

myfile.InputStream.Read(FileData, 0, FileSize)

FileData = ResizeImageFile(FileData, 200)

crpImage1 = New System.Data.Linq.Binary(FileData)


What am i doing wrong?

JimBob SquarePants
*******************************************************************
"He took everything personally, including our royalties!"
David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager
*******************************************************************

GeneralRe: File Upload error on live site. Pin
Venkatesh Mookkan30-Jul-08 17:50
Venkatesh Mookkan30-Jul-08 17:50 
GeneralRe: File Upload error on live site. Pin
JimBob SquarePants31-Jul-08 3:17
JimBob SquarePants31-Jul-08 3:17 
AnswerRe: File Upload error on live site. Pin
Imran Khan Pathan29-Jul-08 20:00
Imran Khan Pathan29-Jul-08 20:00 
AnswerRe: File Upload error on live site. Pin
Anand Desai29-Jul-08 20:13
Anand Desai29-Jul-08 20:13 
QuestionDetermine if transaction is successful [modified] Pin
ASPnoob29-Jul-08 15:52
ASPnoob29-Jul-08 15:52 
AnswerRe: Determine if transaction is successful Pin
Christian Graus29-Jul-08 17:49
protectorChristian Graus29-Jul-08 17:49 
GeneralRe: Determine if transaction is successful Pin
Mogaambo29-Jul-08 18:37
Mogaambo29-Jul-08 18:37 
GeneralRe: Determine if transaction is successful Pin
Christian Graus29-Jul-08 20:08
protectorChristian Graus29-Jul-08 20:08 
QuestionChameleon Experience Pin
Aslesh29-Jul-08 5:06
Aslesh29-Jul-08 5:06 
QuestionAn error has occurred while establishing a connection to the server Pin
attalurisubbu29-Jul-08 3:42
attalurisubbu29-Jul-08 3:42 
AnswerRe: An error has occurred while establishing a connection to the server Pin
eyeseetee29-Jul-08 4:19
eyeseetee29-Jul-08 4:19 
AnswerRe: An error has occurred while establishing a connection to the server Pin
Christian Graus29-Jul-08 12:40
protectorChristian Graus29-Jul-08 12:40 
Questionajax dual slider control asp.net c# 2.0 Pin
VijayVishwakarma29-Jul-08 2:33
VijayVishwakarma29-Jul-08 2:33 
AnswerRe: ajax dual slider control asp.net c# 2.0 Pin
VijayVishwakarma29-Jul-08 22:03
VijayVishwakarma29-Jul-08 22:03 
AnswerRe: ajax dual slider control asp.net c# 2.0 Pin
bhargavpp30-Aug-11 1:45
bhargavpp30-Aug-11 1:45 
Questionjavascript for grid view checkbox Pin
umeshdaiya29-Jul-08 2:18
umeshdaiya29-Jul-08 2:18 
AnswerRe: javascript for grid view checkbox Pin
eyeseetee29-Jul-08 2:25
eyeseetee29-Jul-08 2:25 

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.