Questions tagged [communicationexception]

48 questions
1
vote
0 answers

CommunicationException when calling MVC Service from ObjectDataSource Select method

I am getting the exception below in my web application: "The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state" Stack Trace: " Server stack trace: at …
1
vote
1 answer

Serialization issue with protobuf and WCF

I am using protobuf to to serialize dataset and send it from WCF service to winfom client. I am facing two issues here... DataSet is coming from DB and it contains a column of type system.Object which protobuf is not able to handle and throwing…
Abhash786
  • 881
  • 2
  • 24
  • 53
1
vote
1 answer

Selenium webDriver/Maven java tests on Jenkins not able to communicate with firefox

I'm trying to use jenkins to create automated regression tests for a web app. Jenkins basically fetches my maven project from git and reads the pom.xml. Then the test suite is started. The problem is that my tests are using selenium web driver in…
1
vote
1 answer

WCF service - Client receiving CommunicationException

Currently we connect to a WCF service. At the moment I'm getting intermittent CommunicationExceptions. -> Exception (CommunicationException) System.ServiceModel.CommunicationException: Server returned an invalid SOAP Fault. Please see InnerException…
Fiona
  • 1,599
  • 5
  • 24
  • 38
1
vote
0 answers

Unable to catch CommunicationException in Async Service Call

I have a WCF service and my client is a Silverlight application. When the service goes down (network error etc.) then I get this exception on the client proxy: CommunicationException: The communication object, …
0
votes
0 answers

Communication Exception in SIlverlight 5

I have the following issue. I host WCF service on a local IIS and want to get data from it in my Silverlight 5 app. I hosted Silverlight project with ASP.NET and i am getting communication exception all the time. Just to mention, i did not create…
Bip
  • 893
  • 5
  • 14
  • 29
0
votes
1 answer

Internal fault in MS auto-generated method of WCF

I have a problem with WCF. My testing code is pretty simple. I call a service layer method on my server from my silverlight application and print the result in a textbox. Everything of this is surrounded by try-catch. When my service layer method…
Martin Clemens Bloch
  • 1,047
  • 1
  • 12
  • 28
0
votes
1 answer

Windows Phone 7 Silverlight Service References CommunicationException: "Server returned an error: Not Found"

I am developing an application for Windows Phone 7. I am trying to use services which are provided by the web site I am trying to get information from. I am using an asynchronous request. So if I try to get information from a web site without any…
0
votes
1 answer

how to properly handle connection idle timeout error

I'm using Java with SpringFramework to do database programming on Mysql Server using the JdbcTemplate class. Using org.apache.commons.dbcp.BasicDataSource as the db data source. Sometimes when the connections are idle for long time,…
ufk
  • 30,912
  • 70
  • 235
  • 386
0
votes
2 answers

WCF Trying to get a collection crashes the client

I've been playing around with WCF in conjunction with EF and have ran into a problem sending collections. I'm working with a playground composed of 2 solutions, just the bare minimum I need to communicate over the line. Sending strings between the…
0
votes
1 answer

WCF communicationexception when using nettcpbinding

We have a self-hosted WCF service based on a NetTCPBinding. Since a few weeks, a communicationexception randomly appears after 4000-5000 requests, and afterwards all requests are working again fine. Also, if I repeat the same failed request, the…
0
votes
2 answers

WCF Service - Client receiving CommunicationException after many requests to localhost

I set up a WCF Service that is based on NetTcpBinding and I am using localhost. Client and Host run on same machine. I get a communication exception in the client consuming a specific method of the interface of the WCF Service in a while loop. The…
0
votes
0 answers

Authenticating credentials through ldap instead of tomcat-users.xml

I am trying to use LDAP authentication using JNDIRealm instead of tomcat-users.xml. But I'm getting the below error. Can anyone say in which scenarios this exception occurs? Can wrong "connectionPassword" in JNDIRealm of server.xml file cause this…
0
votes
1 answer

How to resolve WCF CommunicationException was unhandled

I have some problems. the issue is CommunicationException error. error message is An error occurred while receiving the HTTP response to http://localhost:18080/WCFServices/TestService. This could be due to the service endpoint binding not…
David Lee
  • 31
  • 2
  • 5
0
votes
0 answers

CommunicationObjectFaultedException due to DataContract equivalence in WCF

I am getting the following exception without insight of what is exactly getting wrong. System.ServiceModel.CommunicationObjectFaultedException: 'The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for…
Furqan Safdar
  • 16,260
  • 13
  • 59
  • 93