Windows Vista Forums
Vista Forums Home Join Vista Forums Webcasts Windows 7 Forum Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

net.tcp failure

Update your Vista Drivers Update Your Drivers Now!!
 
 
Thread Tools Display Modes
Old 06-11-2007   #1 (permalink)
Jon Davis
Guest


 

net.tcp failure

We have an ASP.NET web site that has a WCF client connection to a Windows
service that has some indexed data that the web app is querying. The service
has two endpoints: a named pipes endpoint and a TCP endpoint. In the
development environment, both endpoints connected and performed great with
both IIS and the Windows service on the workstation, and both endpoints
connected and performed equally great using the TCP endpoint with the
Windows service running on another development machine on the LAN.

While staging deployment of IIS and the Windows service on the same staging
server, though, I'm getting error message

"The socket connection was aborted. This could be caused by an error
processing your message or a receive timeout being exceeded by the remote
host, or an underlying network resource issue."

The net.pipe endpoint works fine, it's only when I switch to the net.tcp
endpoint that I get this error. I have double-verified that the DLLs match
up between IIS and the Windows service, including by re-compiling and
re-deploying, with nothing missing--the data structures shouldn't mismatch,
though, anyway, if net.pipe works with the same service. The network adapter
has two Ethernet adapters, one Internal and one External; I configured the
TCP URI initially to "localhost", same as in development, and also tried
explicitly setting it to the internal IP address on both sides (IIS and
Windows service), but I still get this error. There are no other known TCP /
Ethernet issues on this server.

Any ideas?

- Jon



My System SpecsSystem Spec
Old 06-11-2007   #2 (permalink)
Jon Davis
Guest


 

Re: net.tcp failure

Also, should mention, security is disabled (for now).

<security mode="None" />

Jon


"Jon Davis" <jon@REMOVE.ME.PLEASE.jondavis.net> wrote in message
news:uLIru1ErHHA.4180@TK2MSFTNGP04.phx.gbl...
> We have an ASP.NET web site that has a WCF client connection to a Windows
> service that has some indexed data that the web app is querying. The
> service has two endpoints: a named pipes endpoint and a TCP endpoint. In
> the development environment, both endpoints connected and performed great
> with both IIS and the Windows service on the workstation, and both
> endpoints connected and performed equally great using the TCP endpoint
> with the Windows service running on another development machine on the
> LAN.
>
> While staging deployment of IIS and the Windows service on the same
> staging server, though, I'm getting error message
>
> "The socket connection was aborted. This could be caused by an error
> processing your message or a receive timeout being exceeded by the remote
> host, or an underlying network resource issue."
>
> The net.pipe endpoint works fine, it's only when I switch to the net.tcp
> endpoint that I get this error. I have double-verified that the DLLs match
> up between IIS and the Windows service, including by re-compiling and
> re-deploying, with nothing missing--the data structures shouldn't
> mismatch, though, anyway, if net.pipe works with the same service. The
> network adapter has two Ethernet adapters, one Internal and one External;
> I configured the TCP URI initially to "localhost", same as in development,
> and also tried explicitly setting it to the internal IP address on both
> sides (IIS and Windows service), but I still get this error. There are no
> other known TCP / Ethernet issues on this server.
>
> Any ideas?
>
> - Jon
>
>



My System SpecsSystem Spec
Old 06-11-2007   #3 (permalink)
Jon Davis
Guest


 

Re: net.tcp failure

.... which brought me to the realization that I forgot to add the custom
BindingConfiguration on the Windows service config file.

<bindings>
<netTcpBinding>
<binding name="tcp_Unsecured">
<security mode="None" />
</binding>
</netTcpBinding>
</bindings>


"Jon Davis" <jon@REMOVE.ME.PLEASE.jondavis.net> wrote in message
news:u4Em1CFrHHA.3380@TK2MSFTNGP03.phx.gbl...
> Also, should mention, security is disabled (for now).
>
> <security mode="None" />
>
> Jon
>
>
> "Jon Davis" <jon@REMOVE.ME.PLEASE.jondavis.net> wrote in message
> news:uLIru1ErHHA.4180@TK2MSFTNGP04.phx.gbl...
>> We have an ASP.NET web site that has a WCF client connection to a Windows
>> service that has some indexed data that the web app is querying. The
>> service has two endpoints: a named pipes endpoint and a TCP endpoint. In
>> the development environment, both endpoints connected and performed great
>> with both IIS and the Windows service on the workstation, and both
>> endpoints connected and performed equally great using the TCP endpoint
>> with the Windows service running on another development machine on the
>> LAN.
>>
>> While staging deployment of IIS and the Windows service on the same
>> staging server, though, I'm getting error message
>>
>> "The socket connection was aborted. This could be caused by an error
>> processing your message or a receive timeout being exceeded by the remote
>> host, or an underlying network resource issue."
>>
>> The net.pipe endpoint works fine, it's only when I switch to the net.tcp
>> endpoint that I get this error. I have double-verified that the DLLs
>> match up between IIS and the Windows service, including by re-compiling
>> and re-deploying, with nothing missing--the data structures shouldn't
>> mismatch, though, anyway, if net.pipe works with the same service. The
>> network adapter has two Ethernet adapters, one Internal and one External;
>> I configured the TCP URI initially to "localhost", same as in
>> development, and also tried explicitly setting it to the internal IP
>> address on both sides (IIS and Windows service), but I still get this
>> error. There are no other known TCP / Ethernet issues on this server.
>>
>> Any ideas?
>>
>> - Jon
>>
>>

>
>



My System SpecsSystem Spec
 

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
vista ultimate backup failure - shadow copy failure Dave Shrader Vista General 4 03-10-2008 06:56 AM
VPN Failure Richard Hales Vista networking & sharing 2 01-06-2008 07:53 PM
CPU Failure? C(caleb) Vista General 4 09-26-2007 10:09 PM
vista ultimate backup failure - shadow copy failure Dave Shrader Vista General 3 07-23-2007 01:54 AM
Re: Catastrophic Failure: Catastrophic Failure Complete PC Backup Info Chad Harris Vista General 0 07-31-2006 01:01 PM


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51