Click here to Skip to main content
16,005,080 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: improve performance of website Pin
John-ph11-Sep-07 23:17
John-ph11-Sep-07 23:17 
GeneralRe: improve performance of website Pin
subbu.sk11-Sep-07 23:35
subbu.sk11-Sep-07 23:35 
GeneralRe: improve performance of website Pin
John-ph11-Sep-07 23:54
John-ph11-Sep-07 23:54 
GeneralRe: improve performance of website Pin
subbu.sk11-Sep-07 23:58
subbu.sk11-Sep-07 23:58 
GeneralRe: improve performance of website Pin
John-ph12-Sep-07 0:09
John-ph12-Sep-07 0:09 
GeneralRe: improve performance of website Pin
/randz12-Sep-07 23:50
/randz12-Sep-07 23:50 
Questionconfiguration items for a dll in web.config Pin
bort_verdon11-Sep-07 22:24
bort_verdon11-Sep-07 22:24 
QuestionError when using http proxy with asmx web services Pin
Simon P Stevens11-Sep-07 22:15
Simon P Stevens11-Sep-07 22:15 
Hi,

I am writing a client-server app that uses asp.net web services to comunicate with the server. I've got everything set up and running fine, with a set of proxy classes on the client to call the web service methods on the server, and it all works great.

The problem is, that if I use fiddler to monitor the http traffic, the client throws an error when it goes to make a web service call:

System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.MultipleSend(BufferOffsetSize[] buffers, SocketFlags socketFlags) etc. etc.

I've got my WinINET options configured to use 127.0.0.1 (port 8888) as a proxy, as described in the Fiddler docs, and from my understanding of how a proxy works, Fiddler should forward all requests onwards and correctly return the response, so why is the connection getting closed?

Is it because my client app is keeping the same connection open to the server and reusing it, but fiddler is closing each connection after it's made. If this is the case, what do I need to do make my client app create a new connection every time (or if the connection gets dropped). The whole point of the design is that the client doesn't need to remain fully connected all the time, only at specific moments when information is required from the server. Most of the time, the user needs to be able to work disconnected from the server.

Maybe i've misunderstood whats going on here. If anyone can help explain, or point me in the right direction I would appreciate it.

Cheers

Simon

AnswerRe: Error when using http proxy with asmx web services Pin
Simon P Stevens11-Sep-07 22:22
Simon P Stevens11-Sep-07 22:22 
Questionsitemap file in asp.net Pin
Sonia Gupta11-Sep-07 21:56
Sonia Gupta11-Sep-07 21:56 
AnswerRe: sitemap file in asp.net Pin
John-ph11-Sep-07 22:59
John-ph11-Sep-07 22:59 
QuestionHow can I check browser supporting Javascript Pin
Vipin.d11-Sep-07 21:55
Vipin.d11-Sep-07 21:55 
AnswerRe: How can I check browser supporting Javascript Pin
John-ph11-Sep-07 22:26
John-ph11-Sep-07 22:26 
AnswerRe: How can I check browser supporting Javascript Pin
John-ph11-Sep-07 22:44
John-ph11-Sep-07 22:44 
QuestionPlease I need Materials and Idea on how to design an alert system Pin
cheifo11-Sep-07 21:47
cheifo11-Sep-07 21:47 
AnswerRe: Please I need Materials and Idea on how to design an alert system Pin
Sandeep Akhare11-Sep-07 21:52
Sandeep Akhare11-Sep-07 21:52 
AnswerRe: Please I need Materials and Idea on how to design an alert system Pin
John-ph11-Sep-07 22:56
John-ph11-Sep-07 22:56 
QuestionTurn off the Event Validation in ASP.NET with C# Pin
.NET- India 11-Sep-07 21:21
.NET- India 11-Sep-07 21:21 
AnswerRe: Turn off the Event Validation in ASP.NET with C# Pin
Sandeep Akhare11-Sep-07 21:32
Sandeep Akhare11-Sep-07 21:32 
GeneralRe: Turn off the Event Validation in ASP.NET with C# Pin
.NET- India 11-Sep-07 21:42
.NET- India 11-Sep-07 21:42 
GeneralRe: Turn off the Event Validation in ASP.NET with C# Pin
Sandeep Akhare11-Sep-07 21:47
Sandeep Akhare11-Sep-07 21:47 
GeneralRe: Turn off the Event Validation in ASP.NET with C# Pin
.NET- India 11-Sep-07 22:20
.NET- India 11-Sep-07 22:20 
GeneralRe: Turn off the Event Validation in ASP.NET with C# Pin
Sandeep Akhare11-Sep-07 22:38
Sandeep Akhare11-Sep-07 22:38 
GeneralRe: Turn off the Event Validation in ASP.NET with C# Pin
.NET- India 11-Sep-07 22:43
.NET- India 11-Sep-07 22:43 
GeneralRe: Turn off the Event Validation in ASP.NET with C# Pin
Sandeep Akhare11-Sep-07 22:48
Sandeep Akhare11-Sep-07 22:48 

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.