Fragensteller
[WCF RIA Service] Timeout Problem

Frage
-
Hallo zusammen,
ich habe momentan mit einem Timeout Problem zu kämpfen:
Nach dem SubmitChanges erhalte ich nach genau 60 Sekunden folgende Fehler Meldung.
Fehler beim Submit-Vorgang [HttpRequestTimedOutWithoutDetail]
Argument: http://xxx.xxx.xxx.xxx/ClientBin/MyService.svc/binary/SubmitChanges
Debuggingressource-Zeichenfolgen sind nicht verfügbar. Oft enthalten der Schlüssel und die Argumente genügend Informationen zur Diagnose … usw.
Das Problem scheint auch bei anderen aufzutreten, allerdings habe ich noch keine zufriedenstellende Lösung gefunden.
Meine WebConfig sieht mitlerweile nach erfolglosen Versuchen so aus:
<?xml version="1.0"?> <configuration> <configSections> <sectionGroup name="system.serviceModel"> <section name="domainServices" type="System.ServiceModel.DomainServices.Hosting.DomainServicesSection, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" allowDefinition="MachineToApplication" requirePermission="false" /> </sectionGroup> </configSections> <connectionStrings> <!--<add name="adhausv2ConnectionString" connectionString="Data Source=ADGDEVDB01;Initial Catalog=adhaus20;Integrated Security=True" providerName="System.Data.SqlClient" />--> <add name="adhausv2ConnectionString" connectionString="Data Source=xxx.xxx.xxx.xxx;Initial Catalog=xxx;UID=xxx;pwd=xxx" providerName="System.Data.SqlClient" /> </connectionStrings> <system.web> <httpModules> <add name="DomainServiceModule" type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> </httpModules> <httpRuntime maxRequestLength="2147483647" executionTimeout ="600" shutdownTimeout="120" useFullyQualifiedRedirectUrl ="true" /> <compilation debug="true" targetFramework="4.0" /> <roleManager enabled="true"/> <authentication mode="Forms"> <forms name=".ADHAUSV2_ASPXAUTH" /> </authentication> <profile> <properties> <add name="FriendlyName"/> </properties> </profile> </system.web> <system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules runAllManagedModulesForAllRequests="true"> <add name="DomainServiceModule" preCondition="managedHandler" type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> </modules> </system.webServer> <system.serviceModel> <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" /> <bindings> <customBinding> <binding name="ADHAUSV2" openTimeout="00:53:00" sendTimeout ="00:15:00" receiveTimeout ="00:15:00" closeTimeout ="00:59:00" > <binaryMessageEncoding /> <httpTransport maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" keepAliveEnabled ="true" /> </binding> </customBinding> </bindings> <behaviors> <serviceBehaviors> <behavior name="RIAServiceBehavior"> <serviceMetadata httpGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="True" /> </behavior> <behavior > <serviceMetadata httpGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="true" /> <dataContractSerializer maxItemsInObjectGraph="2147483647" /> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel> </configuration>
Wie schon erwähnt waren die Versuche erfolglos. Auch ein Update auf SL5 und Ria 1.0 SP2 hat nichts gebracht.
Zwar wird beschrieben, dass man den Channel.Endpoints.Binding Timeouts anpassen soll, allerding habe ich keinen Schimmer wo ich das genau machen kann, da mir der Zugriff auf den DomainService irgendwie fehlt.
Ich verwende Visual Basic, so dass eine Beschreibung in VB auch Hilfreich wäre.
Für hilfreiche Anworten schon einmal Dank im voraus.
Dienstag, 15. Mai 2012 07:28
Alle Antworten
-
Hallo Jan Schweighart,
Schau Dir mal folgende Links an. Vielleicht können sie Dir weiterhelfen.
Silverlight and WCF Errors HttpRequestTimedOutWithoutDetail
HttpRequestTimedOutWithoutDetail
Silverlight 4, Ria Services, HttpRequestTimedOutWithoutDetail
WCF Tracing in web.config konfigurieren:
- http://msdn.microsoft.com/en-us/library/ms733025.aspx
- http://msdn.microsoft.com/en-us/library/aa702726.aspx
Gibt es ein Proxy? Kannst Du das WCF direkt browsen?
Grüße,
Robert
Robert Breitenhofer, MICROSOFT
Bitte haben Sie Verständnis dafür, dass im Rahmen dieses Forums, welches auf dem Community-Prinzip „Entwickler helfen Entwickler“ beruht, kein technischer Support geleistet werden kann oder sonst welche garantierten Maßnahmen seitens Microsoft zugesichert werden können.Montag, 18. Juni 2012 08:30Moderator