System.ServiceModel.Channels.ServiceChannel Faulted State

Andy_SmithAndy_Smith Member Posts: 31
edited 2015-03-03 in NAV Three Tier
I have a 2009R2 (Build 32012) client that has started getting the following error:
(Edit: forgot to mention, she's using the role tailored client)

The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

Which crashes her out of NAV. According to the client this is happening randomly, but it appears to be only happening to one user on one workstation. I've got their IT staff checking the computer in question, but was curious if anybody else had seen this error with NAV and had any insight. I've seen from googling the terms "System.ServiceModel.Channels.ServiceChannel Faulted state" that there are a few MSDN articles that talk about how this error occurs in the WCF service with C# or .NET code that is improperly formulated, but it isn't clear how this applies to Navision.

Comments

  • plc5700plc5700 Member Posts: 10
    Hi

    I have a similar problem - did you ever find a solution for this?
    Best Regards

    Poul Lindholm Christiansen
    plc@cmcs.dk / +45 4050 9306
  • tinoruijstinoruijs Member Posts: 1,226
    I'm getting this message in the Development Enviroment since I installed build 36281 on NAV2013R2.
    Maybe because I'm developing on another server than where the servicetier is installed.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • ara3nara3n Member Posts: 9,256
    the service tier and cc have to be on same box
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Arndt_LoermannArndt_Loermann Member Posts: 15
    with the Hotfix 2934572, Build 36310 after Rollup 5 for NAV 2013 R2 is it possible now again to develop over 3 machines

    request: https://support.microsoft.com/hotfix/KB ... um=2934572
    kind regards
    A. Loermann
  • tinoruijstinoruijs Member Posts: 1,226
    Thanks.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • tinoruijstinoruijs Member Posts: 1,226
    ara3n wrote:
    the service tier and cc have to be on same box

    cc?

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • ara3nara3n Member Posts: 9,256
    the classic client , also known as development client.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • tinoruijstinoruijs Member Posts: 1,226
    ara3n wrote:
    the classic client , also known as development client.

    Off course. :) Never saw or used the abbreviation. Strange, because rtc is used often. :-k

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • Rob_HansenRob_Hansen Member Posts: 296
    We have build 36310 installed and are still getting the "System.ServiceModel.Channels.ServiceChannel cannot be used for communication because it is in the Faulted state" error when trying to save/compile table changes. We have the service tier on a separate machine from the development environment, but with build 36310 this should work. Does anyone know what steps we should take to diagnose/address this?
  • Rob_HansenRob_Hansen Member Posts: 296
    I contacted Microsoft about this and they are aware that not all scenarios with the ServiceChannel faulted state issue have been fixed. They are working on it.
  • eYeeYe Member Posts: 168
    Still an issue on Cumulative Update 6 (Build 36366) too
    Kind Regards,
    Ewald Venter
  • SasaSasa Member Posts: 2
    There is one "solution" for this - you need to be only user on database when compiling objects...
  • Rob_HansenRob_Hansen Member Posts: 296
    That doesn't work for me. I have a database for a new implementation where I've been the only person using it to this point and I get the faulted state error when compiling/saving tables unless I have the option turned off to prevent data loss from table changes. Still haven't heard any more from Microsoft on this one.
  • SasaSasa Member Posts: 2
    rdhansen wrote:
    That doesn't work for me. I have a database for a new implementation where I've been the only person using it to this point and I get the faulted state error when compiling/saving tables unless I have the option turned off to prevent data loss from table changes. Still haven't heard any more from Microsoft on this one.
    You can try to add Management Service Port to Firewall as enabled port, this going to do the trick...
  • eYeeYe Member Posts: 168
    Tried it, no luck. Even tried it with firewall disabled
    Kind Regards,
    Ewald Venter
  • ycmanycman Member Posts: 1
    Tools - Options - Prevent data loss from table changes set to No
    try after
  • deV.chdeV.ch Member Posts: 543
    ycman wrote:
    Tools - Options - Prevent data loss from table changes set to No
    try after

    You should do that only as a last resort! It can create more problems then is solves...

    We had the same issue but with the newest builds we have no issues anymore. If you still have issues i would say there is some wrong configuration, maybe management port not activated?
  • vaprogvaprog Member Posts: 1,140
    Sasa wrote:
    You can try to add Management Service Port to Firewall as enabled port, this going to do the trick...
    Yes \:D/ , that did the trick for me.
  • Rob_HansenRob_Hansen Member Posts: 296
    That worked for us as well. Now...why couldn't Microsoft tell us that? When I reported the ongoing issue they just said they were aware of it and did not have a resolution yet. Frustrating...
  • Joe_MathisJoe_Mathis Member Posts: 173
    Adding the port to the firewall didn't make a difference for me, but specifying the management port in the options did.

    Hope it helps someone... :|
  • abinashphuelabinashphuel Member Posts: 18
    This error occur because of change madein the objectes. Like adding some fields, changing name or size of fields.
    Solution: Compile the objects especially table.
  • yediyedi Member Posts: 1
    Awesome! adding the port did the trick. Thanks a lot!! :)
Sign In or Register to comment.