Questions tagged [communicationexception]
48 questions
0
votes
0 answers
NuGet Packages and out parameters
I have a few classes with methods defined in a NuGet package. Some of these methods have "out parameters" and it seems that when I try to call these methods with out keyword an exception of type System.ServiceModel.CommunicationException is thrown.…

Rimoun
- 455
- 1
- 9
- 16
0
votes
0 answers
'System.ServiceModel.CommunicationException' -> Could not find XmlSerializer UWP
Recently I migrated a project im currently working on from Windows 8.1 to UWP using Migrate to UWP. With some minor issues and tweaks I managed to successfully build and run the project (Frontend Win project + 2 referenced projects). However when I…

boris_dv
- 123
- 1
- 9
0
votes
1 answer
JNDI port configuration for JBoss eap 6.4
We are migrating an application from JBoss AS 4.2 to JBoss eap 6.4. While deploying the application getting the below exception.
javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:10099 and discovery…

user2699954
- 49
- 1
- 5
0
votes
1 answer
WCF: Cannot open channel between client and server using netTCPBinding
I have a client/server application using WCF. When opening a channel between my machine and a server from another domain, the following SecurityNegociationException is raised:
Either the target name is incorrect or the server has rejected the…

MedBechir
- 88
- 1
- 10
0
votes
0 answers
WCF Error: The operation cannot be completed because the pipe was closed
I am getting an error when the client reference is used a second time for calling the underlying method. On first call, It works perfectly. I have googled it and did so many tries like setting timeouts but nothing worked. Any suggestions will be…

Harsh_Joshi
- 47
- 1
- 8
0
votes
1 answer
weird error about WCF -- System.ServiceModel.CommunicationException was unhandled
I created a simple WCF demo:
Server Side:
namespace ServerSide
{
class Program
{
static void Main(string[] args)
{
System.ServiceModel.ServiceHost host =
new…

Ferde
- 75
- 2
- 8
0
votes
1 answer
CommunicationObjectFaultedException - System.ServiceModel.Channels.ServiceChannel cannot be used for communication because it is in faulted state
Im working on an EConnect integration in C#. I working on a function that tests the GP connection string. Basically the string consists of the Dataserver name for GP and the database name. If the database name is wrong an eConnect exception is…

Kristen
- 443
- 1
- 12
- 25
0
votes
0 answers
C# Channelfactory can't retrieve model objects from WCF Service
Currently, I'm trying to realise a server-client program.
The models used in this project are defined in a shared assembly and are beeing marked with the attribute DataContract. The server should use them as well as the client so there's no need to…

probird
- 169
- 1
- 13
0
votes
1 answer
WCF exception on communication object & listener on IP endpoint 0.0.0.0:9000
I am getting WCFexception on two things as mentioned below
The communication object, System.ServiceModel.ServiceHost, cannot be used for communication because it is in the Faulted state.
There is already a listener on IP endpoint 0.0.0.0:9000. Make…

Thyagi9510
- 21
- 4
0
votes
1 answer
CommunicationException occurs after one minute (during call to wcf service from windows phone 8 application)
I've implemented the following WCF service:
namespace TeaService
{
public class TeaService : ITeaService
{
public string PrepareTea(string tea)
{
System.Threading.Thread.Sleep(61000);
return "A nice…

sje
- 315
- 2
- 8
0
votes
0 answers
WCF Timeout Exception on IIS hosting
Thanks in Adavance.
I am getting timeout exception after 5 minutes eventhough all timeouts are set to 10 minutes. Wcf is hosted in IIS.
Client config is as below
'

NitinK
- 103
- 1
- 7
0
votes
0 answers
FaultException not being handled by server on callback made call
I have a situation where the server requests information from the client.
Callback declaration:
public interface IControlServiceCallback
{
[...]
[OperationContract]
[FaultContract(typeof(GetSystemFilesFault))]
List…

Bruno Klein
- 3,217
- 5
- 29
- 39
0
votes
1 answer
Unhandled communication exception using duplex channel
I'm using WCF duplex channel for a service-callback interaction and in addition I use another service on a different port. After some time the duplex channel becomes faulted but when I try to use it I get a communication exception (I don't know when…

user2140233
- 1
- 1
0
votes
1 answer
Throwing an exception in a WCF service throws a CommunicationException
Whenever I throw an exception in my service, another exception is thrown right after it:
System.ServiceModel.CommunicationException: There was an error reading from the
pipe: Unrecognized error 109 (0x6d). ---> System.IO.PipeException: There was…

Meidan Alon
- 3,074
- 7
- 45
- 63
0
votes
1 answer
WCF Communication Exception During Server Call
I'm taking a shot in the dark with this one but I've been experiencing an issue that I'm hoping someone might have come across before...My client makes a server call which pretty much just grabs data from a Sql server DB and returns it to my client…

Franco Trombetta
- 207
- 1
- 5
- 14