IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Services Web Discussion :

Service WCF occupé (CommunicationException)


Sujet :

Services Web

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre averti
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Juin 2008
    Messages
    25
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2008
    Messages : 25
    Par défaut Service WCF occupé (CommunicationException)
    Bonjour,

    J'ai un souci sur mon application Silverlight. J'ai un Service WCF côté Serveur qui plante quand je fais trop d'appels à ce service.

    Il me retourne cette Exception :

    {System.ServiceModel.CommunicationException: Le serveur distant a retourné une erreur*: NotFound. ---> System.Net.WebException: Le serveur distant a retourné une erreur*: NotFound. ---> System.Net.WebException: Le serveur distant a retourné une erreur*: NotFound.
    à System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
    à System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
    à System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__1(Object sendState)
    --- Fin de la trace de la pile d'exception interne ---
    à System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
    à System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
    à System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
    --- Fin de la trace de la pile d'exception interne ---
    à System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
    à System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
    à System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
    à PASEC.IHM.Data.Client.BLL.PASECProxyClient.PASECProxyClientChannel.EndGetVariables(IAsyncResult result)
    à PASEC.IHM.Data.Client.BLL.PASECProxyClient.PASEC.IHM.Data.Client.BLL.IPASECProxy.EndGetVariables(IAsyncResult result)
    à PASEC.IHM.Data.Client.BLL.PASECProxyClient.OnEndGetVariables(IAsyncResult result)
    à System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)}
    Voici mon Web.config:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    <system.web>
        <compilation debug="true" targetFramework="4.0" />
        <httpRuntime maxRequestLength="999999999"/>
        <customErrors mode="Off"/>
      </system.web>
      <system.serviceModel>
     
        <client>
          <endpoint address="http://confemen-pasec.ciep.fr/Server.svc"
               binding="basicHttpBinding" bindingConfiguration="DefaultClient"
               contract="BLL.IPASECProxy" name="BasicHttpBinding_IPASECProxy" />
     
          <endpoint address="http://localhost:1352/Server.svc"
              binding="basicHttpBinding"  bindingConfiguration="DefaultClient"
              contract="BLL.IPASECProxy" name="BasicHttpBinding_IPASECProxy_local" />
        </client>
     
        <bindings>
     
          <basicHttpBinding>
            <binding name="DefaultClient" closeTimeout="24:00:00" openTimeout="24:00:00"
              receiveTimeout="24:00:00" sendTimeout="24:00:00" allowCookies="false"
              bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
              maxBufferSize="1999999999" maxBufferPoolSize="1999999999" maxReceivedMessageSize="1999999999"
              messageEncoding="Text" textEncoding="utf-8" transferMode="Streamed"
              useDefaultWebProxy="true">
              <readerQuotas maxDepth="1999999999" maxStringContentLength="1999999999" maxArrayLength="1999999999"
                maxBytesPerRead="1999999999" maxNameTableCharCount="1999999999" />
              <security mode="None" />
     
            </binding>
          </basicHttpBinding>
          <customBinding>
            <binding name="NewBinding0" closeTimeout="24:00:00" openTimeout="24:00:00"
              receiveTimeout="24:00:00" sendTimeout="24:00:00" >
              <textMessageEncoding messageVersion="Soap11WSAddressing10"
                writeEncoding="utf-8">
                <readerQuotas maxDepth="1999999999" maxStringContentLength="1999999999" maxArrayLength="1999999999"
                  maxBytesPerRead="1999999999" maxNameTableCharCount="1999999999" />
              </textMessageEncoding>
              <httpTransport allowCookies="true" keepAliveEnabled="true" transferMode="StreamedRequest" />
            </binding>
          </customBinding>
        </bindings>
        <services>
          <service name="PASEC.Data.Server.PASECProxy">
            <endpoint address="" binding="basicHttpBinding"  bindingConfiguration="DefaultClient"  contract="PASEC.Data.Server.IPASECProxy" />
            <!--<identity>
                <dns value="localhost" />
              </identity>-->
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
          </service>
        </services>
     
        <behaviors>
          <serviceBehaviors>
            <behavior name="">
              <serviceMetadata httpGetEnabled="true"/>
              <serviceDebug includeExceptionDetailInFaults="true"/>
            </behavior>
            <behavior name="ReportServiceBehavior">
              <serviceMetadata httpGetEnabled="true" />
              <serviceDebug includeExceptionDetailInFaults="true" />
            </behavior>
          </serviceBehaviors>
          <endpointBehaviors>
            <behavior name="WebBehavior">
              <webHttp />
            </behavior>
          </endpointBehaviors>
        </behaviors>
        <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
      </system.serviceModel>
    Et voici mon ServiceReference.ClientConfig :


    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    <configuration>
     
      <system.serviceModel>
        <bindings>
          <basicHttpBinding>
            <binding name="BasicHttpBinding_IReportService" maxBufferSize="2147483647"
                maxReceivedMessageSize="2147483647">
              <security mode="None" />
            </binding>
            <binding name="BasicHttpBinding_IPASECProxy" maxBufferSize="2147483647"
                maxReceivedMessageSize="2147483647">
              <security mode="None" />
            </binding>
          </basicHttpBinding>
        </bindings>
        <client>
          <endpoint address="http://confemen-pasec.ciep.fr/Server.svc" binding="basicHttpBinding"
              bindingConfiguration="BasicHttpBinding_IPASECProxy" contract="BLL.IPASECProxy"
              name="BasicHttpBinding_IPASECProxy" />
        </client>
      </system.serviceModel>
    </configuration>
    Quelqu'un s'aurait-il d'où peut venir le problème ?

    Je vous remercie pour votre attention

    Julien,

  2. #2
    Membre averti
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Juin 2008
    Messages
    25
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France, Hauts de Seine (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2008
    Messages : 25
    Par défaut Auto Résolution
    Mon problème venait d'un espace disque insuffisant !!!!!!!

    bug de merde et vive l'informatique qui nous passionne autant

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Réponses: 2
    Dernier message: 08/05/2009, 10h56
  2. Réponses: 7
    Dernier message: 16/04/2008, 16h42
  3. [WCF]Service WCF avec Visual Studio 2008
    Par chiv dans le forum Windows Communication Foundation
    Réponses: 5
    Dernier message: 23/02/2008, 17h07
  4. [3.0] [Service Wcf] problème avec le fichier .svc
    Par marc_dd dans le forum Windows Communication Foundation
    Réponses: 1
    Dernier message: 14/08/2007, 17h21
  5. Appli utilisant Service WCF
    Par cquadjul dans le forum Windows Communication Foundation
    Réponses: 3
    Dernier message: 11/04/2007, 16h40

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo