Click here to Skip to main content
15,900,110 members
Home / Discussions / C#
   

C#

 
GeneralRe: Refreshing datagrid Pin
Muammar©7-Feb-09 18:56
Muammar©7-Feb-09 18:56 
Questionbest choice ? Pin
Xmen Real 7-Feb-09 2:50
professional Xmen Real 7-Feb-09 2:50 
AnswerRe: best choice ? [modified] Pin
DaveyM697-Feb-09 3:25
professionalDaveyM697-Feb-09 3:25 
AnswerRe: best choice ? Pin
Luc Pattyn7-Feb-09 3:48
sitebuilderLuc Pattyn7-Feb-09 3:48 
Questionfile upload error Pin
George_George7-Feb-09 2:43
George_George7-Feb-09 2:43 
AnswerRe: file upload error Pin
Nicholas Butler7-Feb-09 3:34
sitebuilderNicholas Butler7-Feb-09 3:34 
GeneralRe: file upload error Pin
George_George7-Feb-09 22:19
George_George7-Feb-09 22:19 
GeneralRe: file upload error Pin
Nicholas Butler7-Feb-09 23:36
sitebuilderNicholas Butler7-Feb-09 23:36 
The stack trace is still a bit off - are you using a Release build? You could try a Debug build to help track this down.

I don't understand why WebClient is trying to connect on port 1031. It should be using an HTTP POST on port 80.

Could you catch the WebException explicitly and print the Status code?

Also, 4.5 seconds is a long time accross a LAN. How big is the file you are sending? IIS has a limit of 4MB, but you can set this using MaxRequestLength[^] in your web.config:

<system.web>
	<httpRuntime maxRequestLength="10240" />


If none of that works, you could try using UploadFileAsync and hooking the UploadProgressChanged event to see if anything is being sent.

Nick

----------------------------------
Be excellent to each other Smile | :)

GeneralRe: file upload error Pin
George_George8-Feb-09 0:18
George_George8-Feb-09 0:18 
GeneralRe: file upload error Pin
Nicholas Butler8-Feb-09 2:21
sitebuilderNicholas Butler8-Feb-09 2:21 
AnswerRe: file upload error Pin
Hamid_RT15-Feb-09 21:44
Hamid_RT15-Feb-09 21:44 
Questionweb service and desktop client connectivity issue Pin
sailesh_gupta7-Feb-09 1:57
sailesh_gupta7-Feb-09 1:57 
QuestionHow to convert tiff file to text file using tesseract.ocr in C#(Asp.net)" Pin
ChandrakanthGaddam7-Feb-09 1:32
ChandrakanthGaddam7-Feb-09 1:32 
QuestionCombobox selected item issue Pin
laziale7-Feb-09 0:40
laziale7-Feb-09 0:40 
AnswerRe: Combobox selected item issue Pin
sailesh_gupta7-Feb-09 2:03
sailesh_gupta7-Feb-09 2:03 
AnswerRe: Combobox selected item issue Pin
Xmen Real 7-Feb-09 2:29
professional Xmen Real 7-Feb-09 2:29 
AnswerRe: Combobox selected item issue Pin
Dragonfly_Lee7-Feb-09 3:22
Dragonfly_Lee7-Feb-09 3:22 
QuestionBlocking internet to client systems using C# and winforms Pin
varaprasad.shetty7-Feb-09 0:34
varaprasad.shetty7-Feb-09 0:34 
AnswerRe: Blocking internet to client systems using C# and winforms Pin
NaserJaved23-Dec-09 1:31
NaserJaved23-Dec-09 1:31 
QuestionImports Problem in Crystal Report Pin
jigneshDPatel6-Feb-09 23:28
jigneshDPatel6-Feb-09 23:28 
Questioncombobox in dotnet with c# coding for windows application Pin
aratireddy6-Feb-09 22:05
aratireddy6-Feb-09 22:05 
AnswerRe: combobox in dotnet with c# coding for windows application Pin
DaveyM696-Feb-09 22:30
professionalDaveyM696-Feb-09 22:30 
Questionhow to convert a bytearray to varchar using c# Pin
Reetu Singh6-Feb-09 21:45
Reetu Singh6-Feb-09 21:45 
AnswerRe: how to convert a bytearray to varchar using c# Pin
Xmen Real 7-Feb-09 2:36
professional Xmen Real 7-Feb-09 2:36 
GeneralRe: how to convert a bytearray to varchar using c# Pin
Reetu Singh8-Feb-09 21:02
Reetu Singh8-Feb-09 21:02 

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.